@media screen and (max-width: 1024px) {
   .arrow-block img {
      width: 70%;
   }
   .first-course {
    font-size: 14px;
    line-height: 30px;
   }
   .bg-motin img {
    margin-left: -350px;
   }
   .section-3 {
    height: auto;
    }

    .section-3__imgs {
        display: none;
    }

    .section-3__info {
        min-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-4__info h2 {
        margin-bottom: 40px;
    }

    .section-5__info,
    .section-5__form {
        min-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 812px) {
    
}
@media screen and (max-width: 768px) {
    .header-content nav {
        display: none;
    }
    .header-content {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .bg h1 {
        font-size: 28px;
        line-height: 33px;
    }
    .bg p {
        font-size: 18px;
        line-height: 32px;
        margin-top: 10px;
    }
    .bg p span {
        font-size: 18px;
        line-height: 35px;
    }
    .bg {
        padding-top: 30px;
        background-position-x: 90px;
    }
    .section-2__head button {
        padding: 21px 40px;
    }
    .arrow-block img {
       width: 60%;
    }
    .arrow-text {
        font-size: 16px;
        line-height: 22px;
    }
    .bg-motin,
    .about-me {
        min-width: 100%;
    }
    .bg-motin img {
        margin-left: 0;
        margin-top: 20px;
    }
    .about-me {
        margin-top: 50px;
    }
    .about-me h2,
    .about-me p {
        text-align: center;
    }
    .about-me__list {
        margin-left: 85px;
    }
    .section-3 {
        margin-top: 50px;
    }
    .section-3__info h2 {
        font-size: 40px;
        margin-top: 50px;
    }
   
    .section-5__info h2 {
        font-size: 40px;
        line-height: 50px;
    }
    .section-5 {
        margin-top: 30px;
    }
    .section-5__info-text {
        margin-top: 20px;
    }
    .section-4__info h2 {
        font-size: 40px;
        line-height: 55px;
        margin-top: 50px;
        margin-bottom: 40px;
    }
    .footer-nav {
        display: none;
    }
    .footer-contacts h5 {
        margin-top: 60px;
    }
    .footer-right {
        display: flex;
        justify-content: flex-end;
    }
    .logo {
        margin-left: 0;
    }
    .section-3::before {
        left: 0;
    }
    .desktop-dnone{
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 736px) {
    
}

@media screen and (max-width: 414px) {
  
    .header-content {
        align-items: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .header-content div span,
    .header-content div a span {
        font-size: 13px;
    }
    .bg span {
        font-size: 14px;
        line-height: 14px;
        padding-top: 0px;
    }
    .bg h1 {
        font-size: 18px;
        line-height: 25px;
    }
    .bg p {
        font-size: 14px;
        line-height: 23px;
        margin-top: 10px;
    }

    br {
        display: none;
    }
    .bg p span {
        font-size: 14px;
        line-height: 18px;
        display: inline-block;
    }
    .bg {
        padding-top: 30px;
        background: none;
    }
    .header-content button {
        font-size: 14px;
    }
    .section-2__head {
        flex-direction: column;
    }
    .arrow-block img {
        display: none;
    }
    .arrow-text {
        font-size: 14px;
        line-height: 18px;
    }
    .section-2__head button {
        padding: 23px 130px;
        margin-top: 15px;
    }
    .bg-motin {
        display: none;
    }
    .about-me h2 {
        font-size: 20px;
        line-height: 30px;
    }
    .about-me p {
        font-size: 16px;
        line-height: 24px;
    }
    .about-me__list {
        margin-left: 15px; 
    }
    .about-me__list li p {
        font-size: 14px;
        line-height: 25px;
        text-align: left;
    }
    .section-3__info h2 {
        font-size: 26px;
        margin-top: 25px;
    }
    .section-3 {
        margin-top: 15px;
    }
    .section-3__info p {
        font-size: 15px;
        line-height: 26px;
        margin-top: 0px;
    }
    .section-4__item {
        min-width: 100%;
        margin-bottom: 24px;
    }
    .section-4__info h2 {
        font-size: 22px;
        line-height: 35px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .nums {
        font-size: 75px;
        line-height: 60px;
    }
    .item-text {
        font-size: 18px;
        line-height: 26px;
    }
    .section-5__info h2 {
        font-size: 20px;
        line-height: 35px;
    }
    .price {
        font-size: 36px;
    }
    .form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        background: #F0F0F0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 25px;
    }
    .form-text {
        margin-top: 0;
        padding-top: 40px;
        margin-bottom: 24px;
    }
    .form__input{
        width: 100%;
    }
    .form-input,.form__button{
        width: 100%;
    }
    #button-3, #button-2{
        position: relative;
    }
    .form-button{
        width: 100%;
        height: auto;
    }
    .form h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .form__inpu,
    .form-button {
        height: 60px;
    }
    .footer .col-6 {
        min-width: 100%;
    }
    .footer-right {
        display: flex;
        justify-content: center;
    }
    .footer-contacts h5 {
        margin-top: 5px;
        text-align: center;
        font-size: 14px;
    }
    .footer-contacts a p {
        font-size: 14px;
    }
    .form-modal {
        background: none;
    }
    .iti {
        width: 100%;
      }
}

@media screen and (max-width: 375px) {
    .bg {
        padding-top: 10px;
        background-position: 75px 275px;
    }
    .header-content button {
        font-size: 14px;
        height: 43px;
        padding: 5px;
    }
    .bg h1 {
        font-size: 20px;
    }
    .bg button {
        font-size: 14px;
        line-height: 18px;
        padding: 16px 40px;
    }
    .form-text {
        margin-top: 15px;
        margin-bottom: 15px;
        flex-direction: column;
    }
    .form h4 {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center;
    }
    .form__input,
    .form__button {
        width: 100%;
        height: 60px;
    }
    .iti {
        width: 100%;
      }

}

@media screen and (max-width: 320px) {
    .header-content {
        align-items: center;
    }
    .logo{
        width: 100px;
        margin-bottom: 10px;
    }
    .header-content div span {
        line-height: 115%;
    }
    .bg h1 {
        font-size: 18px;
    }
    .bg {
        padding-top: 10px;
        background-position: 75px 300px;
    }
    .first-course {
        text-align: center;
    }
    .section-2__head button {
        padding: 23px 115px;
        height: 50px;
    }
    .bg-motin {
        background: url(../img/motin.png) no-repeat;
        height: 512px;
        width: 700px;
    }
    .about-me__list {
        margin-left: 4px;
    }
    .about-me {
        margin-top: 30px;
    }
    .section-3__info h2 {
        margin-top: 10px;
    }
    .item-text {
        font-size: 16px;
        line-height: 25px;
    }
    .form-text span {
        font-size: 14px;
        line-height: 22px;
    }
    .form h4 {
        font-size: 14px;
    }
    .form__input, .form__button {
        width: 100%;
        height: 60px;
    }
    .footer-text p, .footer-text a p {
        font-size: 12px;
    }
    .header-content button {
        font-size: 12px;
        height: 35px;
    }


}