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

    .header__promo__img img{
        width: 62%;
    }

    .promo__slide-1 .header__promo__img img{
        right: 0;
    }

    .advantages__items {
        grid-column-gap: 50px;
    }

    .advertisement__item:not(:first-child)::before {
        right: 18%;
    }
}

@media screen and (max-width: 1160px) {
    .advantages__items {
        grid-column-gap: 25px;
    }

    .studio__history__description {
        width: 480px;
    }

    .studio__history__statics {
        grid-template-rows: 208px 110px 80px auto;   
    }

    .advertisement__item:not(:first-child)::before {
        right: 14%;
    }
}

@media screen and (max-width: 1090px) {
    .advantages__items {
        grid-template-columns: 0 300px 300px 0;
        grid-template-rows: 0 350px 350px 0;
        justify-content: center;
        grid-row-gap: 70px;
        grid-column-gap: 70px;
    }

    .advantages__item:nth-child(1){
        grid-row-start: 2;
        grid-column-start: 2;
    }

    .advantages__item:nth-child(2){
        grid-row-start: 2;
        grid-column-start: 3;
    }

    .advantages__item:nth-child(3){
        grid-row-start: 3;
        grid-column: 2/4;
        margin: 0 auto;
    }

    .studio__history__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 50px; 
    }

    .studio__history__description {
        width: 100%;
        margin-bottom: 30px;
    }

    .studio__history__description > h3{
        margin: 15px 0;
    }

    .studio__history__statics {
        width: 80%;
        display: grid;
        grid-template-areas: 
        "logo__image title title title"
        "logo__image procent-1 procent-2 procent-3"
        "logo__image descript-1 descript-2 descript-3";
        grid-template-rows: 70px 70px 70px auto;  
        grid-column-gap: 15px;
    }

    .studio__history__statics__item:not(:first-child) {
        align-self:center;
    }

    .advertisement__item:not(:first-child)::before {    
        display: none;
    }

    .ico {
        width: 70px;
        height: 70px;
    }

    .footer__wrapper {
        justify-content: space-between;
    }

    .footer__market {
        margin-left: 0;
    }
}

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

    .header__top__nav__item:not(:last-child) {
        margin-right: 20px;
    }

    .header__top__trash img {
        margin-right: 10px;
    }
}

@media screen and (max-width: 960px) {
    .header__promo {
        height: auto;
    }

    .header__promo input {
        bottom: 220px;
    }

    .header__promo__slide {
        flex-direction: column-reverse;
        align-items: center;
    }

    .header__promo__img img{
        position: static;
        width: auto;
    }

    .header__promo__img {
        height: auto;
    }

    .promo__slide-1 .header__promo__img img{
        padding-top: 17px;
    }

    .promo__slide-3 .header__promo__img img{
        padding-top: 19px;
    }

    .header__promo__text {
        width: auto;
        height: auto;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        text-align: center;
    }

    .header__promo__title{
        font-size: 44px;
        line-height: 44px;
        padding-bottom: 20px;
    }

    .header__promo__description {
        padding-bottom: 20px;
    }

    .advantages__items {
        grid-row-gap: 50px;
        grid-column-gap: 50px;
    }

    .studio__history__wrapper {
        align-items: start;
    }

    .footer__wrapper {
        align-items: center;
        flex-direction: column;
        padding: 30px 0;
    }

    .footer__market span {
        font-size: 32px;
    }

    .footer__market {
        width: 490px;
        text-align: center;
    }
}

@media screen and (max-width: 881px) {
    .promo__slide-1 .header__promo__img img{
        width: 597px;
    }

    .promo__slide-2 .header__promo__img img{
        width: 571px;
    }

    .promo__slide-3 .header__promo__img img{
        width: 649px;
    }

    .header__promo input {
        bottom: 262px;
    }

    .header__promo__title{
        width: 412px;
    }
}

@media screen and (max-width: 850px) {
    .header__top__trash span {
        display: none;
    }

    .header__top__trash a:hover {
        border: none;
    }

    .header__top__trash img {
        margin-right: 0;
    }

    .header__promo .promo__slide__btn-1 {
        left: 45%;
    }
    
    .header__promo .promo__slide__btn-3 {
        left: 55%;
    }

    .studio__history__wrapper {
        align-items: center;
    }

    .studio__history__statics {
        width: 360px;
        grid-template-areas: 
        "logo__image logo__image logo__image"
        "title title title"
        "procent-1 procent-2 procent-3"
        "descript-1 descript-2 descript-3";
        grid-template-rows: 208px 52px 80px auto; 
    }
}

@media screen and (max-width: 768px) {
    .header__top__logo {
        flex: 1;
    }

    .nav__btn {
        display: inline-block;
        margin-right: 12px;
    }

    .nav__btn:active {
        transform: scale(0.85);
    }

    .header__top__nav {
        display: none;
    }

    .header__top__trash {
        padding-top: 13px;
    }

    .header__top__nav {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 4;
        height: 100%;
        padding: 70px 45px;
        background-color: rgba(255, 255, 255, 0.582);
        backdrop-filter: blur(4px);
    }

    .header__top__nav__items {
        flex-direction: column;
        align-items: start;
    }

    .header__top__nav__item {
        margin-bottom: 20px;
    }

    .header__top__nav .nav__btn {
        position: absolute;
        right: 15px;
        top: 20px;
    }
    
    .advantages__items {
        grid-template-columns: 0 300px 0;
        grid-template-rows: 0 350px 350px 350px 0;
        justify-content: center;
        grid-row-gap: 50px;
        grid-column-gap: 0;
    }

    .advantages__item:nth-child(1){
        grid-row-start: 2;
        grid-column-start: 2;
    }

    .advantages__item:nth-child(2){
        grid-row-start: 3;
        grid-column-start: 2;
    }

    .advantages__item:nth-child(3){
        grid-row-start: 4;
        grid-column: 2;
        margin: 0;
    }

    .contacts__wrapper {
        margin-top: 40px;
    }

    .contacts__maps img {
        width: 130px;
        height: 100px;
        bottom: 18%;
    }

    .contacts__information {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;

        width: 100%;
        height: 130px;
        background-color: rgba(255, 255, 255, 0);
        position: static;
        padding: 0;
        margin: 10px auto;
    }

    .contacts__information__button  {
        flex-basis: 70%;
        text-align: right;
    }

    .contacts__information__button .push__btn {
        padding: 16px 44px;
        margin-top: 0;
    }

    .contacts__maps iframe {
        height: 300px;
    }
}

@media screen and (max-width: 740px) {
    .promo__slide-1 .header__promo__img img{
        width: 452px;
    }

    .promo__slide-2 .header__promo__img img{
        width: 438px;
    }

    .promo__slide-3 .header__promo__img img{
        width: 490px;
    }
}

@media screen and (max-width: 570px) {
    .promo__slide-1 .header__promo__img img{
        width: 340px;
    }

    .promo__slide-2 .header__promo__img img{
        width: 336px;
    }

    .promo__slide-3 .header__promo__img img{
        width: 368px;
    }
}

@media screen and (max-width: 540px) {
    .contacts__information {
        flex-direction: column;
        justify-content: start;
        align-items: start;

        width: 220px;
        height: 200px;
    }

    .contacts__information__button .push__btn {
        margin-top: 15px;
    }

    .ico {
        width: 50px;
        height: 50px;
    }

    .footer__market {
        width: 300px;
        font-size: 14px;
    }

    .footer__market span {
        font-size: 18px;
        line-height: 32px;
    }
}

@media screen and (max-width: 490px) {
    .header__promo__title {
        width: auto;
        font-size: 32px;
        font-weight: bold;
        line-height: 32px;
    }

    .header__promo .promo__slide__btn-1 {
        left: 40%;
    }
    
    .header__promo .promo__slide__btn-3 {
        left: 60%;
    }

    .header__promo input {
        bottom: 40%;
    }
}

@media screen and (max-width: 425px) {
    .promo__slide-1 .header__promo__img img {
        width: 250px;
    }

    .promo__slide-2 .header__promo__img img {
        width: 254px;
    }

    .promo__slide-3 .header__promo__img img {
        width: 269px;
    }

    .header__promo input {
        bottom: 0;
        top: 52% ;
    }

    .header__promo__title{
        font-size: 32px;
        font-weight: bold;
        line-height: 32px;
    }

    .header__promo__description {
        max-width: 328px;
    }

    .studio__history__description > h3{
        font-size: 32px;
        line-height: 32px;
    }

    .studio__history__statics__item:nth-child(1) img {
        width: 280px;
        height: 160px;
    }
    
    .studio__history__statics {
        width: 280px;
        grid-template-areas: 
        "logo__image logo__image"
        "title title"
        "procent-1 descript-1 "
        "procent-2 descript-2"
        "procent-3 descript-3";
        grid-template-rows: 160px 60px 80px 80px 80px; 
    }
}

@media screen and (max-width: 375px) {
    .header__promo__title{
        font-size: 28px;
        line-height: 28px;
    }

    .advantages__item img {
        width: 100%;
        height: 130px;
    }

    .advantages__items {
        grid-template-columns: 0 270px 0;
        grid-template-rows: 0 300px 300px 300px 0;
        justify-content: center;
        grid-row-gap: 30px;
        grid-column-gap: 0;
    }
}