@media screen and (max-width: 1800px) {
    .nav-item-3 {
        display: none;
    }
    .header-nav {
        max-width: 1200px;
    }
    .s-header {
        height: 70px;
    }
    .header-2 {
        height: 70px;
    }
    .s-whiteplace {
        height: 70px;
    }
    .header-1 {
        height: 75px;   
    }
    .vilss-logo {
        height: 60px;
    }
}
@media screen and (max-width: 1600px) {
    .header-nav {
        max-width: 1100px;
        font-size: 13px;
    }
}
/* Новое меню */
@media screen and (max-width: 1300px) {
    .s-header {
        display: none;
    }
    .s-whiteplace {
        display: none;
    }
    .video-temnota {
        background-color: rgba(0, 0, 0, .5);
    }
    .s-header-mobile {
        opacity: 1;
        visibility: visible;
    }
    .mobmenu-container {
        display: initial;
    }
    .service-container {
        position: initial;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0;
        padding-right: 0;
    }
    .s-service {
        padding-bottom: 70px;
        padding-top: initial;
        position: relative;
    }
    .price-container {
        left: 40px;
        right: 40px;
    }
    .s-banner {
        padding-bottom: 200px;
    }
    .service-pt-mobile {
        display: initial;
    }
}
/* Изменение футера и Модального окна "Скачать пособие"*/
@media screen and (max-width: 1070px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .foi-1 {
        justify-content: center;
        text-align: center;
        margin-bottom: 20px;
    }
    .foi-2 {
        margin-bottom: 20px;
    }
    .foi-3 {
        justify-content: center;    
    }
    .s-footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .footer-item {
        padding: 0;
    }
    .modal-2-container {
        position: absolute;
        top: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .modal-2-container-content {
        display: flex;
        flex-direction: column;
        width: initial;
        justify-content: center;
        align-items: center;
    }
    .modal-2-container-content-catalog-booklet {
        position: initial;
    }
    .modal-2-overlay {
        overflow-y: auto;
        overflow-x: hidden;
    }
}
/* Изменение "НАШИ ПОСЛУГИ" */
@media screen and (max-width: 950px) {
    .price-2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 600px;
        grid-gap: 30px;
    }
    .price-container {
        position: relative;
        background-color: #fff;
        border-radius: 0px;
        left: 0;
        right: 0;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .s-price {
        height: initial;
    }
    .price-container__mobile-bg {
        display: initial;
    }
    .price-2-1 {
        width: 150px;
    }
}
@media screen and (min-width: 790px) {
    .add-nav-item-telegram:hover {
        background-color: #1f83b6;
    }
    .add-nav-item-regular:hover {
        background-color: #91422a;
    }
    .add-nav-item-phone:hover {
        background-color: #3caf4f;
    }
    .add-nav-closure-button:hover {
        background-color: #91422a;
    }
    .add-nav-collapse-button:hover {
        background-color: #91422a;
    }
}
/* Изменение контактов и Видов Вышивок*/
@media screen and (max-width: 790px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
        margin-top: 20px;
        grid-gap: 40px
    }
    .service-title-text-main-image {
        display: none;
    }
    .service-title-text-main-image-mobile {
        display: initial;
    }
    .service-second-title-gocrazy {
        margin-left: 0px;
    }
    .service-container {
        padding-top: 20px;
    }
    /* Изменение видов вышивок */
    .embro-item {
        flex-direction: column;
        max-width: 350px;
    }
    .emdro-embro-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .embro-item-1 {
        margin-right: 0;
    }
    .embro-item-1-1 {
        width: 100%;
    }
    .embro-item-2-1 {
        margin-top: 20px;
    }
    .s-embroideries {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* Адаптация пособского модального окна */
@media screen and (max-width: 600px) {
    .modal-2-container-content {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .modal-2-container-title {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
    }
    .select {
        max-width: initial;
    }
    .phone-input-modal-2-div {
        max-width: initial;
        width: calc(100% - 60px);
    }
    .btn-modal-2 {
        width: 100%;
    }
    
}
@media screen and (max-width: 520px) {
    .add-nav {
        display: none;
    }
    .add-nav_phone {
        display: grid;
    }
    .white-end_phone {
        height: 72px;
    }
    .s-gallery {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
/* Айфоновская адаптация */
@media screen and (max-width: 500px)  {
    .s-header-mobile-logo-imgtag {
        height: 55px;
    }
    .header__under-burger-text {
        font-size: 12px;
        width: 50px;
    }
    .header__phone-number {
        font-size: 17px;
        width: 232px;
    }
    .header__burger-btn span {
        width: 40px;
        height: 3px;
    }
    .header__burger-btn {
        width: 50px;
        height: 45px;
    }
    .s-header-mobile-burger {
        margin-right: 15px;
    }
    .banner-1 {
        font-size: 40px;
    }
    .banner-2 {
        font-size: 17px;
    }
    /* .banner-3-1 {
        text-align: center;
        width: 100%;
    } */
    .s-service {
        padding-left: 20px;
        padding-right: 20px;
    }
    .modal-1-wrapper {
        width: initial;
        position: absolute;
        left: 20px;
        right: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .modal-input-input-1 {
        height: 70px;
    }
    .modal-button-input-1 {
        height: 70px;
    }
    .modal-1-title {
        font-size: 35px;
        margin-bottom: 15px;
    }
    .modal-1-container {
        overflow-y: auto;
    }
    .modal-privpol-modal-center {
        width: initial;
    }
    .modal-privacy-policy {
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .modal-privacy-policy::-webkit-scrollbar {
        display: none;
    }
    .modal-2-container-content-catalog-booklet {
        width: 100%;
    }
}
/* Модальное окно (Брошура) под меньшие телефоны */
@media screen and (max-width: 450px) {
    .modal-2-container-title-1 {
        font-size: 35px;
    }
    .modal-2-container-title-2 {
        font-size: 25px;
    }
}
/* Для адаптации "Наши послуги" и "Контакты" под маленькие телефоны */
@media screen and (max-width: 415px) {
    .price-2 {
        grid-gap: 10px;
    }
    .price-container {
        padding-left: 0;
        padding-right: 0;
    }
    .s-contacts {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .contact-item-2-form {
        box-shadow: initial;
        border-radius: 0px;
        background-color: #Faf9F9;
        border: initial;
    }
    .contacy-item-1-button  {
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
}
/* Для маленьких телефонов */
@media screen and (max-width: 400px) {
    .s-header-mobile-logo-imgtag {
            margin-top: 15px;
            margin-left: 15px;
            height: 45px;
    }
    .header__phone-number__abc {
        height: 20px;
        width: 20px;
    }
    .header__phone-number__flashing-lights 
    {
        height: 7px;
        width: 7px;
    }
    .header__phone-number {
        font-size: 15px;
    }
    .header__burger-btn span:nth-child(1) {
        transform: translateY(-12px);
    }
    .header__burger-btn span:nth-child(3) {
        transform: translateY(12px);
    }
    .header__burger-btn {
        height: 33px;
    }
    .s-banner {
        padding-top: 150px;
        padding-bottom: 150px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .banner-1
    {
        font-size: 33px;
    }
    .banner-2
    {
        font-size: 15px;
    }
    .s-header-mobile-burger {
        margin-right: 10px;
    }
    .banner-3-1 {
        font-size: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .modal-input-input-1 {
        font-size: 17px;
    }
    .modal-1-title {
        font-size: 25px;
    }
    .modal-1-minititle {
        font-size: 20px;
    }
    .modal-1-wrapper {
        left: 20px;
        right: 20px;
    }
    .modal-1-wrapper {
        padding: 20px;  
    }
    #form-modal-1 {
        margin-top: 20px;
    }
    .modal-button-input-1 {
        font-size: 20px;
        height: 50px;
    }   
    .modal-input-input-1 {
        height: 50px;   
    }
    .modal-1-user-agreement-2-1 {
        font-size: 12px;
    }
    .modal-1-user-agreement-2-2 {
        font-size: 12px;
    }
    .modal-privpol-modal-center h2 {
        font-size: 20px;
    }
    .modal-privpol-modal-center {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .modal-privpol-modal {
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media screen and (max-width: 390px) {
    .modal-2-container-title-1 {
        font-size: 30px;
    }
    .modal-2-container-title-2 {
        font-size: 20px;
    }
    .modal-2-container-title-3 {
        font-size: 16px;
    }
}
@media screen and (max-width: 350px) {
    .modal-2-container-title-1 {
        font-size: 25px;
    }
    .modal-2-container-title-2 {
        font-size: 18px;
    }
    .modal-2-container-title-3 {
        font-size: 14px;
    }
    .btn-modal-2 {
        font-size: 20px;
    }
}
/* Для адаптации "Наши послуги" под ОЧЕНЬ маленькие телефоны */
@media screen and (max-width: 340px) {
    .price-container__mobile-bg {
        left: 0;
        right: 0;
        border-radius: 0px;
    }
    .price-2 {
        grid-gap: 20px;
    }
    .modal-privpol-modal-center h2 {
        font-size: 16px;
    }
    .modal-privpol-modal {
        margin-left: 15px;
        margin-right: 15px;
    }
}
/* Для маленьких ОЧЕНЬ маленьких телефонов(от 320px до 280px) */
@media screen and (max-width: 320px) {
    .s-header-mobile-logo-imgtag {
        margin-top: 10px;
        margin-left: 10px;
        height: 37px;
    }
    .header__phone-number__abc {
        width: 15px;
        height: 15px;
    }
    .header__phone-number {
        font-size: 13px;
    }
    .s-header-mobile-burger {
        margin-right: 0;
    }
    .header__burger-btn span {
        height: 2px;
        width: 30px;
    }
    .header__under-burger-text 
    {
        font-size: 9px;
    }
    .header__burger-btn span:nth-child(1) {
        transform: translateY(-9px);
    }
    .header__burger-btn span:nth-child(3) {
        transform: translateY(9px);
    }
    .header__burger-btn {
        width: 45px;
        height: 25px;
    }
    .s-footer {
        padding-left: 0;
        padding-right: 0;
    }
    .ml15 {
        margin-left: 0;
    }
    .foi-3 {
        flex-wrap: wrap;
        grid-gap: 10px;
    }
    .foi-2-button {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .contact-item-2-form {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* Для маленьких абсурдно маленьких телефонов которых скорее всего не существует */
@media screen and (max-width: 280px) {
    .header__phone-number {
        display: none;
    }
}