/*
This file describes styles that are 1200px width and smaller
 */
@media  all and (max-width: 1200px) {
    :root{
        --section-distance: 60px
    }
    h1{
        font-size: 4.5rem
    }
    h2{
        font-size: 3rem
    }
   
    .grid-2, .grid-3{
        grid-template-columns: 1fr;
        gap: var(--size-2)
    }
    
    
    /* header mobile styles */
   
    img.logo{
        height: 48px
    }
    .header.only-mobile .container{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--size-1)
    }

    .menu-btns.open .menu-btn-open {
        display: flex
    }

    .menu-btns.open .menu-btn-close {
        display: none;
        position: relative
    }

    .menu-btns:not(.open) .menu-btn-open {
        display: none
    }

    .menu-btns:not(.open) .menu-btn-close {
        display: flex;
        position: relative
    }

    .header-mobile-wrap {
        position: fixed;
        z-index: 2;
        padding: var(--size-2);
        width: fit-content;
        height: fit-content;
        background-color: var(--white);
        top: calc(72px + var(--size-1));
        right: var(--size-1);
        border-radius: var(--size-1);
        transition: 0.3s
    }


    .header-mobile-wrap .main-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }

    .header-mobile-wrap .main-menu ul li a {
        line-height: 1;
        display: flex;
        font-size: 1.6rem;
        color: var(--black)
    }
  
    .header.menu-translate .header-mobile-wrap{
        transform: translateX(110%);
        transition: 0.3s
    }
   
    .header-mobile-wrap .main-menu nav >ul >li{
        flex-direction: column;
        gap: 20px
    }
    .header-mobile-wrap .social{
        margin-top: 20px
    }

    /* end of header mobile styles */

    .only-desktop{
        display: none
    }
   
    /* footer */
   

    /* end of footer */

}