:root {
    --main-padding: clamp(15px, (30vw - 200px), 20vw);
}

* {
    font-family: "Nata Sans", sans-serif;
    font-weight: 300;
    font-size: 20px;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    background-color: #01B2FF;
    -webkit-overflow-scrolling: touch;
}

a[href^=\"tel\"] {
    color: inherit;
    text-decoration: none;
}

header {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top);
    height: 150px;
    display: flex;
    position: -webkit-sticky;
    position: sticky !important;
    top: 0;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    z-index: 21;
}

.high-header {
    padding-right: var(--main-padding);
    padding-left: var(--main-padding);
    height: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.a-logo {
    width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.logo {
    margin-top: 10px;
    margin-bottom: 3px;
}

.link {
    transition: 0.5s;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    color: #01B2FF;
}

.link:hover {
    transition: 0.5s;
    color: black;
}

.separator {
    margin-right: var(--main-padding);
    margin-left: var(--main-padding);
    height: 1px;
    background-color: #DBDBDB;
}

.low-header {
    margin-right: var(--main-padding);
    margin-left: var(--main-padding);
    height: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.catalog {
    width: 240px;
    padding: 0;
    margin: 0;
    padding-left: 0;
    padding-top: 7px;
    padding-bottom: 5px;   
    font-size: 20px;
    border: 0;
}

.catalogic {
    display: none;
    flex-direction: row;
}

.sort {
    transition: 0.5s;
    padding-left: 5px;
}

.high-li {
    margin-top: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top: 1px solid #DBDBDB;
}

.low-li {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom: 1px solid #DBDBDB;
}

.catalog:hover {
    color: #01B2FF;
    background-color: white;
    text-decoration: none;
}

.catalog:hover img {
    transition: 0.5s;
    padding-left: 0;
    padding-right: 5px;
    rotate: 180deg;
}

ul {
    width: 240px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 20px;
}

li ul {
    position: absolute;
    display: none;
}

li a {
    width: 180px;
    font-size: 18px;
    transition: 0.5s;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: black;
    background-color: white;
    border-bottom: none;
    border-left: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
}

li a:hover {
    transition: 0.5s;
    color: #01B2FF;
    text-decoration: underline;
}
   
li:hover ul {
    display: flex;
}

.image-preview {
    height: 400px;
    border-radius: 20px;
    margin-left: 10px;
    margin-top: 20px;
    border: 1px solid #DBDBDB;
}

.image-preview-container {
    display: none;
}

.low-a {
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-decoration: none;
    color: black;
    margin: 0;
    font-size: 20px;
}

.low-a:hover {
    transition: 0.5s;
    color: #01B2FF;
}

.fullscreen-tab-model {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100lvh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch;
}

.fullscreen-tab-model-part-main {
    inset: 0;
    width: 100%;
    min-height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    overflow: hidden !important;
}

.fullscreen-tab-model-part-a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--main-padding);
    width: 25%;
    overflow: hidden !important;
}

.fullscreen-tab-model-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid #DBDBDB;
}

.fullscreen-tab-model-part-b {
    padding-right: var(--main-padding);
    width: 25%;
    overflow-y: auto;
    height: 100vh;
    -webkit-overflow-scrolling: touch;
}

.close-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 30%;
    transition: 0.5s;
    margin-bottom: 20%;
    color: white;
}

.close-button:hover {
    transition: 0.5s;
    padding:  5px;
    padding-left: 60px;
    padding-right: 60px;
    background-color: #01B2FF;
    border-radius: 3000px;
    border: 1px solid #DBDBDB;
}

.close-button img {
    width: 30px;
    margin-right: 10px;
}

.fullscreen-tab-model-part-a a {
    text-decoration: none;
    text-align: center;
    width: 60%;
    transition: 0.5s;
    padding:  20px;
    padding-left: 60px;
    padding-right: 60px;
    margin-top: 5%;
    background-color: white;
    color: #01B2FF;
    border-radius: 3000px;
    border: 1px solid #DBDBDB;
}

.fullscreen-tab-model-part-a a:hover {
    transition: 0.5s;
    background-color: #01B2FF;
    color: white;
}

.fullscreen-tab-model-part-b {
    overflow-y: auto;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 10%;
    height: 70%;
    margin-top: 15px;
}

.burger-menu-button {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.burger {
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    margin-top: 0;
    height: fit-content;
    background-color: white;
    z-index: 20;
    border-radius: 20px;
    margin-left: 2% !important;
    margin-right: 2% !important;
    margin-top: 2% !important;
    width: 96%;
}

.burger-link {
    height: 100%;
    margin: 0;
    padding: 0;
    color: black;
    text-decoration: none;
    font-size: 20px;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.form-consult {
    position: fixed;
    inset: 0;
    height: 100lvh;
    width: 100%;
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
}

.consult {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #01B2FF;
    padding: 50px;
    padding-top: 35px;
    border-radius: 20px;
}

#submit-button {
    transition: 0.5s;
    background-color: white;
    color: #01B2FF;
    margin-top: 120px;
    padding-left: 50px;
    padding-right: 50px;
}

#submit-button:hover {
    transition: 0.5s;
    background-color: #01B2FF;
    color: white;
}

.form-buttons {
    margin-top: 15px;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 360px;
    border: 1px solid #DBDBDB;
}

.main-info {
    height: 800px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(images/blue-abstract-fluid-background-vector.jpg);
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#galery-info {
    height: 400px;
}

.main-text {
    margin: 0;
    padding: 0;
    
}

.rucold {
    font-weight: bold;
    color: #01B2FF;
}

.rucold-heading {
    font-family: "Unbounded", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #01B2FF;
}

.heading {
    font-family: "Unbounded", sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #01B2FF;
}

.heading-main {
    font-family: "Unbounded", sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #01B2FF;
    opacity: 0;
    translate: -200px;
    text-shadow: 0 4px 15px white;
}


.paragraph-main {
    font-size: 20px;
    opacity: 0;
    translate: -200px;
}

.paragraph {
    font-size: 20px;
}

.button-a {
    text-decoration: none;
    color: #01B2FF;
    margin-top: 7%;
    width: 50%;
    border-radius: 1600px;
}

.button {
    transition: 0.5s;
    background-color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 1600px;
    border: 1px solid #DBDBDB;
}

.button:hover {
    transition: 0.5s;
    color: white;
    background-color: #01B2FF;
}

.button-adaptive {
    transition: 0.5s;
    background-color: #01B2FF;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 1600px;
    border: 1px solid #DBDBDB;
    margin-top: 0px;
    color: white;
}

.button-adaptive:hover {
    transition: 0.5s;
    color: #01B2FF;
    background-color: white;
}

.second-info {
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3%;
    margin-bottom: 3%;
}

.series-info {
    width: 90vw;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    display: flex;
    flex-direction: column;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 3%;
    margin-bottom: 3%;
}

#series-info-heading-rucold {
    color: white;
    font-size: 40px;
}

#series-info-paragraph {
    color: white;
    width: 60%;
}

#second-info-heading {
    color: white;
}

#second-info-paragraph {
    color: white;
    text-align: end;
    width: 70%;
}

#second-info-rucold {
    color: white;
}

#second-series-info-rucold {
    color: white;
}

.series-button {
    transition: 0.5s;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 20px;
}

.series-button:hover {
    transition: 0.5s;
    color: #01B2FF;
    background-color: white;
}

.second-selector {
    margin-top: 3%;
    margin-bottom: 3%;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
}

.adaptive-second-selector {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 3%;
    margin-bottom: 3%;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
}

.second-selector-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.second-selector-buttons a{
    text-decoration: none;
    color: white;
}

.second-selector-separator {
    width: 100%;
    height: 5px;
    background-color: white;
    translate: 0 10px;
    opacity: 0%;
}

.second-selector-separator-main {
    height: 1px;
    background-color: white;
}

.tabs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    background-color: white;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
}

.tab-model {
    transition: 0.5s;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #DBDBDB;
    border-radius: 20px;
    border: 1px solid #DBDBDB;
    margin-top: 3%;
    margin-bottom: 3%;
}

.tab-model:hover {
    transition: 0.5s;
    scale: 1.05;
}

.tab-model img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    width: 700px;
}

.tab-model-part-b {
    width: 100%;
    margin: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tab-model-part-b-heading {
    font-family: "Unbounded", sans-serif;
    font-weight: 400;
}

.tab-model-rucold {
    font-family: "Unbounded", sans-serif;
    font-weight: bold;
    color: #01B2FF;
}

.price {
    font-family: "Unbounded", sans-serif;
    font-weight: bold;
    color: red;
}

.third-info {
    background-color: white;
}

.third-info-a-part {
    padding-top: 3%;
    padding-bottom: 3%;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    text-align: center;
}

.third-info-a-part-paragraph-1 {
    opacity: 0;
    translate: 300px;
}

.third-info-a-part-paragraph-2 {
    opacity: 0;
    translate: 300px;
}

.third-info-a-part-paragraph-3 {
    opacity: 0;
    translate: 300px;
}


.third-info-b-part {
    padding-top: 3%;
    padding-bottom: 3%;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    background-color: #d9f3ff;
    align-items: center;
}

.third-info-b-part-b-part {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#third-info-b-part-b-part-paragraph {
    text-align: end;
    width: 60%;
}

.slick-slide img {
    max-width: 100%;
}

.slick-list {
    height: 23vw !important;
}

.slick-arrow {
    display: none !important;
}  

.galery {
    background-color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.galery-button-a {
    text-align: center;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    color: white;
    margin-top: 6%;
    margin-bottom: 6%;
    width: 30%;
    border-radius: 1600px;
}

.galery-button {
    transition: 0.5s;
    background-color: #01B2FF;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 1600px;
    border: 1px solid #DBDBDB;
}

.galery-button:hover {
    transition: 0.5s;
    color: #01B2FF;
    background-color: white;
}

#galery-heading {
    padding-top: 10vh;
    padding-bottom: 5vh;
}

.application {
    background-color: white;
}

.application-main-part {
    height: 600px;
    background-color: #01B2FF;
}

.polygon {
    background-image: url(images/Polygon.png);
    height: 10vw;
    background-repeat: no-repeat;
    background-size: cover;
}

.application-main-part {
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
}

.application-main-part-a-part {
    display: flex;
    justify-content: space-between;
    padding-top: 3%;
    padding-bottom: 3%;
}

.application-main-part-a-part-button {
    text-decoration: none;
    color: #01B2FF;
    width: 30%;
    height: 60px;
    margin-top: 3%;
    margin-bottom: 3%;
    border-radius: 1600px;
}

.application-main-part-b-part-button {
    display: flex;
    width: 70%;
    text-decoration: none;
    color: #01B2FF;
    height: 60px;
    margin-top: 3%;
    margin-bottom: 3%;
    border-radius: 1600px;
}

#application-main-part-heading {
    text-align: end;
    color: white;
}

.application-main-part-b-part {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.application-main-part-c-part {
    padding: 0;
    margin: 0;
    display: none;
}

#adaptive-button-b-part {
    display: none;
}

.adaptive-main-part-b-part {
    display: none;
}

.sphere {
    transition: 0.5s;
    padding: 0;
    margin: 0;
    translate: 0 -30px;
    border-radius: 20px;
}

.sphere:hover {
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
}

.sphere-low {
    transition: 0.5s;
    padding: 0;
    margin: 0;
    margin-top: 3%;
    translate: 0 -30px;
    border-radius: 20px;
}

.sphere-low:hover {
    transition: 0.5s;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
}

.slick-slider {
    width: 100vw !important;
}

.dealers {
    height: fit-content;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
}

.dealers-container {
    width: 100%;
    display: flex;
    flex-direction: column;    
    justify-content: space-around;
    align-items: center;
}

.dealers-container-part-a {
    height: 250px;
    width: 40%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    align-items: flex-start !important;
    margin-right: auto;
    color: white;
}

.dealers-container-part-b {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: left;
    align-items: center;
    color: white;
}

.dealers-button-a {
    text-decoration: none;
    color: #01B2FF;
    margin-top: 7%;
    width: 100%;
    border-radius: 1600px;
}

.dealers-button {
    transition: 0.5s;
    background-color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 1600px;
    border: 1px solid #DBDBDB;
}

.dealers-button:hover {
    transition: 0.5s;
    color: white;
    background-color: #01B2FF;
}

#dealers-heading {
    color: white;
    text-align: left;
    padding-top: 3%;
    padding-bottom: 3%;
}

#dealers-rucold {
    color: white;
}

.contacts {
    height: fit-content;
    background-color: #d9f3ff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    padding-bottom: 100px;
}

.contacts-a-part {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 30%;
}

.contacts-b-part {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 40%;
}

.contacts-heading {
    padding: 0;
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #01B2FF;
    margin-top: 100px;
    margin-bottom: 12%;
}

#representative-contacts-heading {
    font-size: 30px;
}

footer {
    background-color: white;
    height: fit-content;
    padding-top: 2vh;
    padding-bottom: 2vh;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-a {
    text-align: center;
    text-decoration: none;
    color: #01B2FF;
    font-weight: 700;
    font-size: 24px;
}

.sphere, .sphere-low, .third-info-a-part-paragraph-1, 
.third-info-a-part-paragraph-2, .third-info-a-part-paragraph-3 {
    will-change: transform;
}

.info {
    font-size: 18px;
}

.burger {
    position: fixed;
    top: 100px;
    left: 0;
    background-color: white;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    padding: 10px 0;
}

.burger-link {
    display: block;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    transition: background-color 0.3s;
}

.burger-link:last-child {
    border-bottom: none;
}

.burger-link:hover {
    background-color: #f5f5f5;
    color: #01B2FF;
}

/* Исправления для модальных окон */
.fullscreen-tab-model,
.form-consult,
.fullscreen-photo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fullscreen-tab-model {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.form-consult {
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

.fullscreen-photo {
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100lvh;
    width: 100vw;
    overflow: hidden;
}

.fullscreen-photo img {
    margin-top: 10vh;
    margin-bottom: 5vh;
}

/* Исправления для кнопок закрытия */
.close-button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.close-button img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.close-button:hover {
    background-color: #01B2FF;
    color: white;
}

/* Исправления для форм */
.consult {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}

.form-buttons {
    width: 100%;
    margin: 8px 0;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 16px;
}

#submit-button {
    margin-top: 15vh;
    cursor: pointer;
}

.image-preview {
    height: 400px;
    border-radius: 20px;
    margin-left: 10px;
    margin-top: 20px;
    border: 1px solid #DBDBDB;
}

.image-preview-container {
    display: none;
}

.main-galery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: var(--main-padding);
    padding-right: var(--main-padding);
    padding-bottom: 50px;
}

.main-galery img {
    transition: 0.5s;
    width: 47%;
    margin-top: 50px;
    border-radius: 20px;
}

.main-galery img:hover {
    transition: 0.5s;
    scale: 1.05;
}

.fullscreen-photo {
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    position: fixed;
    width: 100%;
    height: 100lvh;
    padding: 0;
    margin: 0;
    z-index: 22;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.fullscreen-photo img {
    width: 50%;
    border-radius: 20px;
}

.fullscreen-tab-model,
.form-consult,
.fullscreen-photo {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.fullscreen-tab-model,
.form-consult,
.fullscreen-photo {
    height: 100lvh; /* fallback */
    height: -webkit-fill-available;
}

html, body {
    -webkit-overflow-scrolling: touch;
}

a, button, .close-button, .tab-model, .burger-menu-button, .series-button {
    -webkit-tap-highlight-color: transparent;
}

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

@supports not (gap: 10px) {
    .high-header,
    .low-header,
    .second-selector-buttons,
    .fullscreen-tab-model-part-main,
    .tabs,
    .contacts,
    .third-info-b-part-b-part,
    .application-main-part-a-part,
    .application-main-part-b-part {
        display: flex;
        flex-wrap: wrap;
    }
    
    .high-header > *,
    .low-header > *,
    .second-selector-buttons > *,
    .fullscreen-tab-model-part-main > *,
    .tabs > *,
    .contacts > *,
    .third-info-b-part-b-part > *,
    .application-main-part-a-part > *,
    .application-main-part-b-part > * {
        margin-right: 20px;
        margin-bottom: 20px;
    }
    
    .high-header > :last-child,
    .low-header > :last-child,
    .second-selector-buttons > :last-child,
    .fullscreen-tab-model-part-main > :last-child,
    .tabs > :last-child,
    .contacts > :last-child,
    .third-info-b-part-b-part > :last-child,
    .application-main-part-a-part > :last-child,
    .application-main-part-b-part > :last-child {
        margin-right: 0;
    }
}

.sphere,
.sphere-low,
.third-info-a-part-paragraph-1,
.third-info-a-part-paragraph-2,
.third-info-a-part-paragraph-3,
.heading-main,
.paragraph-main {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

input, textarea, button {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-info {
    background-attachment: scroll;
}


@media (max-width: 1536px){
    .sphere, .sphere-low {
        scale: 0.9;
    }
    .sphere-low {
        margin-top: 0;
    }
}

@media (max-width: 1440px) {
    .application-main-part-a-part-button {
        width: 60%;
        margin-top: 6vh;
    }
    .sphere, .sphere-low {
        scale: 0.8;
    }
}

@media (max-width: 1366px) {
    #galery-heading {
        margin-top: 10vh;
    }
    .a-logo {
        width: 17vh;
    }
    .application-main-part-b-part-main {
        overflow-y: scroll;
    }
    .slick-slide {
        scale: 1.5 !important;
    }
    .slick-list {
        scale: 1.5 !important;
    }
    .contacts {
        flex-direction: column;
        justify-content: center;
    }
    .contacts-a-part,
    .contacts-b-part {
        width: 80%;
    }
    #representative-contacts-heading {
        font-size: 40px;
    }
    .fullscreen-photo img{
        width: 65%;
    }
    .tab-model {
        flex-direction: column;
    }
    .tab-model img {
        width: 100%;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
    }
    .heading {
        width: 80% !important;
    }
    #galery-heading {
        width: 100% !important;
        margin-bottom: 10vh;
    }
    .galery-button-a {
        margin-top: 15vh;
        margin-bottom: 9vh;
    }
    #third-info-b-part-b-part-heading {
        width: fit-content !important;
    }
    .fullscreen-tab-model-part-a {
        width: 35% !important;
    }
    .fullscreen-tab-model-part-b {
        width: 35% !important;
    }
    .sphere, .sphere-low {
        scale: 0.9;
    }
}

@media (max-width: 940px) {
    .burger-menu-button {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@media (max-width: 820px) {
    .slick-slide {
        scale: 2 !important;
    }
    .slick-list {
        scale: 2 !important;
    }
    #galery-heading {
        margin-bottom: 15vh;
    }
    .galery-button-a {
        margin-top: 20vh;
    }
    header {
        height: fit-content;
    }
    .link, .low-header, .separator {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .fullscreen-tab-model {
        overflow: auto !important;
    }
    .fullscreen-tab-model-part-main {
        flex-direction: column;
        justify-content: center;
        padding-left: var(--main-padding);
        padding-right: var(--main-padding);
        height: fit-content !important;
    }
    .fullscreen-tab-model-part-a,
    .fullscreen-tab-model-part-b {
        width: 100% !important;
        padding: 0 0 0;
        height: fit-content !important;
        overflow: hidden !important;
    }
    .fullscreen-tab-model-part-b {
        margin: 10vh 0 10vh 0;
    }
    .fullscreen-tab-model-img {
        width: 99% !important;
    }
    .close-button {
        margin: 5vh 0 5vh 0;
        width: fit-content;
    }
    .galery {
        display: none;
    }
    .dealers {
        background-color: white;
        padding-top: 15vh;
    }
    #dealers-heading, .dealers-container p {
        color: #01B2FF !important;
    }
}

@media (max-width: 768px) {
    #galery-heading {
        margin-top: 15vh;
        margin-bottom: 15vh;
    }
    .galery-button-a {
        margin-top: 20vh;
    }
    .second-info {
        flex-direction: column;
        align-items: start;
        text-align: left;
    }
    #second-info-paragraph {
        text-align: left;
        width: fit-content;
    }
    #series-info-paragraph {
        width: fit-content;
    }
    .second-selector {
        display: none;
    }
    .adaptive-second-selector {
        display: flex !important;
    }
    .dealers-button-a, #dealers-heading {
        margin-top: 9vh;
        margin-bottom: 9vh;
    }
    .third-info-a-part {
        text-align: left;
    }
    #third-info-b-part-b-part-heading {
        display: none;
    }
    #third-info-b-part-b-part-paragraph {
        text-align: left;
        width: fit-content;
    }
}

@media (max-width: 430px) {
    .slick-slide {
        scale: 3 !important;
    }
    .slick-list {
        scale: 3 !important;
    }
    .burger-menu {
        width: 65px;
    }
    .button-a {
        width: 100%;
    }
    #adaptive-button-a-part {
        display: none;
    }
    #application-main-part-heading {
        text-align: left;
    }
    .galery-button-a {
        width: 80%;
    }
    .dealers-button-a {
        width: 250%;
    }
    #representative-contacts-heading {
        font-size: 32px;
    }
    .form-consult {
        width: 100% !important;
        padding: none;
        margin: none;
    }
    .consult {
        width: fit-content;
        margin: none;
    }
    .form-buttons {
        width: 100% !important;
    }
    #submit-button {
        width: 100% !important;
    }
    #kkb-button {
        margin-bottom: 5vh;
    }
    .main-galery img {
        width: 100%;
    }
    .fullscreen-photo img {
        width: 95%;
    }
    .tab-model-part-b-heading {
        width: 80%;
    }
}

@media (max-width: 390px) {
    .slick-slide {
        scale: 4 !important;
    }
    .slick-list {
        scale: 4 !important;
    }
    #galery-heading {
        margin-bottom: 20vh;
    }
    .galery-button-a {
        margin-top: 25vh;
    }
    .contacts-heading, #application-main-part-heading {
        font-size: 26px !important;
    }
}

@media (max-width: 375px) {
    .burger-menu-button {
        width: 80%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .tab-model:hover, 
    .sphere:hover, 
    .sphere-low:hover,
    .main-galery img:hover {
        transform: none !important;
        scale: 1 !important;
        background-color: none !important;
        box-shadow: none !important;
    }
    .close-button:hover {
        padding:  auto;
        padding-left: none;
        padding-right: none;
        border-radius: none;
        border: none;
    }
    li:hover ul {
        display: none !important;
    }
    .sort {
        display: none !important;
    }
    .fullscreen-tab-model-part-a,
    .fullscreen-tab-model-part-b {
        width: 30%;
    }
    .series-button:hover {
        background-color: #01B2FF !important;
        color: white !important;
    }
}