:root {
    --majestic_video_background: rgb(156 127 11 / 20%);
    /* --majestic_video_background: rgba(0, 104, 128, 0.4); */
}

.majestic_homepage_video_container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* margin: 0 0 2vmax 0; */
}

.majestic_homepage_video_inner_container {
    width: 100%;
    height: 100%;
    position: relative;
}

.majestic_homepage_video {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    pointer-events: none;
}

.majestic_homepage_video_inner_container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--majestic_video_background);
    /* background-color: rgba(135, 206, 235, 0.2); */
    z-index: 2;
}

.majestic_homepage_video_text_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    z-index: 2;
}

.majestic_homepage_video_text_subtitle {
    position: relative;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    padding: 0;
    font: 400 calc(var(--majestic_default_font_size) * var(--homepage_video_text_subtitle)) "EB Garamond", serif;
    color: #fff;
    backdrop-filter: blur(1px);
}

.majestic_homepage_video_text_title {
    position: relative;
    text-align: center;
    padding: 0;
    font: 100 calc(var(--majestic_default_font_size) * var(--homepage_video_text_title)) 'Dela Gothic One', serif;
    color: #fff;
    backdrop-filter: blur(1px);
    width: 100%;
    margin: 0 auto;
}

.majestic_homepage_slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.majestic_homepage_image {
    width: 100%;
    height: 100%;
    position: relative;
}

.majestic_homepage_image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--majestic_video_background);
    /* background-color: rgba(135, 206, 235, 0.2); */
    z-index: 1;
}

.majestic_homepage_image_item {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    z-index: 0;
}


/*----------------------OWL DOTS-----------------*/

.majestic_homepage_slider .owl-dots {
    position: absolute;
    top: 50%;
    left: 2em;
    transform: translateY(-50%);
    width: var(--visit_thess_main_text_1_2);
    display: flex;
    /* width: fit-content; */
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
}

.majestic_homepage_slider .owl-dot {
    /* float: left; */
    padding: 0;
    background: #fff;
    height: 0.6em;
    width: 0.6em;
    border-radius: 50%;
    border: 1px solid #fff;
    margin: 5px 0;
    text-indent: -999px;
    outline: 0;
    overflow: hidden;
    -moz-transition: all 200ms ease-out;
    -webkit-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    position: relative;
    bottom: 0px;
}

.majestic_homepage_slider .owl-dot.active {
    height: 1em;
    width: 1em;
    border-radius: 35%;
    background: transparent;
    -moz-transition: all 200ms ease-out;
    -webkit-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}


/*----------------------OWL DOTS-----------------*/


/*----------------------OWL ARROWS-----------------*/

.FlexiCustom2021_nav_arrow_main_slider_left {
    width: 50%;
    height: 100%;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
    cursor: url('../images/left-arrow-slider_small.png'), auto!important;
}

.FlexiCustom2021_nav_arrow_main_slider_right {
    width: 50%;
    height: 100%;
    float: right;
    position: absolute;
    top: 0;
    right: 0;
    cursor: url('../images/right-arrow-slider_small.png'), auto!important;
}


/*----------------------OWL ARROWS-----------------*/

.majestic_section_divider {
    /* padding: 2vh 0;
    margin: 0;
    position: relative;
    font: 400 calc(var( --majestic_default_font_size) * 2.5) 'Averta', sans-serif;
    text-align: center;
    color: var(--top_menu_color); */
    /* background-color: rgb(0 104 128 / 15%); */
    padding: 2vh 0;
    text-align: center;
    font: 300 calc(var(--majestic_default_font_size) * var(--section_divider)) 'Open Sans', serif;
    margin: 0 auto;
    position: relative;
    /* width: 70%; */
    color: #c69f44;
    /* text-transform: uppercase; */
}


/*------------------CARDS HOMEPAGE--------------------*/

.majestic_postcards_with_text {
    width: 100%;
    position: relative;
    height: 60%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-content: flex-start;
    align-items: stretch;
    /* background-color: #faf6ef; */
    padding: 6vw 0 6vw 0;
}

.majestic_postcards_container {
    flex: 0 1 45vw;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.majestic_postcards_item {
    flex: 0 1 49%;
    aspect-ratio: 16 / 9;
    position: relative;
    border: 1px solid #000;
    border-radius: 15px;
    transition: 0.5s all ease-in-out;
    overflow: hidden;
}

.majestic_postcards_item_img {
    width: calc(100% - 12px);
    position: relative;
    height: calc(100% - 12px);
    border: 6px solid #fff;
    border-radius: 15px;
    cursor: pointer;
}

#majestic_postcards_item_1 {
    transform: rotate( -18deg);
    top: 2vw;
    left: 3vw;
}

#majestic_postcards_item_2 {
    transform: rotate( 15deg);
    top: 1.5vw;
    left: 1vw;
}

#majestic_postcards_item_3 {
    transform: rotate( -5deg);
    top: 1vw;
    left: 1.5vw;
}

#majestic_postcards_item_4 {
    transform: rotate( 5deg);
    top: -1vw;
    left: 1vw;
}

#majestic_postcards_item_5 {
    transform: rotate( -10deg);
    top: -3vw;
    left: 3vw;
}

.majestic_postcards_item:hover {
    transform: rotate( 0deg) scale(1.5, 1.5)!important;
    transition: 0.5s all ease-in-out;
    z-index: 9;
}

.majestic_postcards_text {
    flex: 0 1 30%;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}

.majestic_postcards_subtitle {
    color: #9a9a99;
    font: 400 calc(var(--majestic_default_font_size) * var(--postcards_subtitle)) 'Effra';
    padding: 10px 0;
    margin: 0;
}

.majestic_postcards_title {
    color: #000;
    font: 300 calc(var(--majestic_default_font_size) * var(--postcards_title)) 'Averta', sans-serif;
    padding: 0 0 10px 0;
    margin: 0;
}

.majestic_postcards_subtext {
    font: 300 var(--majestic_default_font_size)/var(--majestic_default_line_height) 'Effra';
    margin: 10px 0 0 0;
    padding: 0;
    text-align: left;
    color: #666;
}

.majestic_postcards_button {
    margin: 20px 0 0 0;
    min-width: 50%;
    position: relative;
    padding: 10px 0;
    display: block;
    cursor: pointer;
    font: 400 calc(var(--majestic_default_font_size) * var(--postcards_button)) 'Averta';
    background-color: var(--top_menu_color);
    border: 1px solid var(--top_menu_color);
    color: #fff;
    transition: 0.2s all ease-in-out;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.majestic_postcards_button:hover {
    background-color: transparent;
    color: var(--top_menu_color);
    transition: 0.2s all ease-in-out;
}


/*--------------FULL SCREEN IMAGE----------------*/

.majestic_full_screen_image_text {
    width: 100%;
    height: calc(100vh - var(--top_menu_height));
    position: relative;
    margin: 2vmax 0;
}

.majestic_full_screen_image_text:nth-of-type(even) .majestic_full_screen_text_container {
    right: 0%;
    left: unset;
}

.majestic_full_screen_image_text_container {
    width: 80%;
    height: 100%;
    position: relative;
}

.majestic_full_screen_image_text_image {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
}

.majestic_full_screen_image_text:nth-of-type(odd) .majestic_full_screen_image_text_container {
    margin: 0 0 0 auto;
    display: block;
}

.majestic_full_screen_text_container {
    position: absolute;
    left: 0%;
    background-color: rgb(0 104 128 / 70%);
    width: 30%;
    max-height: 95%;
    min-height: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: center;
    padding: 2% 0;
    transition: 0.2s all ease-in-out;
}

.majestic_full_screen_text_container:hover {
    background-color: rgb(0 104 128 / 100%);
    transition: 0.2s all ease-in-out;
}

.majestic_full_screen_text_title {
    padding: 0;
    margin: 0 auto;
    width: 90%;
    font: 300 calc(var(--majestic_default_font_size) * var(--full_screen_text_title)) 'Averta', sans-serif;
    color: #fff;
}

.majestic_full_screen_text_title_container {
    width: 90%;
    padding: 0;
    margin: 0 auto;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.majestic_full_screen_text_text {
    padding: 0;
    margin: 1vmax 0 0 0;
    position: relative;
    font: 300 var(--majestic_default_font_size)/var(--majestic_default_line_height) 'Effra', serif;
    color: #d3d3d3;
}

@media screen and (max-width: 1280px) {
    .majestic_homepage_video_text_container {
        max-width: 95%;
    }
    /*---------------FULL SCREEN IMAGE----------------*/
    .majestic_full_screen_image_text {
        height: unset;
        margin: 0;
    }
    .majestic_full_screen_image_text:last-of-type {
        margin: 2vmax 0 0 0;
    }
    .majestic_full_screen_image_text_container {
        width: 100%;
    }
    .majestic_full_screen_text_container {
        left: unset!important;
        right: unset!important;
        position: relative;
        width: 100%;
        background-color: rgb(0 104 128);
        min-height: unset;
        min-height: unset;
        top: unset;
        transform: unset;
    }
    /*------------POSTCARDS-----------*/
    .majestic_postcards_with_text {
        height: unset;
        padding: 0 0 6vmax 0;
    }
    .majestic_postcards_button {
        padding: 10px 2vw;
    }
    .majestic_postcards_container {
        display: none;
    }
    .majestic_postcards_text {
        flex: 0 1 95%;
    }
}

@media screen and (orientation: portrait) and (max-width: 1250px) {
    .majestic_homepage_video_container {
        height: 40vh;
    }
    /*---------------FULL SCREEN IMAGE----------------*/
    .majestic_full_screen_image_text_container {
        height: 40vh;
    }
}

@media screen and (orientation: landscape) and (max-width: 1250px) {
    /*---------------FULL SCREEN IMAGE----------------*/
    .majestic_full_screen_image_text_container {
        height: calc(100vh - var(--top_menu_height));
    }
}