:root {
    --header-height: 3.5rem;
    --animate-snow-1 : animate-snow-1 5s infinite ease-in-out;
    --animate-snow-2: animate-snow-2 5s infinite ease-in-out;

    --first-color: #D8C3A5;
    --first-color-at: #D8C3A5;
    --title-color: #FFD3AC;
    --text-color: #DB6551;
    --white-color: #FFFFFF;
    --body-color: #0B2D26;

    --body-font: 'Poppins', sans-serif;
    --second-font: 'Luxurious Roman', serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --nomarl-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;

    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    --z-fixed: 100;
    --z-tooltip: 10;

    --space-8: 0.5rem;
    --space-16: 1rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-48: 3rem;
    --space-64: 4rem;
    --reading-measure: 68ch;
}

@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --nomarl-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
    
}

.luxurious-roman-regular {
  font-family: "Luxurious Roman", serif;
  font-weight: 400;
  font-style: normal;
}

/* ============BASE=============*/

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: var(--body-font);
    background-color: var(--body-color);
    color: var(--text-color);
    font-size: var(--nomarl-font-size);
    line-height: 1.6;
}

h1, h2, h3{
    color: var(--title-color);
    font-weight: var(--font-medium);
    line-height: 1.2;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
}

p{
    line-height: 1.7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav__toggle:focus-visible,
.nav__close:focus-visible,
.footer__social-link:focus-visible,
.footer__contact-link:focus-visible,
.scrollup:focus-visible{
    outline: 2px solid var(--first-color);
    outline-offset: 2px;
    border-radius: .5rem;
}

/* ============REUSABLE CSS CLASSES=============*/

.container{
    max-width: 1024px;
    margin-inline: 1.5rem;
}

.grid{
    display: grid;
    gap: var(--space-24);
}

.section{
    padding-block: var(--space-64) var(--space-16);
}

.section__title{
    font-size: var(--h1-font-size);
    font-family: var(--second-font);
    text-align: center;
    margin-bottom: var(--space-24);
    line-height: 1.2;
}

.main{
    overflow: hidden;
}


/*================= FLOWER ANIMATION =================*/

@keyframes animate-snow-1 {
    0%, 100%{
        transform: scale(.5);
    }
    50%{
        transform: scale(1);
    }
    
}

@keyframes animate-snow-2 {
    0%, 100%{
        transform: scale(1);
    }
    50%{
        transform: scale(.5);
    }
    
}


/* ============ HEADER & NAV =============*/

.header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s;
}

.nav{
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__close{
    display: flex;
    color: var(--white-color);
}

 .nav__logo img{
    width: 30px;
    transition: rotate(-10deg);
}

.nav__logo{
    align-items: center;
    column-gap: .5rem;
    font-family: var(--second-font);
    font-size: var(--h2-font-size);
}

.nav__toggle{
    font-size: 1.25rem;
    cursor: pointer;
}

.nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    width: 100%;
    padding-block: 3.5rem;
    transition: top .4s;
}

.nav__list{
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 2rem;
}

.nav__link{
    font-weight: var(--font-medium);
    color: var(--white-color);
    transition: color .4s;
}

.nav__link:hover{
    color: var(--first-color);
}

.nav__close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav__img-1,
.nav__img-2{
    position: absolute;
   
}

.nav__img-1{
    width: 80px;
    top: 6rem;
    left: 2.5rem;
transition: rotate(-15deg);
}

.nav__img-2{
    width: 120px;
    right: 1rem;
    bottom: 2rem;
    transition: rotate(15deg);
}

.show-menu{
    top: 0;
}


/*========================== CHANGE BACKGROUND HEADER ===============================*/

.bg-header{
    background-color: var(--body-color);
}

/*========================== Active link ===============================*/

.active-link{
    color: var(--first-color);
}

/*========================== HOME ===============================*/

.home{
    position: relative;
    background: url("../images/header_img.png") center center / cover no-repeat;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 2.25rem) 0 4rem;
    isolation: isolate;
}

.home__title{
    color: var(--white-color);
    font-size: clamp(2rem, 5vw, 4.75rem);
    font-family: var(--second-font);
    line-height: 1.1;
    letter-spacing: .01em;
    text-align: center;
    margin-top: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.home::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 45, 38, 0.34) 0%, rgba(11, 45, 38, 0.16) 46%, rgba(11, 45, 38, 0.08) 100%);
    z-index: -2;
}

.home::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    background: linear-gradient(180deg, rgba(11, 45, 38, 0) 0%, rgba(11, 45, 38, 0.92) 100%);
    pointer-events: none;
}

.home__content{
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    padding-inline: 1rem;
}

.home__subtitle{
    color: rgba(255, 255, 255, .95);
    font-size: clamp(.95rem, 2.2vw, 1.15rem);
    margin: 1rem auto 2.25rem;
    max-width: var(--reading-measure);
    line-height: 1.7;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.home__buttons{
    display: flex;
    gap: .9rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: var(--font-semi-bold);
    letter-spacing: .01em;
    background-color: var(--first-color);
    color: var(--body-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 4px 12px rgba(0, 0, 0, .2);
    transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}

.button:hover{
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 8px 18px rgba(0, 0, 0, .24);
}

.button:active{
    transform: translateY(0);
}

.button:focus-visible{
    outline: 2px solid rgba(255, 255, 255, .85);
    outline-offset: 2px;
}

.button--ghost{
    background-color: transparent;
    color: var(--white-color);
    border-color: rgba(255, 255, 255, .85);
    box-shadow: none;
    backdrop-filter: blur(2px);
}

.button--ghost:hover{
    background-color: rgba(255, 255, 255, .95);
    color: var(--body-color);
}

/*========================== ABOUT ===============================*/

.about__container{
    position: relative;
    row-gap: 3.5rem;
}

.about__data{
    text-align: center;
}

.about__description{
    margin-bottom: 2rem;
    color: var(--white-color);
    max-width: var(--reading-measure);
    margin-inline: auto;
}

.about__img{
    width: 320px;
    justify-self: center;
}

.about__snow-1,
.about__snow-2{
    width: 50px;
    position: absolute;
}

.about__snow-1{
    top: 12rem;
    left: 1.5rem;
    animation: var(--animate-snow-1);
}

.about__snow-2{
    right: -.75rem;
    bottom: .5rem;
    animation: var(--animate-snow-2);
}


.send__sphere{
    width: 200px;
    height: 200px;
    margin: 0 auto .75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(216, 195, 165, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.send__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.send__title{
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
    color: var(--white-color);
    text-align: center;
}

.send__description{
    font-size: var(--small-font-size);
    padding-inline: 1.5rem;
    color: var(--white-color);
    text-align: center;
    max-width: 62ch;
    margin-inline: auto;
}

.send__snow-1,
.send__snow-2,
.send__snow-3{
    width: 40px;
    position: absolute;
}

.send__snow-1{
    top: 7rem;
    left: 0;
    animation: var(--animate-snow-1);    
}

.send__snow-2{
    top: 23rem;
    right: 0;
    animation: var(--animate-snow-2);
}

.send__snow-3{
    bottom: 9rem;
    left: 0;
    animation: var(--animate-snow-1);
}

/*================ CELEBRATION ==================*/

.celebrate__container{
    position: relative;
    row-gap: 3.5rem;
}

.celebrate__data{
    text-align: center;
}

.celebrate__description{
    margin-bottom: 2rem;
    color: var(--white-color);
    max-width: var(--reading-measure);
    margin-inline: auto;
}

.celebrate__img{
    width: 320px;
    justify-self: center;
}

.celebrate__snow-1,
.celebrate__snow-2{
    width: 50px;
    position: absolute;
}

.celebrate__snow-1{
    top: 1.5rem;
    left: 1.5rem;
    animation: var(--animate-snow-1);    
}

.celebrate__snow-2{
    top: 18rem;
    right: 0;
    animation: var(--animate-snow-2);
}

/*================ FOOTER ==================*/

.footer{
    overflow: hidden;
}

.footer__container{
    position: relative;
    padding-block: var(--space-64) var(--space-32);
    text-align: center;
}

.footer__logo,
.footer__social,
.footer__copy{
    color: var(--white-color);
}

.footer__logo{
    display: inline-block;
    font-family: var(--second-font);
    font-size: var(--h2-font-size);
    margin-bottom: var(--space-16);
}

.footer__slogan{
    margin: 0 0 var(--space-24);
    color: #f0dcc2;
    font-size: var(--small-font-size);
}

.footer__contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
}

.footer__contact-link{
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--white-color);
    font-size: var(--small-font-size);
    padding: var(--space-8) var(--space-16);
    border-radius: 999px;
    border: 1px solid rgba(216, 195, 165, .45);
    background: rgba(216, 195, 165, .08);
    transition: border-color .3s, color .3s, background-color .3s;
}

.footer__contact-link:hover{
    color: var(--title-color);
    border-color: var(--first-color);
    background: rgba(216, 195, 165, .14);
}

.footer__social{
    display: flex;
    justify-content: center;
    column-gap: var(--space-16);
    margin-bottom: var(--space-24);
}

.footer__social-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    color: #f0dcc2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(216, 195, 165, .45);
    background: rgba(216, 195, 165, .06);
    transition: color .3s, border-color .3s, background-color .3s;
}

.twitter-x-icon{
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.footer__social-link:hover{
    color: var(--first-color);
    border-color: var(--first-color);
    background: rgba(216, 195, 165, .12);
}

.footer__social-link--primary{
    color: var(--body-color);
    background: var(--first-color);
    border-color: var(--first-color);
}

.footer__copy{
    display: block;
    margin-top: var(--space-16);
    font-size: var(--smaller-font-size);
    max-width: 62ch;
    margin-inline: auto;
}

.footer__snow-1,
.footer__snow-2{
    position: absolute;
}

.footer__snow-1{
    width: 50px;
    top: 4.5rem;
    left: 0;
    animation: var(--animate-snow-1);    
}

.footer__snow-2{
    width: 70px;
    top: 6.5rem;
    right: -3rem;
    animation: var(--animate-snow-2);
}

/*================= SCROLL BAR ==================*/

::-webkit-scrollbar{
    width: 0.5rem;
    border-radius: .5rem;
    background-color: hsl(210, 8%, 15%);
}

::-webkit-scrollbar-thumb{
    background-color: hsl(210, 8%, 25%);
    border-radius: .5rem;
}
::-webkit-scrollbar-thumb:hover{
    background-color: hsl(210, 8%, 35%);
}

/*================= SCROLL UP ==================*/

.scrollup{
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: var(--first-color);
    color: var(--body-color);
    padding: .45rem;
    border-radius: .45rem;
    font-size: 1rem;
    display: inline-flex;
    transition: bottom .3s, transform .3s;
    z-index: var(--z-tooltip);
}

.scrollup:hover{
    bottom: 3.5rem;
    transform: translateY(-.25rem);
}

.show-scroll{
    bottom: 3rem;
}

/*================= BREAKPOINTS ==================*/

@media screen and (min-width: 576px){
    .about__container,
    .celebrate__container{
        grid-template-columns: .6fr;
        justify-content: center;
    }
}

@media screen and (min-width: 767px) {
   .nav__toggle,
   .nav__img-1,
   .nav__img-2,
   .nav__close{
         display: none;
    } 

    .nav__menu{
        position: static;
        width: auto;
        padding-block: 0;
        background-color: transparent;
        transition: none;
    }

    .nav__list{
        flex-direction: row;
        column-gap: 4rem;
        align-items: center;
    }

    .send__container{
        grid-template-columns: repeat(2, 200px);
        column-gap: 5rem;
    }


}


/*================= For Large devices ==================*/

@media screen and (min-width: 1024px) {

    .section{
        padding-block: 7rem 3rem;
    }

    .home__title{
        font-size: 4rem;
    }

    .nav{
        height: calc(var(--header-height) + 1.5rem);
    }

    .about__container{
        grid-template-columns: 500px 335px;
        align-items: center;
        column-gap: 6rem;

    }

    .about__data,
    .about__data .section__title
    {
        text-align: initial;
    }

    .about__img{
        width: 500px;
        order: -1;
    }

     .about__snow-1{
        top: 0;
        left: 0;
     }

     .about__snow-2{
        right: 10rem;
        bottom: 3.5rem;
     }

     .send__container{
        grid-template-columns: repeat(3, 220px);
        column-gap: 7.5rem;
        padding-top: 3rem;
     }

     .send__sphere{
        width: 200px;
        height: 200px;
        margin-bottom: 1rem;
     }

     .send__description{
       font-size: var(--nomarl-font-size);
     }

     .send__snow-1{
        top: -1rem;
        left: -1rem;
     }

     .send__snow-2{
        top: 3rem;
     }

        .send__snow-3{
            bottom: 0;
            left: 22rem;
        }

    .celebrate__container{
        grid-template-columns: 400px 500px;
        align-items: center;
        column-gap: 6rem;
    }

    .celebrate__data,
    .celebrate__data .section__title{
        text-align: initial;
    }

    .celebrate__img{
        width: 900px;
    }

    .celebrate__snow-1{
        top: 4.5rem;
        left: 14rem;
    }

    .celebrate__snow-2{
        right: 2rem;
    }

    .footer__container{
        padding-block: 5.5rem 3rem;
    }

    .footer__social{
        column-gap: 2rem;
    }   

    .footer__social-link{
        font-size: 1.5rem;
    }

    .footer__snow-1{
        top: 8.5rem;
        left: 10rem;
    }

    .footer__snow-2{
        top: 8.5rem;
        right: 4rem;
    }

    .footer__copy{
        margin-top: 4rem;
    }

    .scrollup{
        right: 3rem;
    }
}

@media screen and (min-width: 1064px){

    .container{
        margin-inline: auto;
    }
}

@media screen and (min-width: 1200px) {
    .home{
        background-position: center 40%;
        min-height: 52rem;
    }
}

/*====================== for 2k resolution ===============================*/

@media screen and (min-width: 1700px){
    .home{
        background-position: center 35%;
    }
}





