/* MAIN SECTION */

.main_section_inner {
    position: relative;
    height: 100vh;
    min-height: 583px;
}

.main_section_mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: top;
    -o-object-fit: cover;
    -o-object-position: top;
    z-index: 3;
}

.main_section_mountains_bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    -o-object-fit: cover;
    -o-object-position: top;
    z-index: -1;
}

.main_section_mountains_words {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
}

.main_section_mountains_word {
    font-family: var(--bebas);
    font-size: clamp(4.375rem, 2.75rem + 8.13vw, 12.5rem);
    color: var(--colWhite);
}

.main_section_settings {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.main_section_settings_inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 20px;
    background-color: var(--colGreyOpacity);
}

.main_section_settings_block_input {
    position: relative;
    background-color: var(--colWhite);
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 12px;
    gap: 12px;
    border-radius: 12px;
    height: 48px;
    width: 360px;
}

#main_section_settings_where_fly {
    position: relative;
}

#where_fly_variants {
    display: none;
    flex-direction: column;
    height: 308px;
    position: absolute;
    z-index: 51;
    width: 100%;
    background-color: var(--colWhite);
    border-radius: 12px;
}

#where_fly_variants.active {
    display: flex;
}

#where_fly_variants_items {
    flex: 1;
    gap: 12px;
    overflow-y: auto;
}

.where_fly_variants_item {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    cursor: pointer;
}

.where_fly_variants_item_count {
    font-size: 14px;
}

#where_fly_variants_title {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

#where_fly_inp {
    width: 100%;
    height: 100%;
}

#where_fly_inp::placeholder {
    color: var(--colRichBlack);
}

.main_section_settings_border {
    width: 2px;
    height: 42px;
    background-color: var(--colWhite);
    border-radius: 12px;
}

#main_section_settings_date_travel {
    position: relative;
}

#calendar_date_travel {
    display: none;
    position: absolute;
    z-index: 51;
}

#calendar_date_travel.active {
    display: block;
}

#main_section_settings_date_travel>img {
    cursor: pointer;
}

.main_section_settings_date_travel_title {
    width: 100%;
    cursor: pointer;
    font-size: 14px;
}

#main_section_settings_what_travel {
    width: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--colWhite);
    border-radius: 12px;
    min-height: 48px;
    padding: 0px 10px;
}

.main_section_settings_what_travel_variants {
    padding-top: 12px;
}

.main_section_settings_what_travel_variant {
    font-size: 14px;
    margin-bottom: 12px;
    cursor: pointer;
}

.main_section_settings_what_travel_toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 2px;
    align-self: flex-start;
    transition: transform 500ms;
}

.main_section_settings_what_travel_toggle.active {
    transform: rotate(180deg);
}

.main_section_settings_what_travel_hidden {
    display: none;
}

#main_section_settings_button {
    width: 224px;
    font-size: 16px;
    height: 56px;
    color: var(--colWhite);
    background-color: var(--colScarlet);
    border-radius: 16px;
}

.main_section_title_container {
    position: absolute;
    z-index: 4;
    width: 100%;
    top: 56%;
    left: 50%;
    transform: translate(-50%, 0);
}

.main_section_title {
    font-size: 64px;
    color: var(--colWhite);
    font-family: var(--bebas);
    font-weight: 500;
    text-align: center;
}

.tabs {
    position: relative;
    top: -200px;
    margin-bottom: -200px;
    z-index: 3;
}

.tabs_inner {
    display: flex;
    gap: 12px;
    height: 200px;
}

.tab {
    display: block;
    overflow: hidden;
    position: relative;
    flex: 1;
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: var(--colGreyOpacity);
}

.tab_info {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tab_text {
    text-align: center;
    font-size: 52px;
    font-family: var(--bebas);
    color: var(--colWhite);
}

.tab_count {
    position: absolute;
    bottom: 0;
    color: var(--colWhite);
    font-size: 16px;
    transform: translateY(100%);
    transition: transform 600ms, bottom 300ms;
}

.tab>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -o-object-fit: cover;
    -o-object-position: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 300ms;
}

.tab:hover .tab_count {
    transform: translateY(0%);
    bottom: 20px;
}

.tab:hover>img {
    opacity: 1;
}

.tab_first {
    display: block;
    overflow: hidden;
    position: relative;
    flex: 1;
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.tab_first>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -o-object-fit: cover;
    -o-object-position: center;
    z-index: 1;
}

.locations_empty {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
}

.locations_loader {
    margin: 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--colRichBlack);
    animation: locations_loader_anim 2s linear 0s infinite;
}

.locations_loader_line {
    height: calc(100% + 4px);
    width: 4px;
    background-color: var(--colWhite);
}

@keyframes locations_loader_anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* MAIN SECTION */