html {
    scroll-behavior: smooth;
}

#section-header {
    height: 680px;
    background-position: center center;
}

#catalog-section-header {
    height: 354px;
    background-position: top -250px left;
    background-size: 100% !important;
    box-shadow: inset 0px 0px black;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 20px;
    text-align: center;
}

#catalog-offers-list {
    display: flex;
    flex-direction: column;
    min-width: 757px;
    gap: 20px;
    max-height: 872px;
    overflow: auto;
}

#catalog-offers-filters {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 20px;
}

#catalog-offers-list-filters {
    flex-direction: column;
    border: 1px solid #AEAEAE;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    gap: 20px;
    display: flex;
}

.badge {
    display: none !important;
}

.multiple-select-container {
    width: 450px;
    height: 40px;
}

#catalog-offers {
    margin-left: 165px;
    width: 1110px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
    margin-bottom: 50px;
    max-height: 629px;
    overflow: auto;
}

.catalog-offer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 350px;
}

.catalog-offer-card {
    display: flex;
    flex-direction: row;
    gap: 50px;
    border: 1px solid #AEAEAE;
    border-radius: 8px;
}

.catalog-offer * {
    color: black !important;
}

.catalog-offer:hover {
    text-decoration: none !important;
}

#mobile-nav {
    display: none;
}

#menu {
    position: absolute;
    padding-bottom: 10px;
    width: 100%;
    max-width: 1390px;
    top: 0;
    padding-top: 10px;
    display: flex;
    gap: calc(min(550px, (100% - 250px - 250px - 300px - 100px) / 1.8));
    align-items: center;
    background-color: #161111;
    padding-left: 50px;
}

#city-cards {
    height: 300px;
    padding: 0px 0px 40px 0px;
    background-color: white;
}

#about-us {
    background: url(../assets/pages/main/about-us/background.avif) no-repeat center;
    height: 440px;
    display: flex;
    flex-direction: column;
    background-size: cover;
}

#about-us-header {
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 auto;
    color: white;
}

#stats-offers {
    display: flex;
    flex-direction: column;
    background-color: white;
}

#stats {
    margin: 50px 0 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#offers {
    display: flex;
    flex-direction: column;
    padding: 0 158px 0 158px;
    background-color: white;
}

#offers-list {
    height: 325px;
    padding-top: 32px;
}

.flickity-viewport {
    min-height: 325px !important;
}

#promo {
    height: 433px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#partners {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    margin: 0 auto;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

#partners_header {
    margin-left: 156px;
}

#contacts {
    display: flex;
    width: 100%;
    background-color: #178D95;
    margin: 0 auto;
    justify-content: space-evenly;
}

.contacts-block {
    display: flex;
    flex-direction: column;
    margin: 60px 160px 60px 160px;
}

#contacts * {
    color: white;
    margin-top: 10px;
}

#header-carousel {
    height: 680px;
}

.contacts-block a {
    display: inline-block;
}

.text-with-icon {
    display: flex;
    flex-direction: row;
}

.offer {
    color: black;
}

.offer * {
    margin-top: 5px;
}

.offer-icon {
    width: 160px;
    height: 160px;
}

.stats-block {
    height: 90px;
    width: 255px;
    border: 2px solid #4DC3CB;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4DC3CB;
    transition: background-color ease-in 0.25s;
}

.stats-block:hover {
    background-color: #4DC3CB;
    color: white;
}

.stats-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 10px;
}

#about-us .main-carousel {
    margin: 50px 156px 50px 156px;
}

#header-carousel .carousel-cell {
    height: 680px;
    width: 1440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

#about-us-carousel * .carousel-cell {
    height: 250px;
    width: 100%;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 16px;
}

#about-us-carousel .flickity-prev-next-button {
    width: 32px;
    height: 32px;
}

#offers-list .flickity-prev-next-button {
    width: 32px;
    height: 32px;
}

#offers-list .carousel-cell {
    width: 230px;
    padding-right: 25px;
    height: 100%;
}

#offers-list .flickity-prev-next-button.previous {
    margin-left: -75px;
}

#offers-list .flickity-prev-next-button.next {
    margin-right: -75px;
}

#city-cards .flickity-prev-next-button {
    width: 32px;
    height: 32px;
}

#city-cards .carousel-cell {
    width: 300px;
    height: 255px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.carousel-cell-content {
    margin-left: 20%;
}

.carousel-cell-content * {
    margin-top: 10px;
}

.city-card {
    z-index: 1 !important;
    margin-top: 25px;
    width: 255px;
    height: 255px;
    transition: transform ease 0.15s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-position: center !important;
}

.city-card * {
    color: white;
    margin-top: 5px;
}

.city-card:hover {
    transform: translateY(-5%);
}

.text-button {
    background: none;
    border: none !important;
    cursor: pointer !important;
    color: white;
    text-decoration: none !important;
    display: inline-block !important;
}

button :not(.white-button) {
    border: none !important;
    background-color: transparent;
}

.text-button:hover {
    color: white !important;
}

.white-button {
    color: white;
    background: none;
    cursor: pointer;
    width: 160px;
    height: 46px;
    margin-top: 25px;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
}

.colored-button {
    color: #4DC3CB;
    background: none;
    cursor: pointer;
    width: 160px;
    height: 46px;
    margin-top: 50px;
    border: 2px solid #4DC3CB;
    border-radius: 8px;
    transition: background-color ease-in 0.25s;
}

.colored-button:hover {
    background-color: #4DC3CB;
    color: white;
}

.flickity-page-dots {
    margin-bottom: 25px;
}

.flickity-page-dots .dot {
    opacity: 1;
    background: transparent;
    border: 2px solid black;
}

.flickity-page-dots .dot.is-selected {
    background: black;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0;
    transform: rotate(45deg);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0;
    transform: rotate(-45deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

::-webkit-scrollbar {
    display: none;
}

#description {
    background-color: white;
    padding: 2.5% 10% 2.5% 10%;
}

#gallery {
    padding: 2.5% 10% 2.5% 10%;
    background-color: white;
    display: flex;
    gap: 30px;
}

#gallery-video {
    flex: 1;
}

#gallery-grid {
    display: grid;
    grid-template-columns: 255px 255px;
    grid-row: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    height: 470px;
}

.gallery-grid-photo {
    border-radius: 4px;
}

#invest-potential {
    display: flex;
    flex-direction: column;
    padding: 2.5% 10% 2.5% 10%;
    background-color: white;
}

#invest-potential-photos {
    display: flex;
    justify-content: space-between;
}

.invest-potential-photo-box {
    display: flex;
    flex-direction: column;
    max-width: 350px;
}

.invest-potential-photo {
    height: 450px;
    width: 350px;
    border-radius: 8px;
}

#recommendations {
    display: flex;
    flex-direction: column;
    padding: 2.5% 10% 2.5% 10%;
    background-color: white;
}

#recommendations-box {
    padding-top: 30px;
    height: 255px;
    background-color: white;
    padding-bottom: 50px;
}

.recom-card {
    border-radius: 8px;
    color: white;
    width: 255px;
    height: 255px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#recommendations-box .flickity-prev-next-button {
    width: 32px;
    height: 32px;
}

#recommendations-box .carousel-cell {
    width: 275px;
}

#recommendations-box .flickity-prev-next-button.previous {
    margin-left: -50px;
}

#recommendations-box .flickity-prev-next-button.next {
    margin-right: -50px;
}

.recom-card-content {
    margin: 5%;
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#description-png {
    padding-bottom: 30px;
    height: 484px;
    background: url(/assets/zanzibar/description/message.avif) no-repeat center;
}

#money {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: white;
}

#eur {
    padding: 10px 0 10px 0;
    width: 125px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 100%);
}

#usd {
    padding: 10px 0 10px 0;
    width: 125px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 100%);
}

#static-header * {
    margin-left: 20%;
}

#static-header .white-button {
    align-items: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

#section-header-text,
#section-offer-header-text {
    color: white;
}

.catalog-offers-list-host {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

.input-group {
    width: 450px;
}

.catalog-offer-card-more {
    background-color: #4DC3CB;
    border-radius: 0px 8px 8px 0px;
    margin: 0;
    width: 160px;
    height: 200px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

#offer-section-header {
    margin-top: 240px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin-bottom: 100px;
}

#offer-section-header-text {
    max-width: 350px;
}

#offer-section-header-text * {
    margin-bottom: 13px;
}