@media screen and (max-width: 1920px) {

    :root { 
        --main-font-size: 16px;
        --main_line-height: 25px;
        --header-font-size: 30px;
        --header_line-height: 50px;
    
        --small-margin: 20px;
        --medium-margin: 40px;
        --big-margin: 80px;
        --section_margin_bottom: 80px;
    
        --border-radius: 8px;
    
        --disk-diametr: 900px;
        --border-width: 160px;
        --border-width-50: 80px;
    }
    .language_btn {
        width: 150px;
    }

    #Header .logo {
        width: 250px;
    }
    #Header .logo h1{
        font-size: 30px;
    }
    #Header .logo h1 span{
        font-size: 20px;
    }

    #Header .right-side ul li {
        margin-left: 40px;
    }
    #Fifth_section .wrap img {
        width: 100%;
    }


}

@media screen and (max-width: 1444px) {

    :root { 
        --main-font-size: 16px;
        --main_line-height: 25px;
        --header-font-size: 30px;
        --header_line-height: 50px;
    
        --small-margin: 20px;
        --medium-margin: 40px;
        --big-margin: 80px;
        --section_margin_bottom: 80px;
    
        --border-radius: 8px;
    
        --disk-diametr: 800px;
        --border-width: 150px;
        --border-width-50: 75px;
    }
    .language_btn {
        width: 150px;
    }

    #Header .logo {
        width: 250px;
    }
    #Header .logo h1{
        font-size: 30px;
    }
    #Header .logo h1 span{
        font-size: 20px;
    }

    #Header .right-side ul li {
        margin-left: 40px;
    }
    


}

@media screen and (max-width: 1300px) {
    .wrap{
        max-width: 1000px;
    }
    #Fourth_section .wrap {
        margin-top: 0;
    }
    #Third_section .wrap .line_full {
        height: calc(var(--border-width) + 2px);
    }
    
}


@media screen and (max-width: 1080px) {

    :root { 
        --main-font-size: 16px;
        --main_line-height: 25px;
        --header-font-size: 30px;
        --header_line-height: 50px;
    
        --small-margin: 20px;
        --medium-margin: 40px;
        --big-margin: 80px;
        --section_margin_bottom: 80px;
    
        --border-radius: 8px;
    
        --disk-diametr: 700px;
        --border-width: 150px;
        --border-width-50: 75px;
    }
    .language_btn {
        width: 150px;
    }

    #Header .logo {
        width: 250px;
    }
    #Header .logo h1{
        font-size: 30px;
    }
    #Header .logo h1 span{
        font-size: 20px;
    }

    #Header .right-side ul li {
        margin-left: 40px;
    }
}

@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: 30px;
        --big-margin: 60px;
        --section_margin_bottom: 60px;
    
        --border-radius: 8px;
    
        --disk-diametr: calc(100vw + var(--border-width)*2);
        --border-width: 150px;
        --border-width-50: 75px;
    }
    button {
        width: 100%;
        font-size: 16px;
    }
    #Header .logo {
        width: fit-content;
    }

    #Header .logo h1 {
        font-size: 20px;
    }

    h1, h2, h3{
        text-align: center;
    }
    .line{
        margin: var(--medium-margin) auto;
    }

    #First_section, #Second_section, 
    #Third_section, #Fourth_section, 
    #Fifth_section, #Sixth_section, 
    #Seventh_section, #Eighth_section, 
    #Ninth_section {
        padding: var(--medium-margin);
    }

    #Header .right-side ul {
        display: none;
    }
    #First_section .wrap {
        flex-direction: column;
    }
    #First_section .wrap .left-side {
        width: 100%;
        margin-bottom: var(--medium-margin);
    }
    #First_section .wrap .right-side {
        width: 100%;
    }

    #Second_section .wrap .card-case .card {
        width: 100%;
    }
    #Second_section .wrap .card-case .card img{
        float: left;
    }
    #Second_section .wrap .card-case .card h3 {
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #Second_section .wrap .card-case .card p {
        text-align: justify;
    }

    #Third_section .wrap {
        width: 100%;
        height: fit-content;
    }
    .mobile{
        display: block;
    }
    .mobile h2{
        color: #414390;
        margin-bottom: var(--medium-margin);
    }
    .mobile .mySwiper1{
        margin-bottom: var(--big-margin);
    }

    #Third_section .wrap .disk1, #Third_section .wrap .disk2 {
        display: none;
    }
    #Third_section .wrap .line_full{
        display: none;
    }

    #Seventh_section .wrap .case {
        flex-direction: column;
    }
    #Seventh_section .wrap .case .img-case {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: var(--medium-margin);
    }
    #Seventh_section .wrap .case .card-case {
        width: 100%;
    }

    #Ninth_section .wrap .sell_case {
        flex-direction: column;
    }
    #Ninth_section .wrap .case {
        flex-direction: column;
    }
    #Ninth_section .wrap .case p{
        width: 100%;
        margin-bottom: var(--small-margin);
    }
    #Ninth_section .wrap .sell_case .img_side {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: var(--medium-margin);
    }
    #Ninth_section .wrap .sell_case .text_side {
        width: 100%;
        text-align: center;
    }


    /* ----------------------------------- */

    #Header .btn_menu{
        width: 46px;
        height: 46px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: #414390;
    }
    #Header .btn_menu .line{
        width: 23px;
        height: 2px;
        margin: 2px 0;
        border-radius: 2px;
        background-color: #f3cb2b;
        transition: 0.2s;
    }
    #Header .btn_menu:hover{
        cursor: pointer;
    }
    #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 .language_btn{
        width: 120px;
        height: 40px;
        border-radius: 10px;
        background-color: #60c1f8;
        text-transform: uppercase;
        font-weight: 500;
        font-size: var(--font-size-middle);
        letter-spacing: 1px;
        color: #ffffff;
        border: none;
      }
      #Menu .language_btn:hover{
        border: 3px solid #0398ee;
        cursor: pointer;
      }

    #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);
    }
}