* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.2s ease-in;
}

body,
footer {
    max-width: 600px;
    margin: 0 auto;
    background-color: #277bb3;
}

/*body {*/
/*    background: url("/assets/background2 1.png");*/
/*    background-size: 100% auto;*/
/*    background-blend-mode: difference;*/
/*}*/
.noscroll {
    overflow: hidden;
}

ul,
ol,
nav {
    list-style: none;
}

.relative {
    position: relative;
    z-index: 100;
}

.main-input-box {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.main-input-box input {
    width: 100%;
    border-radius: 4px;
    box-shadow: none;
    outline: none !important;
    border: 1px solid crimson;
    padding: 8px;
}

.main-input-box label {
    width: 100%;
    background: rgb(78, 114, 24);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
    cursor: pointer;
}

.main-input-box label:hover {
    background: rgb(77, 105, 42);
}

.hide-on-scroll {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.hide {
    opacity: 0 !important;
    pointer-events: none;
    user-select: none;
}

.show {
    pointer-events: all;
    opacity: 1 !important;
}

.show-on-scroll {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.container {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 1rem;
}

main {
    padding-bottom: 60px;
}

.adaptive-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer {
    position: fixed;
    bottom: 80px;
    z-index: 120;
    transform: translate(-50%, 100%);
    left: 50%;
    background: white;
    width: 100%;
    box-shadow: 2px 1px 4px rgba(0, 0, 0, 30%);
}

.menu {
    width: 100%;
    background: linear-gradient(36deg, #3a3c3c, #172430, #024375);
    /*Установка  фона  футера градиент*/
}

/*--background: linear-gradient(36deg, #3a3c3c, #172430, #024375)*/

.menu a {
    text-decoration: none;
    color: inherit;

}

/*ЦВЕТ КНОПКИ СВЕРНУТЬ*/
.menu_close {
    padding-block: 25px;
    background: transparent;
    /*Фон с градиентом*/
    color: #00FFCB;
}

/* три кнопки карта написать меню */
.footer_ul {
    padding-inline: 8px;
    padding-block: 16px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    gap: 8px;
    background: transparent;
    /*Фон с градиентом значение в .menu  background: linear-gradient(36deg, #3a3c3c, #172430, #024375) */
}

.row {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.row li {
    padding-inline: 20px;
    background: #ebe6ee;
}


.footer_open {
    transform: translate(-50%, 80px);
}

.footer-btn:nth-child(1) {
    width: 130px;
    border-radius: 300px 60px 60px 60px;
    color: #aacced;
}

.footer-btn:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111111;
    left: 0;
    top: 0;
}

.footer-btn:nth-child(1):before,
.footer-btn:nth-child(1):after {
    border-radius: 300px 60px 60px 60px;
}

.footer-btn:nth-child(2) {
    width: 130px;
    border-radius: 60px 300px 60px 60px;
    color: #aacced;
}

.footer-btn:nth-child(2):before,
.footer-btn:nth-child(2):after {
    border-radius: 60px 300px 60px 60px;
}

.footer-btn-menu {
    border-radius: 60px 60px 300px 300px;
    color: #aacced;
}

.footer-btn-menu:before,
.footer-btn-menu:after {
    border-radius: 60px 60px 300px 300px;
}

.footer-btn-menu:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #111111;
}

.footer_nav {
    display: flex;
    /*ЦВЕТ ФОНА МЕНЮ*/
    color: #aacced;
    background: transparent;
    /*Фон с градиентом*/

    /*background-size: 50% 50%;
                                                                       background-repeat: no-repeat;
                                                                       background-position: center center;*/
    padding-top: 40px;
}

.footer_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min-content;
    height: min-content;
}

.footer_item:nth-child(1) {
    align-self: flex-end;

}

.nav_link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 16px 8px;
}

.footer_link {
    width: min-content;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 4px 8px;
}

.nav_col_left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/*ЦВЕТ ПРАВОЙ КОЛОННЫ МЕНЮ*/
.nav_col_right {
    width: 50%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 40px;
}

.nav_col_left a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /*ЦВЕТ ЛЕВОЙ КОЛОНКИ МЕНЮ*/
    border-radius: 0 999px 999px 0;
    background: #111111;
    position: relative;
    z-index: 2;
    height: 50px;
}

.nav_col_right a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 999px 0 0 999px;
    background: #111111;
    position: relative;
    z-index: 2;
    height: 50px;
}

.nav_col_left a:before,
.nav_col_left a:after {
    border-radius: 0 999px 999px 0;
}

.nav_col_right a:before,
.nav_col_right a:after {
    border-radius: 999px 0 0 999px;
}

.nav_col_right a:before,
.nav_col_left a:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0.5;
    transition: opacity .3s ease-in-out;
}

.footer-btn-menu:before,
.footer-btn:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

#menu_button {
    letter-spacing: 2px;
}

.area {
    width: 100%;
    padding: 16px;
    background: white;
}

.footer-btn,
.footer-btn-menu {
    position: relative;
    z-index: 1;
}

.footer-btn span,
.footer-btn-menu span {
    position: relative;
    z-index: 2;
}

/* кнопки в Меню */
.nav_col_right a:after,
.nav_col_left a:after {
    display: block;
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/*ХИМИЯ*/
.nav_col_left a:nth-child(1) {
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 45%;
    font-size: 14px;
}

/*СТРОЙКА*/
.nav_col_left a:nth-child(2) {
    letter-spacing: 1px;
    width: 60%;
    font-size: 18px;
}

/*РЕМОНТ*/
.nav_col_left a:nth-child(3) {
    width: 80%;
    font-size: 20px;
    letter-spacing: 1px;
}

/*АКСЕССУАРЫ*/
.nav_col_left a:nth-child(4) {
    width: 100%;
}

/*ОБСЛУЖИВАНИЕ*/
.nav_col_left a:nth-child(5) {
    width: 120%;
}


/*ДРУГОЕ*/
.nav_col_right a:nth-child(5) {
    letter-spacing: 1px;
    width: 45%;
    font-size: 14px !important;
    text-transform: uppercase;
}

/*НАСОСЫ*/
.nav_col_right a:nth-child(4) {
    width: 60%;
    font-size: 18px !important;
    letter-spacing: 1px;
}

/*ФИЛЬТРЫ*/
.nav_col_right a:nth-child(3) {
    width: 80%;
    letter-spacing: 1px;
    font-size: 20px !important;
}

/*ЛЕСТНИЦЫ*/
.nav_col_right a:nth-child(2) {
    width: 100%;
}

/*НАГРЕВАТЕЛИ*/
.nav_col_right a:nth-child(1) {
    width: 120%;
}

.flex {
    display: flex;
    align-items: center;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.flex-col {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.my {
    margin: 1rem 0;
}

.gap {
    gap: 1rem;
}


.pop-up-open {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 70%);
    transition: all 0.2s ease-in;
    transition: color 0s;
    z-index: 1000;
}

.popup_tel {
    margin-bottom: 10px !important;
    display: block;
}

.pop-up-open .pop-up-content {
    display: block;
    width: 100%;
    height: auto;
    max-width: 550px;
}

.pop-up-content img {
    width: 100%;
}


.pop-up-open .pop-up-trigger {
    display: none;
}

.logo-hide {
    opacity: 1;
    transition: opacity 0.4s ease-in;
}

.logo-hide-scroll {
    opacity: 0;
}

.logo-scroll {
    position: fixed;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.4s ease-in;
    justify-content: space-between;
    background: white;
    width: 100%;
    height: 54px;
    padding-inline: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 30%);
}

.logo-scroll img {
    height: 100%;
    width: auto;
}

.show-logo-scroll {
    opacity: 1;
}

.shops {
    position: relative;
}

.header {
    width: 100%;
    height: auto;

}

.mini-header {
    position: fixed;
    display: flex;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    transition: opacity 0.4s ease-in;
    justify-content: space-between;
    background: white;
    width: 100%;
    height: 80px;
    /*  высота шапки */
    padding-inline: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 30%);
    z-index: 99999;
}

@media screen and (min-width: 600px) {
    .mini-header {
        max-width: 600px;
    }

}

.mini-header a {
    display: block;
    width: 30%;
}

.mini-header a img {
    width: 100%;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 400;
}

.popup_map {
    margin-bottom: 10px;

}

.popup_map a {
    text-decoration: none;
}

.popup_content {
    position: relative;
    width: 100%;
    min-width: 300px;
    max-width: 550px;
    min-height: 400px;
    z-index: 999999;
    background: white;
    border-radius: 10px;
    box-shadow: 2px 1px 4px rgba(0, 0, 0, 30%);
    padding-bottom: 16px;
}

.popup_header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px;
}

.popup_main {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button {
    border: none;
    border-radius: 4px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min-content;
    white-space: nowrap;
    color: inherit;
    padding: 4px 16px;
    outline: none;
    margin: 16px 0;
    text-decoration: none;
}

.button-map {
    min-width: 100px;
    background: #4FD1C5;
    background: linear-gradient(90deg, rgba(129, 230, 217, 1) 0%, rgba(79, 209, 197, 1) 100%);
    border: none;
    border-radius: 1000px;
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    display: flex;
    padding: 0 10px;
    justify-content: center;
    align-items: center;
}

.button-map::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 120%;
    border: 3px solid #038acb;
    border-radius: 100px;
    z-index: 1;
}

.pop-up-trigger,
.pop-up {
    width: 100%;
}

.pop-up-trigger {
    margin: 1rem 0;
    text-decoration: none;
}

.button-map:hover,
.button:focus {
    color: #313133;
    transform: translateY(-6px);
}

.button-map:hover::before,
button:focus::before {
    opacity: 1;
}

.pop-up-trigger {
    position: relative;
}

.button-map {
    display: flex;
    margin: 0 auto;
    z-index: -1;
}

.button-map::after {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 6px solid #00FFCB;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

.button-map:hover::after,
button:focus::after {
    animation: none;
    display: none;
}

@keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

@keyframes ring2 {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }

    100% {
        width: 90px;
        height: 90px;
        opacity: 0.1;
    }
}

.button-link {
    border-radius: 0;
    border-bottom: 1px solid black;
    background: none;
    padding: 4px 0;
}

.button-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 80%;
    padding: 4px 16px;
    margin: 0 auto;
    outline: none;
    border: 1px solid #ff9393;
    border-radius: 4px;
    background: #f3f3e7;
}

.icon {
    width: 28px;
    height: 28px;
}

.social_links {
    margin-top: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social_links a {
    display: block;
    position: relative;
    background-repeat: no-repeat;
    min-height: 64px;
    min-width: 64px;
}

.social_links a img {
    display: none;
}

.social_links a:nth-child(1) {
    background-image: url(../assets/icons/max-messenger-sign-logo.svg);
}

.social_links a:nth-child(2) {
    background-image: url(../assets/icons/telegram-svgrepo-com.svg);
}

.social_links a:after {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring2 5s infinite;
}

.social_links a:nth-child(1):after {
    border: 6px solid #37ade1;
}

.social_links a:nth-child(2):after {
    border: 6px solid #25d266;
}

.social_links a:nth-child(3):after {
    border: 6px solid #5f41e0;
}

.social_links a img {
    width: 64px;
    height: 64px;
}