@media (max-width: 1360px) {
    .sidebar__right{
        display: none;
    }

    .main{
        align-items: flex-end;
    }

    .header__menu{
        margin-left: 40px;
    }
}

@media screen and (max-width:1100px){
    .sidebar{
        position: static !important;
        width: 100% !important;
        margin-bottom: 0;
    }

    .main{
        align-items: center;
    }

    .main__container{
        flex-direction: column;
        padding: 0 16px;
    }

    .header__container{
        padding: 16px;
    }

    .main__content{
        width: 100% !important;
        max-width: none;
    }

    .hero__info{
        margin-left: 28px;
    }
}

@media screen and (max-width:1001px){
    .header__burger {
        border: 2px solid rgba(65, 175, 90, 1);
        padding: 4px;
        border-radius: 8px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        margin-left: 20px;
        z-index: 500;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .header__burger span{
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgba(65, 175, 90, 1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .header__burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .header__burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .header__menu{
        display: none;
        position: static;
        justify-content: center;
        transform: none;
        margin-left: 0;
    }
    
    .mobile-menu .header__menu {
        display: flex;
    }
}

@media screen and (max-width:900px){
    .footer__payments li{
        width: calc((100% - 8px) / 2);
    }

    .footer__payments li:first-child{
        width: 100% !important;
    }
}

@media screen and (max-width:800px){
    .hero__info{
        background-color: rgba(33, 63, 69, 0.8);
    }

    .advantages__wrap{
        flex-direction: column;
    }

    .advantages__list, .advantages__table{
        width: 100%;
    }

    .advantages__list li, .advantages__table tr{
        height: fit-content;
    }

    .rating__item{
        flex-wrap: wrap;
    }

    .rating__num{
        text-align: right;
        margin-left: auto;
        min-width: 90px;
    }

    .download{
        flex-direction: column-reverse !important;
    }
}

@media screen and (max-width:701px){
    .header__button-auth{
        display: none;
    }

    .mobile-menu .header__button-auth{
        display: flex !important;
        margin-top: 20px;
    }

    .header__button-auth{
        margin-right: 0;
        margin-left: 0;
        justify-content: center;
    }

    .header__lang{
        margin-left: auto;
    }

    .hero{
        align-items: center;
    }

    .hero__info{
        margin-left: 0;
    }

    .banner{
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/banner.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
        align-items: center;
    }

    .advantages__list li{
        width: 100%;
    }

    .advantages__table tbody{
        flex-direction: column;
        width: 100%;
    }

    .advantages__table tr{
        width: 100%;
    }

    .advantages__table:nth-of-type(1) td:first-child{
        width: calc((100% - 20px) / 2);
    }

    .footer-links__item{
        width: calc((100% - 20px) / 2);
        align-items: center;
    }
}

@media screen and (max-width:650px){
    .bonuses__list li{
        width: 80%;
    }
}

@media screen and (max-width:550px){
    .section{
        padding: 16px;
    }

    .bonuses{
        padding: 0;
    }

    .footer__payments li{
        width: 100%;
    }
}

@media screen and (max-width:500px){
    .bonuses__list li{
        width: 100%;
    }
}

@media screen and (max-width:400px){
    .title{
        font-size: 22px;
    }

    .header__logo{
        width: 120px;
    }

    .header__logo img{
        width: 100%;
    }

    .header__burger{
        margin-left: 12px;
    }

    .mobile-menu .header__menu ul{
        flex-direction: column;
        align-items: center;
    }

    .advantages__table tr{
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .advantages__table td{
        width: 100% !important;
        text-align: center;
    }

    .download__logo img{
        width: 100%;
    }

    .footer-links__item{
        width: 100%;
    }
}

@media screen and (max-width:350px){
    section:nth-of-type(3) .advantages__table tr{
        flex-direction: column;
        gap: 10px;
    }

    section:nth-of-type(3) .advantages__table td{
        width: 100% !important;
        text-align: center;
    }
}

@media (orientation: landscape){
    .title{
        font-size: 22px;
    }
}