@media all and (max-width: 1100px) {
    .header-nav {
        width: 50%;
    }

    .section-title {
        font-size: 50px;
    }

    .section-text {
        font-size: 30px;
    }

    .about-container {
        margin: 60px 0 80px 0;
    }

    .about-description {
        max-width: 450px;
    }

    .footer-text {
        width: 45%;
    }

}


@media all and (max-width: 990px) {
    .about-container {
        margin: 60px 0 80px 0;
    }

    .about-image img {
        max-width: 430px;
    }

    .contact {
        margin-left: 30px;
    }
}

@media all and (max-width: 880px) {
    .header-nav {
        width: 55%;
    }

    .section-container {
        margin-top: 35px;
        margin-bottom: 50px;
    }

    .section-text {
        margin-bottom: 85px;
    }
    .contact {
        margin-left: 20px;
    }

    .about-description {
        max-width: 400px;
    }

    .about-image {
        margin-top: 0;
    }

    .about-image img {
        max-width: 400px;
    }

    .about-title {
        font-size: 35px;
    }

    .about-text {
        font-size: 17px;
    }

    .button {
        width: 265px;
        height: 69px;
    }

    .btn {
        font-size: 24px
    }
}

@media all and (max-width: 834px) {
    .section-container {
        flex-direction: column;
        justify-content: space-between;
        margin-top: 23px;
        margin-bottom: 39px;
    }

    .nav li a {
        font-size: 18px;
    }

    .section-title {
        font-size: 45px;
        margin-bottom: 20px;
    }

    .section-text {
        margin-bottom: 60px;
    }

    .section-description-btn {
        width: 250px;
        margin-bottom: 55px;
    }

    .footer-description span {
        font-size: 14px;
    }

    .about-container {
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        margin: 25px 0 31px;
    }

    .main-image {
        margin-left: 0;
    }

    .about-description {
        max-width: 477px;
    }

    .about-title {
        margin-bottom: 40px;
    }

    .about-advert {
        font-size: 19px;
    }

    .about-button {
        width: 100%;
        margin-bottom: 34px;
    }

    .contact-container {
        flex-direction: column;
        margin-top: 30px;
        margin-bottom: 36px;
        align-items: center;
    }

    .contact {
        margin-left: 0;
    }
    .contact-title {
        font-size: 40px;
        margin-bottom: 25px;
    }

    .form {
        max-width: 526px;
    }

    .contact-button {
        width: 100%;
        margin-bottom: 36px;
    }
    
    .contact-button.btn {
        font-size: 30px;
    }
}

@media all and (max-width: 760px) {
    .burger {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 204px;
        height: 280px;
        text-align: end;
        z-index: 50;
        overflow-y: 50;
        padding: 70px 20px;
        background-color: #1A233E;
        animation: burgerAnimation 0.4s;
    }

    .nav ul {
        flex-direction: column; 
        row-gap: 30px;
    }
}

@media all and (max-width: 661px) {
    .footer-text {
        flex-direction: column;
        align-items: end;
    }

    .footer-text {
        margin-right: 0;
    }
    .footer-title {
        display: none;
    }
    .footer-description span {
        text-align: end;
    }
    
}

@media all and (max-width: 465px) {
    .about-title {
        margin-bottom: 25px;
        font-size: 30px;

    }
}

@media all and (max-width: 400px) {
    .section-title {
        font-size: 40px;
    }

    .section-text {
        font-size: 25px;
    }

    .section-description-btn {
        width: 215px;
    }

    .footer-description span {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .about-text {
        font-size: 15px;
    }

    .contact-title {
        font-size: 35px;
    }

    label {
        font-size: 16px;
    }

    .about-advert {
        text-align: center;
    }

    input::placeholder {
        font-size: 14px;
    }

    .contact-button.btn {
        font-size: 26px;
    }

    .burger {
        width: 60px;
    }

}


