/*==================================================
    Kimia Skin Care
    style.css
==================================================*/

/*=========================
        RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#dde6d8;

    color:#355846;

    overflow-x:hidden;

    line-height:1.7;
    display: flex;
    flex-direction: column;
}

/*=========================
      VARIABLES
=========================*/

:root{

    --bg:#dde6d8;

    --green:#355846;

    --green-light:#afc3a4;

    --gold:#cfae63;

    --gold2:#f5e4a6;

    --white:#ffffff;

    --glass:rgba(255,255,255,.35);

    --shadow:0 20px 60px rgba(0,0,0,.12);

    --radius:22px;

}

/*=========================
      TYPOGRAPHY
=========================*/

h1,h2,h3{

    font-family:"Cormorant Garamond",serif;

    font-weight:600;

    color:var(--green);

}

h1{

    font-size:68px;

    line-height:1.1;

}

h2{

    font-size:46px;

}

h3{

    font-size:28px;

}

p{

    font-size:17px;

    color:#58725f;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    display:block;

    max-width:100%;

}

/*=========================
      CONTAINER
=========================*/

.container{

    width:min(1180px,92%);

    margin:auto;

}

/*=========================
      BACKGROUND
=========================*/

.bg-gradient{

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle at top left,#ffffff 0%,transparent 40%),

    radial-gradient(circle at bottom right,#b8c8b0 0%,transparent 40%),

    linear-gradient(135deg,#eef4ea,#dbe6d7);

    z-index:-3;

}

.particles{

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:-2;

    background-image:

    radial-gradient(#ffffff55 1px,transparent 1px);

    background-size:80px 80px;

    animation:moveParticles 40s linear infinite;

}

@keyframes moveParticles{

    from{

        transform:translateY(0);

    }

    to{

        transform:translateY(-120px);

    }

}

/*=========================
        HEADER
=========================*/

header{



    top:0;

    left:0;

    width:100%;

    padding:30px 0;

    z-index:100;

}

.logo{

    display:flex;

    justify-content:center;

}

.logo img{

    width:170px;

}

/*=========================
          HERO
=========================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.subtitle{

    display:inline-block;

    padding:10px 22px;

    background:rgba(255,255,255,.55);

    border-radius:40px;

    backdrop-filter:blur(15px);

    color:var(--green);

    margin-bottom:25px;

    letter-spacing:2px;

    font-size:13px;

    text-transform:uppercase;

}

.hero h1{

    margin-bottom:25px;

}

#changing-word{

    color:var(--gold);

    transition:.4s;

}

.hero p{

    max-width:520px;

    margin-bottom:40px;

}

/*=========================
       BUTTONS
=========================*/

.buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    padding:16px 36px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn-gold{

    color:white;

    background:

    linear-gradient(135deg,

    #b58a39,

    #d9ba6d,

    #b58a39);

    box-shadow:

    0 18px 45px rgba(181,138,57,.35);

}

.btn-gold:hover{

    transform:translateY(-6px);

    box-shadow:

    0 30px 70px rgba(181,138,57,.45);

}

.btn-outline{

    border:2px solid var(--green);

    color:var(--green);

    background:transparent;

}

.btn-outline:hover{

    background:var(--green);

    color:white;

}

/*=========================
      HERO IMAGE
=========================*/

.hero-image{

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:100%;

    max-width:520px;

    border-radius:32px;

    box-shadow:

    0 40px 90px rgba(0,0,0,.22);

    transition:.5s;

}

.hero-image img:hover{

    transform:translateY(-10px);

}

/*=========================
       GLASS
=========================*/

.glass{

    background:rgba(255,255,255,.30);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.5);

    border-radius:var(--radius);

}

/*=========================
       SECTION
=========================*/

section{

    padding:110px 0;
    padding-top: 50px;
}

section h2{

    margin-bottom:30px;

}

.about{

    text-align:center;

}

.about p{

    max-width:820px;

    margin:auto;

    font-size:18px;

}

/*=========================
     SCROLL ANIMATION
=========================*/

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.reveal.active{

    opacity:1;

    transform:none;

}
/********************************/

@media(max-width:480px){

    .hero-image img{

        height:330px!important;

        border-radius:22px!important;

    }
    .hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 70px;
    align-items: center;
    }

}
