@media (max-width: 1600px) {
    .banner {
        min-height: 50vh;
    }
    .banner::after{
        top: 0;
      } 

}

@media (max-width: 1100px) {
    .item {
        height: 80px;
        font-size: 30px;
    }
    .banner__desc {
        max-width: 50%;
    }

    .banner {
        min-height: 50vh;
    }
    .banner::after{
        top: -2%;
      } 

    .footer__card {
        flex-wrap: wrap;
    }

    .programm__card {
        width: 49%;
        height: 420px;
    }

    /* .programm__card:last-child {
        width: 100%;
    } */

    .programm__title {
        font-size: 16px;
    }

    .programm__desc {
        font-size: 14px;
    }

    .pricing__card {
        width: 45%;
    }

    .pricing__free {
        width: 91%;
    }

    .carrousel li q {
        font-size: 1em;
    }
    .left-side{
        display: none;
    }
    .content {
        padding: 40px 50px;
    }
    .right-side {
        width: 100%;
    }

}

@media (max-width: 988px) {
    .banner::after{
        display: none;
      } 
    .header__logo {
        width: 20%;
    }

    .header__socials, .footer__card {
        display: none;
    }

    .banner {
        background-size: 100vh;
        padding: 10% 0;
        background-size: cover;
    }

    .banner__link {
        font-size: 40px;
    }

    .banner__desc {
        font-size: 15px;
    }

    .name {
        font-size: 30px;
    }

    .programm, .programm__wrapper {
        padding: 20px 0 0 0;
    }

    .about {
        margin: 0;
    }

    .about__name {
        margin: 0 auto 20px;
    }

    .pricing {
        padding: 20px 0;
    }

    .pricing__name {
        margin: 0 auto 10px;
    }

    .pricing__name-free {
        text-align: center;
        font-size: 25px;
    }

    .pricing__wrapper {
        gap: 10px;
    }

    .training {
        margin: 20px auto 0;
    }

    .training__wrapper {
        margin: 20px auto;
    }

    .main__card {
        padding: 0 20px 20px;
    }

    .footer__copyright {
        padding: 0 20px;
        flex-direction: column-reverse;
    }

    .copiright__text, .footer__data {
        font-size: 12px;
    }

    .footer__logo {
        display: none;
    }

    .footer__list {
        display: none;
    }

    .footer {
        padding: 10px 15px;
    }

    .footer__data {
        text-wrap: balance;
    }

    .web__dev {
        justify-content: center;
        padding: 0;
    }
    .right-side {
        margin: 0;
    }
    .action__block{
        display: none;
    }
    .block__action-mob{
       display: block;
    }
    .block__action-mob-img{
        margin-bottom: 20px;
    }
}

@media (max-width: 938px) {
    .programm__desc {
        font-size: 14px;
    }

    .main__text {
        display: none;
    }

    .about__wrapper {
        padding: 10px;
    }

    .aboutall__wrapper {
        display: flex;
        flex-direction: column;
    }

    .aboutall__right {
        width: 100%;
        padding: 10px 20px;
    }

    .aboutall__left {
        margin: 0 auto;
        width: 100%;
    }

}



@media (max-width: 850px) {
    .programm .container {
        justify-content: space-evenly;
    }

    .footer__contacts {
        grid-area: contacts;
        justify-self: end;
    }

    .banner {
        position: relative;
    }

    .banner .container {
        position: relative;
        z-index: 10;
    }
.header__logo-link{
    width: 20%;
}

}

@media (max-width: 718px) {
    .header__logo-link{
        width: 40%;
    }
    .item {
        height: 60px;
        font-size: 20px;
        margin: 0;
    }
    .topmenu {
        display: none;
    }

    .header {
        background-color: #e6daa6;
    }

    .burger {
        display: block;
    }

    .banner {
        background-image: url("/images/banner__mobile.jpg");
        height: 100%;
        padding: 300px 0 100px 0;
        background-position: right;
        color: #fcdd76;
    }

    .banner:before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .2);
    }

    .banner__link {
        color: #fcdd76;
    }

    .about__card-name {
        font-size: 20px;
    }

    .about__card-text-bottom {
        font-size: 16px;
    }

    .pricing__card, .pricing__free {
        width: 100%;
    }

    .pricing__btn {
        margin: 0 auto;
    }

    .training__wrapper {
        display: block;
    }

    .training__card {
        width: 100%;
        margin-bottom: 20px;
    }
    #menyAvPaa:checked~#meny{
        height: 30vh;
    }
}

@media (max-width: 650px) {
    .header .btn {
        display: none;
    }

    .header__info-link {
        font-size: 16px;
    }

    .download__title {
        font-size: 24px;
    }

    .banner {
        min-height: auto;
    }

    .banner__container {
        z-index: 997;
    }

    .banner__text {
        width: 100%;
    }

    .banner__link {
        font-size: 36px;
        z-index: 3;
    }

    .banner__desc {
        margin: 20px 0;
    }

    .programm__card {
        width: 100%;
        height: 390px;
    }

    .programm__desc {
        font-size: 13px;
    }

    .about__btn {
        display: none;
    }

    .about__list {
        font-size: 14px;

    }

    .right {
        width: 100%;
    }
    .content{
        padding: 30px;
    }
  

}

@media (max-width: 500px) {
    .header__logo-link{
        width: 60%;
    }
    #burger {
        width: 1rem;
        height: 1rem;
        top: 3.5rem;
    }

    .header__info-link {
        font-size: 14px;
    }

    .icon-tel {
        width: 15px;
        margin: 0 5px;
    }

    .banner__desc, .banner__btn {
        display: none;
    }

    .name {
        font-size: 20px;
        font-family: 'Montserrat-Bold';
        font-weight: 900;
    }

    .first__card {
        height: 100%;
    }

    .list__item-desc {
        font-size: 10px;
    }

    .programm__img {
        display: none;
    }

    .programm__card {
        height: 250px;
    }

    .programm__name {
        margin: 10px auto 0;
    }

    .programm, .about, .pricing, .pricing__wrapper, .programm__wrapper {
        padding: 0;
    }

    .download .container {
        flex-direction: column;
        gap: 20px;
    }

    .pricing__desc {
        opacity: 1;
    }

    .pricing .btn {
        margin-left: auto;
        margin-right: auto;
    }

    .pricing__name {
        margin: 10px auto;
    }

    .pricing__name-free {
        margin: 0;
    }

    .about {
        display: none;
    }

    .about__mobile {
        display: block;
        margin: 30px 0;
    }

    .about__card-img {
        border-radius: 10px 10px 0 0;
    }

    .about__card {
        width: 100%;
        padding: 20px;
        border-radius: 0 0 10px 10px;
    }

    .about__card-name {
        font-size: 36px;
    }

    .right {
        padding: 5px;
    }

    .about__card-text-bottom {
        font-size: 20px;
        font-weight: 500;
    }

    .about__mobile__card-text {
        font-size: 20px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .about__mobile__list {
        margin-bottom: 10px;
        list-style-type: circle;
        margin-left: 10px;
    }

    .about__card-text, .about__list {
        display: none;
    }

    .name {
        margin-bottom: 10px;
    }

    .aboutall {
        display: none;
    }

    .block__title {
        font-size: 25px;
    }

    .block__desc {
        font-size: 20px;
    }

    .block__list-item {
        font-size: 16px;
    }

    .block__price {
        font-size: 16px;
        font-weight: 600;
    }

    .carrousel li q {
        font-size: 14px;
    }
    .input-box label {
        font-size: 12px;
    }
    #menyAvPaa:checked~#burger>div:nth-child(1){
        transform: translateY(8.2px) rotate(45deg);
    }
    #menyAvPaa:checked~#burger>div:nth-child(3){
        transform: translateY(-7px) rotate(-45deg);
    }

    .card__sale-top {
        padding-top: 10%;
      }
}

@media (max-width: 400px) {
    .header__logo-link{
        width: 80%;
    }
    .loader__inner {
        padding: 20px;
    }

    .loader__title {
        font-size: 15px;
    }

    .tel-text {
        display: none;
    }

    .banner__link {
        font-size: 25px;
    }

    .first__card {
        height: 100%;
    }

    .programm__desc {
        font-size: 12px;
    }
    .programm__card {
        height: 270px;
    }
}