
.hero{
    min-height:100vh;
    background-image:url("../img/bg-hero.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
}

.hero-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}



.hero-text{
    flex:1;
    animation:fadeUp 1s ease forwards;
}

.hero-text h2{
    font-size:38px;
    margin-bottom:20px;
    color:var(--middleColor);
}

.hero-text p{
    font-size:18px;
    line-height:1.7;
    color:var(--primaryColor);
    margin-bottom:30px;
}



.hero-btn{
    padding:14px 30px;
 
    background:var(--middleColor);
    color:var(--white);
    font-size:16px;
    cursor:pointer;
    border-radius:10px;
    transition:.3s;
}

.hero-btn:hover{
    background:var(--primaryColor);
}


.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:450px;
    animation:fadeUp 1.4s ease forwards;
}

/* animation */

@keyframes fadeUp{
    from{
        transform:translateY(80px);
        opacity:0;
    }
    to{
        transform:translateY(0);
        opacity:1;
    }
}

/* responsive */

@media(max-width:900px){

.hero-container{
    flex-direction:column;
    text-align:center;
    margin-top: 90px;
}

.hero-text h2{
    font-size:28px;
}

}