@media screen and (max-width: 1920px) {

    :root { 
        --main-font-size: 20px;
        --main_line-height: 28px;
        --header-font-size: 30px;
        --header_line-height: 50px;
    
        --small-margin: 20px;
        --medium-margin: 40px;
        --big-margin: 60px;
        --section_margin_bottom: 60px;
    }
    
    #Header .right-side ul li {
        margin-left: 40px;
    }

}

@media screen and (max-width: 1444px) {

    :root { 
        --main-font-size: 18px;
        --main_line-height: 25px;
        --header-font-size: 30px;
        --header_line-height: 50px;
    
        --small-margin: 20px;
        --medium-margin: 30px;
        --big-margin: 45px;
        --section_margin_bottom: 45px;
    
    }


}

@media screen and (max-width: 1366px) {
    .wrap{
        max-width: 1000px;
    }
    #Header .right-side ul li {
        margin-left: 20px;
    }
    #Header{
        padding: 0 5%;
    }
}


@media screen and (max-width: 1080px) {

    :root { 
        --main-font-size: 16px;
        --main_line-height: 18px;
        --header-font-size: 25px;
        --header_line-height: 35px;
    
        --small-margin: 20px;
        --medium-margin: 28px;
        --big-margin: 35px;
        --section_margin_bottom: 35px;
    
    }
    #Header .right-side ul li {
        margin-left: 16px;
    }
 
    #Second_section, 
    #Third_section,
    #Fourth_section,
    #Fifth_section,
    #Sixth_section,
    #Seventh_section,
    #Eighth_section,
    #Ninth_section,
    #Tenth_section{
        padding: var(--big-margin);
    }
    
}

@media screen and (max-width: 950px) {

    :root{
        --main-font-size: 14px;
        --main_line-height: 20px;
        --header-font-size: 20px;
        --header_line-height: 30px;
    
        --small-margin: 15px;
        --medium-margin: 25px;
        --big-margin: 30px;
        --section_margin_bottom: 40px;

    }

    .wrap {
        max-width: 100%;
        width: 100%;
    }
    /* ----------------------------------- */

    #First_section .text_case h1 {
        font-size: calc( var(--header-font-size) * 1.3 );
    }
    #First_section .text_case a {
        width: 70%;
        backdrop-filter: blur(10px);
    }
    #First_section .text_case {
        backdrop-filter: none;
        opacity: 1;
    }

    #Second_section .wrap ul li{
        width: 100%;
    }
    
    
    #Header .btn_menu{
        width: 46px;
        height: 46px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: var(--main-color-red);
    }
    #Header .btn_menu .line{
        width: 23px;
        height: 2px;
        margin: 2px 0;
        border-radius: 2px;
        background-color: #FFFFFF;
        transition: 0.2s;
    }
    #Header .btn_menu:hover{
        cursor: pointer;
    }
    #Header .right-side ul {
        display: none;
    }

    #Menu{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        z-index: 5;
        
        width: 100vw;
        height: 100vh;
        bottom: 0;
        left: 0;
        background-color: #FFFFFF;
        transform: translateX(-100vw);
        transition: 0.2s ease;
      }
    #Menu ul{
        flex-direction: column;
        list-style: none;
    }
    #Menu li{
        text-align: center;
        margin-bottom: var(--medium-margin);
    }
    #Menu li a{
        color: #000000;
        text-decoration: none;
    }

    #Menu .tel button{
        width: fit-content;
        height: 40px;
        padding: 0 15px;
        border: none;
    }
    #Menu .language_btn{
    width: fit-content;
    padding: 0 15px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    
    color: #ffffff;
    background-color: var(--main-color-red);

    text-transform: uppercase;
    font-weight: 500;
    font-size: var(--main-font-size);
    letter-spacing: 2px;
    line-height: 40px;
      }
    #Menu .language_btn:hover{
        cursor: pointer;
    border: none;
    background-color: var(--main-color-light-grey);
    color: var(--main-color-red);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
      }

    #Menu.open_menu{
        transform: translateX(0);
    }

    #Header .open_btn .line{
        position: relative;
    }
    #Header .open_btn .line:first-child{
        transform: translateY(6px) rotate(45deg);
    }
    #Header .open_btn .line:nth-child(2){
        opacity: 0;
    }
    #Header .open_btn .line:last-child{
        transform: translateY(-6px) rotate(-45deg);
    }

    #Banner img{
        width: auto;
        height: 1000px;
        left: 0;
        top: 50%;
        transform: translate(-20%, -50%);
        transition: 0.3s;
    }

    #Fourth_section .wrap .case .card{
        width: 100%;
        height: 50px;
        margin: var(--small-margin) 0;
    }

    #Fifth_section .wrap .case,
    #Sixth_section .wrap .case  {
        width: 100%;
    }
    #Sixth_section .wrap .case button {
        width: 100%;
    }
    
}