
/*1024-1229*/
@media screen and (max-width: 1229px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .container-section {
        overflow: hidden;
    }

    .section {
        overflow: hidden;
    }

    .aside-items {
        grid-template-columns: repeat(3, 263px);
        justify-content: center;
        row-gap: 80px;
    }

    .contacts-animation-first {
        position: absolute;
        left: -1%;
    }

    .section-image {
        margin: 0 auto;
        width: 400px;
    }

    .section-image:before {
        content: ' ';
        width: 150px;
        height: 150px;
        right: 29%;
        top: 23%;
    }

    .section-image:after {
        content: ' ';
        width: 150px;
        height: 150px;
        right: 29%;
        bottom:39%;
    }

    .wrapper {
        justify-content: space-around;
        align-items: center;
        padding: 60px 0;
    }

    .footer-info {
        justify-content: space-around;
    }

    .container__footer {
        padding: 55px 18px 50px 18px;
    }

    .menu-list {
        margin-left: 100px;
        margin-right: 100px;
    }

}

/*768-1023*/
@media screen and (max-width: 1023px) {
    .header__container {
        justify-content: flex-start;
    }

    .menu-list {
        margin-left: 103px;
        margin-right: 0;
    }

    .tel {
        display: none;
    }

    .container__section {
        padding: 50px 18px 10px 18px;
        flex-wrap: wrap;

    }

    .section-desc {
        margin-bottom: 41px;
    }

    .section-image {
        top: -80px;
        right: -65px;
        width: 529px;
    }

    .section-image:before {
        content: ' ';
        width: 200px;
        height: 200px;
        right: 29%;
        top: 29%;
    }

    .section-image:after {
        content: ' ';
        width: 200px;
        height: 200px;
        right: 29%;
        bottom: 25%;
    }


    .section-image-img {
        max-width: 100%;
    }


    .container__main {
        padding: 119px 50px 120px 50px;
    }

    .main-section {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }

    .main-title {
        max-width: 480px;
        margin: 0 auto 61px auto;
    }

    .main-text {
        max-width: 675px;
    }

    .aside-title {
        font-size: 30px;
        margin-bottom: 120px;
    }

    .main-desc {
        margin: 61px auto 40px auto;
        display: inline;
        max-width: 675px;
    }

    .main-image {
        margin-bottom: 120px;
        margin-top: 40px;
    }


    .main-items {
        grid-template-columns: repeat(2, 220px);
        justify-content: center;
        row-gap: 80px;
        text-align: center;
        max-width: 500px;
        column-gap: 54px;
        margin: 0 auto;
    }

    .main-item {
        margin-top: 0;
        display: grid;
        justify-items: center;
    }

    .aside-items {
        grid-template-columns: repeat(2, 263px);
        row-gap: 140px;

    }

    .container__contacts {
        padding: 120px 19px 120px 18px;
    }

    .wrapper {
        display: flex;
        padding: 0;
    }

    .contacts-image {
        order: 2;
        position: relative;
        top: 197px;
    }

    .contacts-img {
        max-width: 335px;
    }

    .contacts-form {
        order: 1;
    }

    .contacts-img {
        max-width: 324px;
    }

    .contacts-animation-first {
        position: absolute;
        left: 55%;
        top: 43%;
    }

    .contacts-animation-first {
        position: absolute;
        left: 49%;
        top: 40%;
        animation: contacts-animation-first-animation 1.5s linear infinite;
        animation-direction: alternate;
    }

    @keyframes contacts-animation-first-animation {
        0% {
            top: 40%;
        }

        50% {
            top: 41%;
        }

        100% {
            top: 42%;
        }
    }

    .contacts-animation {
        position: absolute;
        right: 7%;
        top: 20%;
        animation: contacts-animation-animation 1.5s linear infinite;
        animation-direction: alternate;
        animation-delay: 0.5s;
    }

    @keyframes contacts-animation-animation {
        0% {
            top: 20%;
        }

        50% {
            top: 21%;
        }

        100% {
            top:22%;
        }
    }

    .footer-info {
        justify-content: space-between;
    }

    .tel-footer {
        display: inherit;
    }
}

/*481-767*/
@media screen and (max-width: 767px) {
    .container__section {
        padding: 40px 10px 40px 10px;
        flex-wrap: wrap;
    }

    .header__container {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .header {
        padding: 20px 0 5px 0;
    }

    .menu-list {
        margin: 20px auto;
    }

    .logo-desc {
        max-width: 135px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .section-image {
        left: 0;
        top: 10%;
        margin: 38px auto;
        width: 250px;
    }

    .section-image:before {
        content: ' ';
        width: 100px;
        height: 100px;
        right: 29%;
        top: 29%;
    }

    .section-image:after {
        content: ' ';
        width: 100px;
        height: 100px;
        right: 29%;
        bottom: 23%;
    }

    .container__main {
        padding: 40px 10px 40px 10px;
    }

    .main-title {
        font-size: 30px;
    }

    .main-desc {
        margin: 20px auto 20px auto;
        font-size: 16px;
    }

    .main-image-img {
        width: 250px;
        margin-top: 25px;
    }

    .main-items {
        grid-template-columns: repeat(1, 220px);
    }

    .container__aside {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .aside-items {
        grid-template-columns: repeat(1, 263px);
        row-gap: 110px;
    }

    .container__contacts {
        padding: 40px 19px 175px 18px;
    }

    .present-animation-image {
        width: 80px;
        height: 80px;
    }

    .contacts-form-text {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .contacts-form-desc {
        font-size: 16px;
    }

    .wrapper {
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

    .contacts-img {
        max-width: 270px;
        margin-top: -60%;
    }

    .contacts-animation-first {
        left: 3%;
        top: 80%;
    }

    @keyframes contacts-animation-first-animation {
        0% {
            top: 80%;
        }

        50% {
            top: 81%;
        }

        100% {
            top: 82%;
        }
    }



    .contacts-animation {
        right: 1%;
        top: 73%;
    }

    @keyframes contacts-animation-animation {
        0% {
            top: 73%;
        }

        50% {
            top: 74%;
        }

        100% {
            top: 75%;
        }
    }

    .container__footer {
        padding: 40px 10px 40px 10px;
    }
}

/*375-480*/
@media screen and (max-width: 480px) {
    .header {
        padding: 38px 0;
    }

    .menu {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        margin: 0;
        top: 0;
        left: 0;
        background-color: #f6e1e5d6;
        z-index: 1000;
        backdrop-filter: blur(3px);

    }

    .menu-list {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 40px auto;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .section-desc {
        font-size: 16px;
        margin: 0 auto 25px;
    }

    .section-text {
        text-align: center;
    }
    .container__main {
        padding: 100px 15px 100px 15px;
    }

    .section-image {
        left: 0;
        top: 10%;
        margin: 38px auto;
        width: 250px;
    }

    .section-image:before {
        content: ' ';
        width: 100px;
        height: 100px;
        right: 29%;
        top: 29%;
    }

    .section-image:after {
        content: ' ';
        width: 100px;
        height: 100px;
        right: 29%;
        bottom: 23%;
    }

    .main-desc {
        margin: 40px auto 59px auto;
        font-size: 16px;
    }

    .main-image {
        margin-bottom: 120px;
    }

    .main-image-img {
        width: 320px;
    }

    .main-items {
        grid-template-columns: repeat(2, 165px);
    }

    .main-item-title {
        font-size: 18px;
    }

    .main-item-desc {
        font-size: 13px;
    }

    .main-items {
        column-gap: 15px;
    }

    .main-item {
        width: 160px;
    }

    .container__aside {
        padding: 100px 17px;
    }

    .aside-title {
        font-size: 30px;
    }

    .aside-items {
        row-gap: 125px;
    }

    .contacts-form-textarea {
        align-items: center;
    }

    .container__contacts {
        padding: 100px 15px 77px 15px;
        text-align: center;
    }

    .contacts-form-title {
        margin-bottom: 60px;
    }

    .contacts-form-description {
        width: 344px;
    }

    .button-contact-form {
        width: 344px;

    }

    .contacts-animation-first {
        left: 75%;
        top: 16%;
    }

    @keyframes contacts-animation-first-animation {
        0% {
            top: 16%;
        }

        50% {
            top: 15%;
        }

        100% {
            top: 14%;
        }
    }

    .contacts-animation {
        display: none;
    }

    .contacts-img {
        display: none;
    }

    .present-animation-image {
        width: 75px;
        height: 75px;
    }

    .container__footer {
        padding: 50px 70px;
    }

    .footer-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-footer {
        order: 1;
        margin-bottom: 40px;
    }

    .tel-footer {
        order: 2;
        margin-bottom: 40px;
        font-size: 16px;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .footer-social {
        order: 3;
        margin-bottom: 40px;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .footer-desc {
        display: none;
    }

    .desc {
        display: inherit;
        order: 4;

    }

    .burger {
        display: flex;
        flex-wrap: wrap;
        width: 40px;
        height: 30px;
    }

    .burger-rectangle {
        width: 40px;
        height: 2px;
    }

    .menu.open {
        display: block;
    }
}

/*320-374*/
@media screen and (max-width: 374px) {
    .main-image-img {
        width: 250px;
    }

    .main-items {
        grid-template-columns: repeat(1, 165px);
    }

    .container__main {
        padding: 65px 15px 70px 15px;
    }

    .contacts-form-description {
        width: 290px;
    }

    .contacts-animation-first {
        left: 70%;
        top: 17%;
    }

    @keyframes contacts-animation-first-animation {
        0% {
            top: 17%;
        }

        50% {
            top: 16%;
        }

        100% {
            top: 15%;
        }
    }

    .button-contact-form {
        width: 290px;
    }

    .container__aside {
        padding: 65px 17px;
    }

    .aside-title {
        font-size: 30px;
         padding-bottom: 0;
        margin-bottom: 120px;
    }
}

@import "variables";


















