@import url('https://fonts.googleapis.com/css2?family=Anybody:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


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

}

body{
    font-family: "Anybody", sans-serif;
    background-color: #dfdfd8;

}

header{
    background-color: #fafaf6;
    height: 4.5rem;
    position: sticky;
    top: 0;
}

.container {
    width: min(90%,   1120px);
    margin-inline: auto;
}

img{
    width: 100%;
}

.humburger{
    display: none;

}

.desktop-menu {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.desktop-menu h1{
    font-size: 1.5625rem;
    font-weight: 700;
}

.menus-link {
    display: flex;
    gap: 20px;
}

.menus-link li {
    list-style: none;
}

.menus-link li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.625rem;
    color: #2B2B2B ;

}

.menus-link li a:hover{
    color: #5f6ad4;
}


.mobile-menu{
    display: none;
}

.hero {
    height: calc(100vh - 4.5rem);
    background: linear-gradient(rgba(124, 123, 123, 0.4), rgba(0,0,0,0.3)),url(https://mobirise.com/extensions/retreatm5/outdoor-yoga-classes/assets/images/pexels-min-an-1234035.jpg) center/ cover no-repeat;
    display: flex;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.hero h1{
    font-weight: 400;
    font-size: 5rem;
    line-height: 5.125rem;
    color: #fff;
    text-align: center;
}

.btn-third {
    padding: 1rem   5.5rem;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.875rem;
    background-color: #5f6ad4;
    color: white;
    border-radius: 1rem;
    border: none;
    transition: background-color 0.1s ease;

}

.btn-third:hover{
    background-color:rgb(194, 190, 190);
    cursor: pointer;
    color: black;
}

.yogo {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(252, 250, 250, 0.3)),url(https://mobirise.com/extensions/retreatm5/outdoor-yoga-classes/assets/images/pexels-lucas-pezeta-2121066.jpg);
    margin-top: 6rem;
    border-radius: 1rem;
    display: flex;
    align-items: flex-end;
}

.contect {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 728px;
    margin-inline: auto;
    gap: 1rem;
    margin-bottom: 5rem;
}

.contect h1{
    font-weight: 700;
    font-size: 3.125rem;
    line-height: 3.125rem;
    color: #fff;
    text-align: center;

}

.contect p{
    font-weight: 700;
    font-size: 1.5625rem;
    line-height: 2rem;
    color: #fff;
}

.info-boxs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-block: 6rem;
}

.box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.box img {
    border-radius: 1rem;
    
}

.box h1 {
    font-weight: 400;
    font-size: 1.5625rem;
    line-height: 2rem;
    color: #2B2B2B;

}

.box p {
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.625rem;
    color: #2B2B2B;

}

.perfect-condition {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(252, 250, 250, 0.3)),url(https://mobirise.com/extensions/retreatm5/outdoor-yoga-classes/assets/images/pexels-andrea-piacquadio-3779750.jpeg)center/cover no-repeat;
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-attachment: fixed; */
}

.perfect-condition h2{
    font-weight: 400;
    font-size: 3.125rem;
    line-height: 3.125rem;
    color: #2a2a2a;
    margin-bottom: 2rem;
}

.perfect-condition p{
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.625rem;
    color: #2a2a2a;
}


.comment-section {
    height: 355.188px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(252, 250, 250, 0.3)),url(https://mobirise.com/extensions/retreatm5/outdoor-yoga-classes/assets/images/pexels-lucas-pezeta-2985098.jpg)center/cover no-repeat;
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;

}

.comment-box{
    height: 50%;
    border: 3px solid #5f6ad4;
    border-radius: 1rem;
    background-color: #dfdfd8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.comment-box h2 {
    font-weight: 400;
    font-size: 1.5625rem;
    line-height: 2.4375rem;
    color: #2a2a2a;
}


footer {
    background-color: #2a2a2a;
    font-size: 1.25rem;
    color: white;
    padding: 2rem;
}


/* for tablet and mobiles  */

@media(max-width: 768px){
    
    .desktop-menu {
        display: none;
    }
    
    header {
        height: 0;
    }

    i {
        z-index: 111;
    }

    .humburger{
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #5f6ad4;
        color: white;
        position: absolute;
        width: 50px;
        height: 50px;
        top: 10%;
        right: 10%;
        border-radius: 50%;
        font-size: 2rem;
    }

    .humburger:hover{
        color: tomato;
        cursor: pointer;
    }

    .mobile-menu{
        display: flex;
        justify-content: center;
        position: fixed;
        background-color: #2B2B2B;
        inset: 0 0 0 0;
        color: white;
        width: 100%;
        transform: translateX(0%);
        transition: transform 150ms ease-in-out;
    }

    .mobile-menu[data-visible="false"]{
        transform: translateX(100%);
    }

    .humburger i[data-visible="true"]{
        display: block;
    }

    .humburger i[data-visible="false"]{
        display: none;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        margin-top: 7.5rem;
        gap: 1.5rem;
        
    
    }

    .navigation .menus-link {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigation h1 {
        font-size: 2.3125rem;
        font-weight: 700;
        border-bottom: 2px solid white;
        padding-bottom: 20px;
    }

    .menus-link li a {
        color: white;
    }

    .mobile-action{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        display: inline-block;
        text-align: center;
        padding: 10px 0;
        border-radius: 10px;
        text-decoration: none;
        color: white;
        font-weight: 500;
        font-size: 1.125rem;
        line-height: 1.69rem;
    
    }
    
    .btn-primary{
        background-color: #5f6ad4;
    }
    
    .btn-primary:hover{
        background-color: rgb(201, 187, 187);
        cursor: pointer;
        color: black;
    }
    
    .btn-secondary {
        background-color: #2B2B2B;
        border: 3px solid white;
    }

    .btn-secondary:hover{
        background-color: rgb(201, 187, 187);
        cursor: pointer;
        color: black;
    }

    .hero {
        height: 100vh;
    }

    .hero h1{
        font-weight: 400;
        font-size: 3.4375rem;
        line-height: 3.8125rem;
        color: #fff;
        text-align: center;
    }

    .btn-third {
        padding: 1rem   9.5rem;
        font-weight: 500;
        font-size: 1.75rem;
        line-height: 1.875rem;
    }

    .contect h1{
        font-weight: 700;
        font-size: 2.0625rem;
        line-height: 2.5rem;
        text-align: center;
    
    }
    
    .contect p{
        font-weight: 700;
        font-size: 1.25rem;
        line-height: 1.5625rem;
        color: #fff;
        text-align: center;
    }

    .info-boxs{
        grid-template-columns: 1fr;
    }

    .perfect-condition h2{
        font-size: 2.125rem;
        line-height: 2.5rem;
        
    }
    
    .perfect-condition p{
        font-size: 1.125rem;
        line-height: 1.375rem;
    }

    .comment-box{
        flex-direction: column;
        padding: 1rem;
    }

    .comment-box h2 {
        font-size: 1.3125rem;
        /* line-height: 2.4375rem; */
        
    }
    

}