img[alt="www.000webhost.com"]{ display: none; }
/* variables */

:root {
    --wave-animation: 4s ease infinite;
    --footer-bg-color: #FF1493;
    --header-theme-clr: #FF69B4;
    --transition: .5s all ease;   
    --curves: 25%;  
    --header-background-clr: #FFD9E3;
    --em-transition: .9s all ease;
    --dark-theme-clr: #7c0042;
}

@media(max-width: 860px) {
    :root {
        --curves: 170px;
    }
}

@media(max-width: 480px) {
    :root {
        --curves: 90px;
    }
} 

/**/

/**/

/**/

/* scroll bar */

/* Customize the scrollbar's width and track */
::-webkit-scrollbar {
    width: 12px;
}
  
::-webkit-scrollbar-track {
    background: var(--header-background-clr); /* Bubblegum pink background color */
}
  
/* Customize the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: #ff69b4; /* Bubblegum pink thumb color */
    border-radius: 6px; /* Rounded corners */
    border: 2px solid #ff1493; /* Pink border around the thumb */
}
  
/* Add a hover effect to the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background: #ff1493; /* Darker pink on hover */
}

/**/

/**/

/**/

/* remove unwanted spaces, create border-box models, basic... */

html, body {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bubblegum Sans', cursive;
    /* font-family: 'Patrick Hand', cursive; */
}

body {
    overflow-x: hidden;
    background-color: var(--header-background-clr);
    width: 100vw;
}

p {
    font-size: 18px;
}

h3 {
    font-size: 20px;
}

/**/

/**/

/**/

/* header */

header {
    border-bottom-left-radius: var(--curves);
    border-bottom-right-radius: var(--curves);
    height: 100vh;
    position: relative;
    color: var(--header-theme-clr);
    margin-bottom: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--header-background-clr);
    transition: var(--em-transition);
}

.header-on-scroll {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

header::before {
    content: "";
    position: absolute;
    inset: 0 0 -115px 0;
    background-color: var(--header-theme-clr);
    z-index: -1;
}

.bubble-1, .bubble-2 {
    background-image: radial-gradient(transparent, transparent, rgba(255, 105, 180, .6));
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    transition: .5s all linear;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 190px;
    left: 120px;
}

.bubble-2 {
    width: 120px;
    height: 120px;
    top: 100px;
    left: 190px;
}

@media(max-width: 480px) {
    .bubble-1 {
        left: unset;
        right: 30px;
    }
    
    .bubble-2 {
        top: 80px;
        left: unset;
        right: 85px;
    }
}

header > svg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120px;
    animation: header-svg-animation 2.5s ease infinite;
}

@keyframes header-svg-animation {
    from {
        opacity: 1;
        bottom: 120px;
    }
    to {
        opacity: 0;
        bottom: 25px;
    }
}

.header-text-holder {
    padding: 20px;
}

.header-text-holder > h1 {
    color: var(--dark-theme-clr) !important;
    transition: var(--transition);
    font-size: 42px;
}

.header-text-holder > p {
    font-size: 22px;
}

.header-text-holder > h1, .header-text-holder > p {
    z-index: 2;
}

.header-text-holder > h1 > span {
    position: relative;
    transition: var(--transition);
}

@keyframes h1-animate {
    0% {
        color: var(--dark-theme-clr);
    }
    
    33% {
        color: var(--footer-bg-color);
    }

    66% {
        color: var(--dark-theme-clr);  
    }

    100% {
        color: var(--footer-bg-color);
    }
}

@keyframes h1-unanimate {
    0% {
        color: var(--footer-bg-color);
    }
    
    33% {
        color: var(--dark-theme-clr);
    }

    66% {
        color: var(--footer-bg-color);  
    }

    100% {
        color: var(--dark-theme-clr);
    }
}

/**/

/**/

/**/

/* footer design */

footer {
    --grid-columns: 3;
    --footer-text-theme: pink;
    --footer-font: 'Patrick Hand', cursive;
    position: relative;
    width: 100%;
    min-height: 300px;
    background-color: var(--footer-bg-color);
    overflow-x: clip;
    transition: .2s all ease;
    z-index: 20;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 120px;
}

footer svg {
    background-color: var(--footer-text-theme);
    border-radius: 50%;
    color: var(--footer-bg-color);
    position: relative;
}

@keyframes shake-icon {
    0% { transform: rotate(0deg); } 
    14.3% { transform: rotate(50deg); }
    28.6% { transform: rotate(-50deg); }
    42.9% { transform: rotate(30deg); }
    57.1% { transform: rotate(-30deg); }
    71.4% { transform: rotate(10deg); }
    85.7% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.real-footer-em {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    width: 226px;
}

.footer-heading {
    margin-bottom: 20px;
    padding-left: 5px;
    width: unset !important;
    height: 32px;
    overflow: visible;
    color: white !important;
    pointer-events: none;
    font-weight: bold;
    font-size: 22px !important;
    border-radius: 5px;
    width: unset !important;
}

.real-footer-em > p {
    color: var(--footer-text-theme);
    width: 50%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    font-family: var(--footer-font);
}

.real-footer-em > p:hover svg {
    animation: shake-icon 1s ease-in-out;
}

/* .real-footer-em > p::before {
    content: "";
    position: absolute;
    top: calc(100% + 2px);
    left: -5px;
    right: calc(100% + 5px);
    bottom: -7px;
    background-image: radial-gradient(transparent, pink);
    border-radius: 2.5px;
    transition: var(--transition);
}

.real-footer-em > p:hover::before {
    right: -5px;
} */

.rfm1 {
    pointer-events: none;
}

@media(max-width: 918px) {
    footer {
        flex-direction: column;
    }

    .rfm1 {
        padding-top: 60px;
    }

    .real-footer-em[last="true"] {
        padding-bottom: 10px;
    }
}

.rfm1 > img {
    height: 120px;
    filter: brightness(500%);
}

.arrow-to-top {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-image: radial-gradient(transparent, transparent, pink);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: float 2.7s ease-in-out infinite;
}

.arrow-to-top > svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: unset;
    color: pink;
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes arrow-movement-1 {
    from { top: 50%; height: 130px; }
    to { top: calc(0% - 65px); height: 0; }
}

@keyframes arrow-movement-2 {
    0% { top: calc(100% + 65px); height: 0; }
    50% { height: 130px; }
    100% { top: calc(0% - 65px); height: 0; }
}

@keyframes arrow-movement-3 {
    0%, 100% { top: calc(100% + 65px); height: 0; }
    50% { top: 50%; }
}

.wave {
    position: absolute;
    background-color: var(--footer-bg-color);
    border-radius: 50%;
    z-index: -1;
}

.wave:first-of-type {
    left: -70px;
    top: -35px;
    height: 223px;
    width: 420px;
    animation: wave-1 var(--wave-animation);
}

@keyframes wave-1 {
    0% { left: -70px; }
    50% { left: -80px; }
    100% { left: -70px; }
}

.wave:nth-of-type(2) {
    left: 220px;
    top: -50px;
    height: 90px;
    width: 150px;
    animation: wave-2 var(--wave-animation);
}

@keyframes wave-2 {
    0% { left: 220px; }
    50% { left: 230px; }
    100% { left: 220px; }
}

.wave:nth-of-type(3) {
    left: 325px;
    top: -100px;
    height: 300px;
    width: 550px;
    animation: wave-3 var(--wave-animation);
}

@keyframes wave-3 {
    0% { left: 325px; }
    50% { left: 315px; }
    100% { left: 325px; }
}

.wave:nth-of-type(4) {
    left: 800px;
    top: -50px;
    height: 170px;
    width: 330px;
    animation: wave-4 var(--wave-animation);
}

@keyframes wave-4 {
    0% { left: 800px; }
    50% { left: 810px; }
    100% { left: 800px; }
}

.wave:nth-of-type(6) {
    left: 1090px;
    top: -50px;
    height: 170px;
    width: 470px;
    animation: wave-5 var(--wave-animation);
}

@keyframes wave-5 {
    0% { left: 1090px; }
    50% { left: 1080px; }
    100% { left: 1090px; }
}

.wave:nth-of-type(5) {
    left: 1490px;
    top: -50px;
    height: 250px;
    width: 520px;
    animation: wave-6 var(--wave-animation);
}

@keyframes wave-6 {
    0% { left: 1470px; }
    50% { left: 1480px; }
    100% { left: 1470px; }
}

/**/

/**/

/**/

/* content */

.half {
    width: 100%;
    transition: var(--em-transition);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-evenly;
}

.first {
    background-image: linear-gradient(180deg, var(--header-background-clr), #ffbdcd);
    margin-bottom: 115px;
}

.first::before {
    content: "";
    position: absolute;
    background-color: var(--header-theme-clr);
    top: 100%;
    left: 0;
    right: 0;
    bottom: -115px;
}

.second {
    background-image: linear-gradient(180deg, #ffbdcd, var(--header-background-clr));
    margin-bottom: 300px;
    transition: .5s margin-bottom ease !important;
    flex-direction: row-reverse;
    overflow: hidden;
}

.task {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    height: fit-content;
    margin: 30px;
    column-gap: 25px;
    row-gap: 15px;
    cursor: pointer;
    z-index: 1;
}

.half > h1 {
    width: 100%;
    text-align: center;
    color: var(--footer-bg-color);
    padding: 10px 0;
}

.task > h3 {
    color: var(--footer-bg-color);
    width: fit-content;
    position: relative;
}

.task > h3::before {
    content: "";
    position: absolute;
    top: calc(100% + 3px);
    left: -5px;
    right: calc(100% + 5px);
    bottom: -7px;
    background-image: linear-gradient(90deg, lightpink 50%, var(--footer-bg-color));
    border-radius: 3.5px;
    transition: .6s all cubic-bezier(0.25, 0.1, 0.25, 1.5);
}

.task:hover > h3::before {
    right: -5px;
}

.task > p {
    color: var(--header-theme-clr);
    width: 300px;
}

@media(max-width: 480px) {
    .task > p {
        width: 280px;
    }

    .task {
        column-gap: 10px;
    }
}

.auto-num {
    grid-row: 1 / 3;
}

.auto-num > div {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(transparent, transparent, rgba(255, 105, 180, .6));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--header-theme-clr);
    font-size: 22px;
    transition: .3s top ease,
    .5s left ease-in-out;
    position: relative;
    top: 0;
    left: 0;
}

.task:hover .auto-num > div {
    top: 7px;
    left: 5px;
}

.giant-number-1, .giant-number-2 {
    position: absolute;
    font-size: 90vh;
    z-index: 0;
    top: 50%;
    transform: translateY(-50%);
}

.giant-number-1 {
    color: rgba(255, 20, 147, .2);
    right: 40px;
}

.giant-number-2 {
    color: rgba(249, 144, 162, .35);
    left: 40px;
}

