@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@font-face {
    font-family: New Mexika;
    src: url(/assets/fonts/behance-64a2035e3ff61.otf);
}

@font-face {
    font-family: Caravan;
    src: url(/assets/fonts/Caravan.otf);
}


* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.5s, transform 2s
}

::-webkit-scrollbar {
    width: 12px;
    border-radius: 20px;
    /* Ширина скроллбару */
}

::-webkit-scrollbar-thumb {
    background-color: #866C5D;
    /* Колір "ручки" скроллбару (повзунка) */
}

::-webkit-scrollbar-track {
    background-color: transparent;
    /* Колір фону треку (доріжки) скроллбару */
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 5;
    top: 0;
    width: 100%;
    background-color: transparent;
    transition: opacity .6s;
    opacity: 1
}

header.hidden {
    z-index: -5;
    opacity: 0
}

.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    background-color: #4B372F;
}

.scrolled>.logo {
    padding: 15px 0px;
    padding-left: 110px;
}

/* --------------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------------- */
body {
    background-color: #4B372F;
}

.burger-wrapper {
    display: none;
}

.logo {
    padding: 33px 0px;
    padding-left: 110px;
}

.block-navigation {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    padding-right: 110px;
}

.block-navigation a {
    /* margin-top: 35px; */
    color: #FFF;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.block-navigation a:hover {
    text-decoration: underline;
    color: #958D83;
}

video {
    width: 100%;
    height: clamp(800px, 120vh, 1000px);
    object-fit: cover;
}

.video-wrap {
    position: relative;
    height: max-content;
    width: 100%;
}

.container-master-classes__wrapper {
    padding: 0px calc(100% - 90%);
    margin-top: calc(100% - 90%);
}

.title {
    position: absolute;
    top: 630px;
    left: 90px;
    width: 725px;
    color: #FFF;
    font-family: New Mexika;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.container-master-classes {
    background-color: #4B372F;
}

.wrapper-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* padding: 0px 135px; */
    /* margin-top: 160px; */
}

.wrapper-title__title h1 {
    color: #E6D9C9;
    font-family: New Mexika;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.animate-on-scroll>p {
    color: #E6D9C9;
    font-family: New Mexika;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.blocksForTitle {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.blockForTitle {
    position: relative;
    flex: 0 1 50%;
}

.blocksForTitle__el1 {
    color: #FFF;
    font-family: New Mexika;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.blocksForTitle__el2 {
    color: #FFF;
    font-family: New Mexika;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.blocksForTitle__el3 {
    color: #FFF;
    font-family: New Mexika;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.blocksForTitle__el4 {
    color: #FFF;
    font-family: New Mexika;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.circle_text {
    position: absolute;
    top: 45%;
    left: 19%;
    color: #FFF;
    font-family: New Mexika;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@keyframes rollInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(360deg);
    }
}

.animated {
    opacity: 0;
    transition: opacity 0.5s;
}

.visible {
    animation: rollInFromLeft 2s forwards;
}


.wrapper-title__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    width: 605px;
    height: 607px;
    /* margin-top: 60px; */
}

.image-title {
    width: 290px;
    height: 400px;
}

.image-title img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.image-correct {
    width: 605px;
    height: 240px;
}

.image-correct img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.AnimRight {
    opacity: 0;
    transform: translateX(10%);
    transition: opacity 1s, transform 2s;
}

.AnimRight.active {
    opacity: 1;
    transform: translateX(0);
}

.AnimLeft {
    opacity: 0;
    transform: translateX(-10%);
    transition: opacity 1s, transform 2s;
}

.AnimLeft.active {
    opacity: 1;
    transform: translateX(0);
}

.container-callToAction {
    background: url(https://res.cloudinary.com/ddprhyp1z/image/upload/v1701791467/cflmkr2gjfgwr01zbldl.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    height: clamp(700px, 145vh, 1000px);
    margin-top: 170px;
    display: flex;
    align-items: center;
}

.title-wrap {
    margin-left: 90px;
}

.title-wrap h1 {
    color: #D9D9D9;
    font-family: New Mexika;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    width: 650px;
}

.title-wrap a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 12px 32px;
    width: 212px;
    border-radius: 50px;
    background: #866C5D;

    color: var(--Light-gray, #F5F5F5);
    white-space: nowrap;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-left: 360px;
    margin-top: 13px;
    transform: scale(1);
    transition: background 0.5s, transform 0.5s;
}

.title-wrap a:hover {
    background: linear-gradient(90deg, #866C5D -5.9%, #4B372F 99.99%, #55330F 100%);
    transform: scale(1.1);
}

.title-wrap a:active {
    background: #4B372F;
}

.container-mail {
    background-color: #958D83;
    /* padding: 160px 120px; */
    /* padding-top: calc(100% - 85%); */
}

.container-mail__wrapper {
    padding: calc(100% - 90%) calc(100% - 85%);
}

.mail-wrap {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mail-wrap__image {
    width: 580px;
    height: 730px;
}

.mail-wrap__image img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
}

.mail-wrap__text {
    position: absolute;
    left: calc(100% - 50%);
    width: 624px;
    color: rgba(255, 255, 255, 0.80);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.198px;
    z-index: 2;
}

.signature {
    margin-top: 40px;
    text-align: end;
    color: rgba(255, 255, 255, 0.80);
    font-family: Caravan;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.704px;
}

.container-gallery {
    background-color: #958D83;
}

.container-gallery__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    padding: calc(100% - 90%) calc(100% - 90%);
}

.gallery-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: max-content;
}

.gallery-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #FFF;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    padding: 0px calc(100% - 90%);
}

.gallery-button-wrapper-mobile {
    display: none;
    flex-direction: row;
    gap: 10px;
}

.gallery-wrapper {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 1210px;
    overflow: hidden;
}

.galleryElement1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    background: #FFF;
    width: max-content;
    padding: 25px;
}

.galleryElement1__img {
    width: 340px;
    height: 340px;
}

.galleryElement1__img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.galleryElement1__data {
    color: #000;
    font-family: New Mexika;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.galleryElement1__text {
    color: #000;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    width: 340px;
    height: 125px;
}

.gallery-button-left {
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.1s ease;
}

.gallery-button-right {
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.1s ease;
}

.gallery-button-mobile-right {
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.1s ease;
}

.gallery-button-mobile-left {
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.1s ease;
}

.gallery-button-left:active {
    transform: scale(1.2);
}

.gallery-button-right:active {
    transform: scale(1.2);
}

.gallery-button-mobile-right:active {
    transform: scale(1.2);
}

.gallery-button-mobile-left:active {
    transform: scale(1.2);
}


.container-map {
    background-color: #4B372F;
}

.container-map__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 160px 0px;
    padding: 0px 160px;
    padding: 0px calc(100% - 90%);
    margin: calc(100% - 88%) 0px;
}

.container-map-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.container-map-title-wrap__title {
    color: #D9D9D9;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.container-map-title-wrap__subtitle {
    color: #E6D9C9;
    font-family: New Mexika;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 496px;
}

#wrapper-9cd199b9cc5410cd3b1ad21cab2e54d3 a {
    border-radius: 20px;
    display: none;
}

#map-9cd199b9cc5410cd3b1ad21cab2e54d3 iframe {
    width: 561px !important;
    height: 561px;
    border-radius: 20px;
}

.container-routes {
    display: flex;
    flex-direction: column;
    background-color: #958D83;

}

.container-routes__title {
    text-align: end;
    color: #D9D9D9;
    font-family: New Mexika;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 160px;
    padding: 0px calc(100% - 94%);
}

.container-routes-versions {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-top: 25px;
    overflow: hidden;
    /* margin-bottom: 160px; */
    margin-bottom: calc(100% - 90%);
    padding: 0px calc(100% - 95%);
    overflow-x: auto;
    /* Enable horizontal scrolling */
    /* cursor: grab; */
    /* Set cursor to grabbing for better user experience */
    scrollbar-width: none;
    /* Для Firefox */
    -ms-overflow-style: none;
    /* Для IE/Edge */
}

.container-routes-versions.grabbing {
    cursor: grabbing;
}

.container-routes-versions::-webkit-scrollbar {
    display: none;
    /* Для Webkit (Chrome, Safari, Opera) */
}

.version1-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #FFF;
    padding: 35px 35px 0px 35px;
}

.version1-wrap__img {
    width: 335px;
    height: 357px;
    margin-bottom: 30px;
}

.version1-wrap__img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.version1-wrap__title {
    color: #000;
    font-family: New Mexika;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.352px;
    margin-bottom: 1px;
}

.version1-wrap__subtitle {
    color: rgba(0, 0, 0, 0.50);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.198px;
    margin-bottom: 35px;
}

.version1-wrap a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    color: var(--Light-gray, #F5F5F5);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 50px;
    background: #866C5D;
    margin-bottom: 35px;
}

.version1-wrap__button {
    display: flex;
    justify-content: end;
}

.version1-wrap__button a {
    transition: background 0.5s;
}

.version1-wrap__button a:hover {
    background: linear-gradient(90deg, #866C5D 0%, #4B372F 100%);
}

.version1-wrap__button a:active {
    background: #4B372F;
}

.version2-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #FFF;
    padding: 35px 35px 0px 35px;
}

.version2-wrap__img {
    width: 335px;
    height: 357px;
    margin-bottom: 30px;
}

.version2-wrap__img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.version2-wrap__title {
    color: #000;
    font-family: New Mexika;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.352px;
    margin-bottom: 1px;
}

.version2-wrap__subtitle {
    color: rgba(0, 0, 0, 0.50);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.198px;
    margin-bottom: 35px;
}

.version2-wrap a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    color: var(--Light-gray, #F5F5F5);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 50px;
    background: #866C5D;
    margin-bottom: 35px;
}

.version2-wrap__button {
    display: flex;
    justify-content: end;
}

.version2-wrap__button a {
    transition: background 0.5s;
}

.version2-wrap__button a:hover {
    background: linear-gradient(90deg, #866C5D 0%, #4B372F 100%);
}

.version2-wrap__button a:active {
    background: #4B372F;
}

.version3-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #FFF;
    padding: 35px 35px 0px 35px;
}

.version3-wrap__img {
    width: 335px;
    height: 357px;
    margin-bottom: 30px;
}

.version3-wrap__img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.version3-wrap__title {
    color: #000;
    font-family: New Mexika;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.352px;
    margin-bottom: 1px;
}

.version3-wrap__subtitle {
    color: rgba(0, 0, 0, 0.50);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.198px;
    margin-bottom: 35px;
}

.version3-wrap a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    color: var(--Light-gray, #F5F5F5);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 50px;
    background: #866C5D;
    margin-bottom: 35px;
}

.version3-wrap__button {
    display: flex;
    justify-content: end;
}

.version3-wrap__button a {
    transition: background 0.5s;
}

.version3-wrap__button a:hover {
    background: linear-gradient(90deg, #866C5D 0%, #4B372F 100%);
}

.version3-wrap__button a:active {
    background: #4B372F;
}

.version4-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #FFF;
    padding: 35px 35px 0px 35px;
}

.version4-wrap__img {
    width: 335px;
    height: 357px;
    margin-bottom: 30px;
}

.version4-wrap__img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.version4-wrap__title {
    color: #000;
    font-family: New Mexika;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.352px;
    margin-bottom: 1px;
}

.version4-wrap__subtitle {
    color: rgba(0, 0, 0, 0.50);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.198px;
    margin-bottom: 35px;
}

.version4-wrap a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    color: var(--Light-gray, #F5F5F5);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 50px;
    background: #866C5D;
    margin-bottom: 35px;
}

.version4-wrap__button {
    display: flex;
    justify-content: end;
}

.version4-wrap__button a {
    transition: background 0.5s;
}

.version4-wrap__button a:hover {
    background: linear-gradient(90deg, #866C5D 0%, #4B372F 100%);
}

.version4-wrap__button a:active {
    background: #4B372F;
}

.container-footer {
    display: flex;
    flex-direction: row;
}

.logo-footer {
    margin: 48px 0px 48px 175px;
}

.navigation-footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: start;
    padding: 0px;
    margin: 70px 0px 0px 170px;
}

.mobile-footer {
    display: flex;
}

.navigation-footer-wrap__element {
    color: #FFF;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0px;
}

.navigation-footer-wrap__element:hover {
    text-decoration: underline;
    color: #958D83;
}

.contacts {
    display: flex;
    flex-direction: column;
    margin: 70px 0px 0px 170px;
}

.contacts>*:first-child {
    margin: 0px;
}

.contacts a {
    display: flex;
    gap: 22px;
    color: #FFF;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 22px;
}

.contacts a:hover {
    text-decoration: underline;
    color: #958D83;
}

.white-line {
    width: 100%;
    background: #FFF;
    height: 0.4px;
    margin-top: 100px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0px 170px;
    padding-bottom: 20px;
}

.footer-bottom__rights {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-bottom__sova {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom__designer {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.toggle-button {
    background-color: transparent;
}

.galleryElement1__text {
    overflow: hidden;
    /* Початково приховуємо зайвий вміст */
}

.galleryElement1__text.expanded {
    overflow: scroll;
    /* Показуємо весь вміст, якщо клас 'expanded' додається до блоку */
}

.galleryElement1__text.expanded::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 1800px) {
    .gallery-title {
        padding-left: 90px;
    }
}

@media screen and (max-width: 1700px) {
    .gallery-title {
        padding-left: 60px;
    }
}

@media screen and (max-width: 1500px) {
    .gallery-title {
        padding-left: 40px;
    }
}

@media screen and (max-width: 1441px) {
    .container-master-classes__wrapper {
        padding: 0px calc(100% - 95%);
    }

    .container-mail__wrapper {
        padding: calc(100% - 90%) calc(100% - 90%);
    }

    .mail-wrap__text {
        left: calc(100% - 55%);
    }

    .gallery-title {
        padding-left: 0px;
    }
}

@media screen and (max-width: 1360px) {
    .galleryElement1__img {
        width: 300px;
        height: 300px;
    }

    .galleryElement1__text {
        width: 300px;
        height: 150px;
    }

    .gallery-wrapper {
        width: 1090px;
    }
}

@media screen and (max-width: 1300px) {
    .container-map__wrapper {
        padding: 0px calc(100% - 95%);
    }

    .container-callToAction {
        height: clamp(500px, 145vh, 800px);
    }
}

@media screen and (max-width: 1240px) {
    .wrapper-title__title h1 {
        font-size: 25px;
    }

    .animate-on-scroll>p {
        font-size: 20px;
    }

    .circle_text {
        font-size: 16px;
    }

    .galleryElement1__img {
        width: 250px;
        height: 250px;
    }

    .galleryElement1__text {
        width: 250px;
        height: 150px;
    }

    .gallery-wrapper {
        width: 940px;
    }

    .gallery-title {
        padding-left: 30px;
    }
}

@media screen and (max-width: 1170px) {
    .image-title {
        width: 270px;
        height: 360px;
    }

    .image-correct {
        width: 565px;
    }

    .wrapper-title__photos {
        width: 565px;
    }

    .container-mail__wrapper {
        padding: calc(100% - 90%) calc(100% - 95%);
    }

    .mail-wrap__text {
        left: calc(100% - 60%);
    }

    .gallery-title {
        font-size: 20px;
    }

    .container-map-title-wrap__title {
        font-size: 16px;
    }

    .container-map-title-wrap__subtitle {
        font-size: 28px;
    }

    #map-9cd199b9cc5410cd3b1ad21cab2e54d3 iframe {
        width: 461px !important;
        height: 461px;
        border-radius: 20px;
    }
}

@media screen and (max-width: 1025px) {
    .blocksForTitle {
        margin-top: 20px;
    }

    .image-title {
        width: 230px;
        height: 340px;
    }

    .image-correct {
        width: 485px;
        height: 220px;
    }

    .wrapper-title__photos {
        width: 485px;
    }

    .container-master-classes__wrapper {
        padding: 0px calc(100% - 97%);
    }

    .mail-wrap__text {
        left: calc(100% - 70%);
    }

    .gallery-wrapper {
        width: 620px;
    }

    .gallery-title {
        padding-left: 110px;
    }

    .container-map-title-wrap__subtitle {
        font-size: 26px;
        width: 400px;
    }
}

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

    .AnimRight {
        transform: translateX(5%);
    }

    .blockForTitle {
        flex: 0 1 45%;
    }

    .wrapper-title__title h1 {
        font-size: 25px;
    }

    .animate-on-scroll>p {
        font-size: 16px;
    }

    .mail-wrap__text {
        width: 530px;
    }

    .signature {
        font-size: 55px;
    }

    .scrolled>.logo {
        padding: 20px 0px 20px 30px;
    }

    .block-navigation {
        display: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 5s, max-height 5s ease;
    }

    .burger-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .burger-wrapper.menu-opened>.logo {
        display: flex;
    }

    .burger-wrapper.menu-opened {
        width: 100%;
        align-items: center;
    }

    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 0px 40px 0px 0px;
        order: 2;
        cursor: pointer;
    }

    .burger .bar {
        background-color: #fff;
        /* Змінено на білий колір */
        transition: transform 0.3s ease, opacity 0.3s ease;
        /* Додано транзиції */
    }

    .burger.clicked .bar:nth-child(1) {
        transform: translateY(5px) rotate(-45deg);
    }

    .burger.clicked .bar:nth-child(2) {
        opacity: 0;
        /* Закривається з анімацією */
    }

    .burger.clicked .bar:nth-child(3) {
        transform: translateY(-10px) rotate(45deg);
    }

    .burger-wrapper>.logo {
        display: none;
    }

    .bar {
        width: 30px;
        height: 2px;
        background: white;
    }

    .block-navigation.menu-opened {
        display: flex;
        flex-direction: column;
        order: 3;
        margin: 0px;
        padding: 0px 0px 20px 0px;
        gap: 20px;
        opacity: 1;
        max-height: 500px;
    }

    .block-navigation.menu-opened>a {
        font-size: 16px;
    }

    header.menu-opened {
        flex-direction: column;
    }

    header.menu-opened>.logo {
        display: none;
    }
}

@media screen and (max-width: 920px) {
    .image-title {
        width: 200px;
        height: 280px;
    }

    .image-correct {
        /* position: absolute;
        top: 230px; */
        width: 425px;
        height: 210px;
    }

    .wrapper-title__photos {
        width: 425px;
    }

    .container-map-title-wrap__subtitle {
        font-size: 18px;
        width: 320px;
    }

    .container-map__wrapper {
        gap: 30px;
    }

    .contacts {
        margin-left: 50px !important;
    }

    .navigation-footer-wrap {
        margin-left: 50px !important;
    }

    .title {
        width: 541px;
    }

    .mail-wrap__text {
        width: 500px;
        font-size: 16px;
        left: calc(100% - 75%);
    }

    .signature {
        font-size: 50px;
    }
}

@media screen and (max-width: 431px) {
    .AnimRight {
        transform: translateX(5%);
    }

    .AnimLeft {
        transform: translateX(-5%);
    }

    .video-wrap video {
        height: clamp(400px, 120vh, 700px);
    }

    .title {
        font-size: 32px;
        width: 280px;
        left: 30px;
        top: 470px;
    }

    .wrapper-title__title h1 {
        font-size: 24px;
    }

    .wrapper-title {
        flex-direction: column;
        padding: 0px 10px;
    }

    .image-title {
        width: 180px;
        height: 220px;
    }

    .image-correct {
        width: 380px;
        height: 130px;
    }

    .wrapper-title__photos {
        width: 385px;
        height: 380px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .animate-on-scroll>p {
        font-size: 16px;
    }

    .circle_text {
        font-size: 14px;
        width: 140px;
    }

    .title-wrap {
        margin-left: 25px;
    }

    .title-wrap h1 {
        font-size: 32px;
        width: 350px;
    }

    .title-wrap a {
        margin-left: 190px;
        width: 180px;
        font-size: 14px;
    }

    .container-callToAction {
        margin-top: 100px;
        height: clamp(400px, 145vh, 700px);
    }

    .container-mail__wrapper {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        overflow-x: hidden;
    }

    .mail-wrap__image {
        height: 470px;
        margin-left: 60px;
        margin-bottom: 330px;
    }

    .mail-wrap__text {
        font-size: 14px;
        width: 330px;
        left: calc(100% - 93%);
    }

    .signature {
        font-size: 42px;
    }

    .gallery-title {
        font-size: 16px;
        padding: 0px calc(100% - 90%);
    }

    .container-gallery__wrapper {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
    }

    .gallery-button-wrapper-mobile {
        display: flex;
    }

    .toggle-button {
        display: block;
    }

    .gallery-button-left {
        display: none;
    }

    .gallery-button-right {
        display: none;
    }

    .galleryElement1 {
        padding: 15px;
    }

    .galleryElement1__img {
        width: 180px;
        height: 155px;
    }

    .galleryElement1__text {
        width: 180px;
        height: 70px;
    }

    .gallery-wrapper {
        width: 360px;
    }

    .container-map__wrapper {
        flex-direction: column;
    }

    .container-map-title-wrap__title {
        display: none;
    }

    .container-map-title-wrap__subtitle {
        width: 340px;
        font-size: 16px;
        margin-bottom: 20px;
    }

    #map-9cd199b9cc5410cd3b1ad21cab2e54d3 iframe {
        width: 350px !important;
        height: 230px;
        border-radius: 20px;
    }

    .container-routes-versions {
        margin-top: 15px;
        margin-bottom: 100px;
    }

    .container-routes__title {
        text-align: start;
        font-size: 16px;
        margin-top: 100px;
    }

    .version1-wrap {
        height: max-content;
        padding: 15px;
    }

    .version1-wrap__img {
        width: 205px;
        height: 200px;
        margin-bottom: 10px;
    }

    .version1-wrap__title {
        font-size: 16px;
    }

    .version1-wrap__subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .version1-wrap__button a {
        justify-content: center;
        height: 25px;
        width: 160px;
        font-size: 10px;
        margin-bottom: 10px;
        gap: 8px;
        padding: 4.5px;
    }

    .version1-wrap__button a img {
        content: url(/assets/image/mobile-row-routes.svg);
    }

    .version2-wrap {
        height: max-content;
        padding: 15px;
    }

    .version2-wrap__img {
        width: 205px;
        height: 200px;
        margin-bottom: 10px;
    }

    .version2-wrap__title {
        font-size: 16px;
    }

    .version2-wrap__subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .version2-wrap__button a {
        justify-content: center;
        height: 25px;
        width: 160px;
        font-size: 10px;
        margin-bottom: 10px;
        gap: 8px;
        padding: 4.5px;
    }

    .version2-wrap__button a img {
        content: url(/assets/image/mobile-row-routes.svg);
    }

    .version3-wrap {
        height: max-content;
        padding: 15px;
    }

    .version3-wrap__img {
        width: 205px;
        height: 200px;
        margin-bottom: 10px;
    }

    .version3-wrap__title {
        font-size: 16px;
    }

    .version3-wrap__subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .version3-wrap__button a {
        justify-content: center;
        height: 25px;
        width: 160px;
        font-size: 10px;
        margin-bottom: 10px;
        gap: 8px;
        padding: 4.5px;
    }

    .version3-wrap__button a img {
        content: url(/assets/image/mobile-row-routes.svg);
    }

    .version4-wrap {
        height: max-content;
        padding: 15px;
    }

    .version4-wrap__img {
        width: 205px;
        height: 200px;
        margin-bottom: 10px;
    }

    .version4-wrap__title {
        font-size: 16px;
    }

    .version4-wrap__subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .version4-wrap__button a {
        justify-content: center;
        height: 25px;
        width: 160px;
        font-size: 10px;
        margin-bottom: 10px;
        gap: 8px;
        padding: 4.5px;
    }

    .version4-wrap__button a img {
        content: url(/assets/image/mobile-row-routes.svg);
    }
}

@media screen and (max-width: 400px) {
    .AnimRight {
        transform: translateY(20%);
    }

    .AnimLeft {
        transform: translateY(-20%);
    }

    .wrapper-title__photos {
        gap: 10px;
        width: 370px;
    }

    .wrapper-title {
        padding: 0px;
        align-items: center;
    }

    .image-correct {
        width: 370px;
    }

    .title-wrap {
        margin-left: 20px;
    }

    .title-wrap a {
        margin-left: 170px;
    }

    .container-callToAction {
        height: clamp(300px, 145vh, 600px);
        margin-top: 70px;
    }
}

@media screen and (max-width: 380px) {
    .container-master-classes__wrapper {
        padding: 0px;
    }

    .blocksForTitle {
        justify-content: center;
    }

    .blockForTitle {
        flex: 0 1 45%;
    }

    .image-title {
        width: 150px;
        height: 175px;
    }

    .image-correct {
        width: 310px;
    }

    .wrapper-title__photos {
        width: 310px;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .wrapper-title__title>.animate-on-scroll>h1 {
        font-size: 21px;
    }

    .wrapper-title__title>.animate-on-scroll>p {
        font-size: 14px;
    }

    .wrapper-title__title>.animate-on-scroll {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .title-wrap h1 {
        font-size: 28px;
    }

    .title-wrap a {
        margin-left: 140px;
        font-size: 12px;
        height: 36px;
        padding: 12px 28px;
        justify-content: center;
    }
}

@media screen and (max-width: 360px) {
    .title-wrap h1 {
        width: 300px;
    }

    .gallery-wrapper {
        width: 340px;
    }

    .mail-wrap__text {
        width: 320px;
        font-size: 12px;
    }

    .signature {
        font-size: 38px;
    }

    .mail-wrap__image {
        margin-bottom: 200px;
    }
}

@media screen and (max-width: 340px) {
    .title-wrap h1 {
        width: 290px;
        font-size: 24px;
    }

    .title-wrap a {
        margin-left: 110px;
        font-size: 12px;
        height: 36px;
        padding: 12px 10px;
    }

    .mail-wrap__text {
        width: 285px;
    }

    .signature {
        font-size: 32px;
    }

    .container-map-title-wrap__subtitle {
        width: 250px;
    }

    .gallery-wrapper {
        width: 300px;
    }
}

@media screen and (max-width: 321px) {
    .video-wrap video {
        height: clamp(300px, 120vh, 600px);
    }

    .title {
        font-size: 26px;
        width: 250px;
    }

    .wrapper-title__title>.animate-on-scroll>h1 {
        font-size: 20px;
    }

    .image-title {
        width: 130px;
        /* height: 155px; */
    }

    .image-correct {
        position: absolute;
        top: 285px;
        width: 270px;
        /* height: 90px; */
    }

    .wrapper-title__photos {
        width: 270px;
        height: 360px;
    }

    .blocksForTitle {
        margin-top: 0px;
    }

    .mail-wrap__image {
        height: 380px;
    }


    #map-9cd199b9cc5410cd3b1ad21cab2e54d3 iframe {
        width: 250px !important;
        height: 155px;
        border-radius: 20px;
    }

    .version1-wrap__img {
        width: 175px;
        height: 130px;
    }

    .version2-wrap__img {
        width: 175px;
        height: 130px;
    }

    .version3-wrap__img {
        width: 175px;
        height: 130px;
    }

    .version4-wrap__img {
        width: 175px;
        height: 130px;
    }

    .circle_text {
        font-size: 12px;
        width: 105px;
    }
}

/* -------HEADER--------- */
@media screen and (max-width: 1025px) {
    .logo {
        padding-left: 60px;
    }

    .block-navigation {
        padding-right: 60px;
    }

    .scrolled>.logo {
        padding-left: 60px;
    }
}

@media screen and (max-width: 431px) {
    .logo {
        padding: 20px 0px 20px 30px;
    }

    .logo img {
        content: url(/assets/image/mobile-logo.svg);
    }

    .scrolled>.logo {
        padding: 20px 0px 20px 30px;
    }

    .block-navigation {
        display: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 5s, max-height 5s ease;
    }

    .burger-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .burger-wrapper.menu-opened>.logo {
        display: flex;
    }

    .burger-wrapper.menu-opened {
        width: 100%;
        align-items: center;
    }

    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 0px 40px 0px 0px;
        order: 2;
        cursor: pointer;
    }

    .burger .bar {
        background-color: #fff;
        /* Змінено на білий колір */
        transition: transform 0.3s ease, opacity 0.3s ease;
        /* Додано транзиції */
    }

    .burger.clicked .bar:nth-child(1) {
        transform: translateY(5px) rotate(-45deg);
    }

    .burger.clicked .bar:nth-child(2) {
        opacity: 0;
        /* Закривається з анімацією */
    }

    .burger.clicked .bar:nth-child(3) {
        transform: translateY(-10px) rotate(45deg);
    }

    .burger-wrapper>.logo {
        display: none;
    }

    .bar {
        width: 30px;
        height: 2px;
        background: white;
    }

    .block-navigation.menu-opened {
        display: flex;
        flex-direction: column;
        order: 3;
        margin: 0px;
        padding: 0px 0px 20px 0px;
        gap: 20px;
        opacity: 1;
        max-height: 500px;
    }

    .block-navigation.menu-opened>a {
        font-size: 16px;
    }

    header.menu-opened {
        flex-direction: column;
    }

    header.menu-opened>.logo {
        display: none;
    }
}

/* -------HEADER--------- */


/* -------FOOTER--------- */
@media screen and (max-width: 1360px) {
    .logo-footer {
        margin-left: 60px;
    }
}

@media screen and (max-width: 1170px) {
    .logo-footer {
        margin-left: 60px;
    }

    .navigation-footer-wrap {
        margin-left: 70px;
    }

    .navigation-footer-wrap a {
        font-size: 18px;
    }

    .contacts {
        margin-left: 70px;
    }

    .contacts a {
        font-size: 18px;
    }
}

@media screen and (max-width: 1025px) {
    .footer-bottom {
        padding: 0px 60px 20px;
    }
}

@media screen and (max-width: 431px) {
    .container-footer {
        flex-direction: column;
    }

    .logo-footer {
        display: flex;
        align-items: center;
        margin: 45px 0px 0px 40px;
    }

    .logo-footer img {
        content: url(/assets/image/mobile-logo-footer.svg);
    }

    .navigation-footer-wrap {
        margin: 50px 0px 0px 60px;
    }

    .navigation-footer-wrap a {
        font-size: 14px;
    }

    .contacts {
        margin: 55px 0px 0px 40px;
        font-size: 20px;
    }

    .white-line {
        margin-top: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 44px 30px;
        align-items: start;
        gap: 20px;
        margin-top: 0px;
    }

    .footer-bottom__rights {
        text-align: start;
        font-size: 12px;
    }

    .footer-bottom__sova {
        gap: 10px;
        font-size: 12px;
    }

    .footer-bottom__sova img {
        content: url(/assets/image/sovaLogoMobile.svg);
    }
}

@media screen and (max-width: 400px) {
    .contacts a {
        font-size: 16px;
        width: 320px;
    }
}


@media screen and (max-width: 360px) {
    .contacts a {
        width: 280px;
    }
}

@media screen and (max-width: 321px) {
    .logo-footer {
        margin: 25px 0px 0px 20px;
    }

    .navigation-footer-wrap {
        margin: 50px 0px 0px 30px;
    }

    .contacts a {
        width: 250px;
        margin-top: 10px;
        font-size: 14px;
    }

    .white-line {
        margin-top: 50px;
    }

    .footer-bottom {
        padding: 10px 30px;
        margin-top: 20px;
    }
}

/* -------FOOTER--------- */