/* Custom styles for Moliva */

/* Fix aspect ratio for destination images */
.destination figure {
    width: 100%;
    aspect-ratio: 400/500;
    /* Define the aspect ratio explicitly */
    margin: 0;
    overflow: hidden;
    position: relative;
}

.destination figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image fills the container */
    position: absolute;
    top: 0;
    left: 0;
}

.load_home_page svg {
    width: 600px;
    max-width: 95%;
    height: auto;
    position: absolute;
    z-index: 99;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -ms-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.load_home_page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    transition: 1s all;
    opacity: 1;
    background: transparent;
}

div.load_home_page .mask {
    /*background-color: #00BDFFFF;*/
    transition: 1s all ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
}

div.load_home_page.complete .mask {
    background-color: transparent;
}

div.load_home_page .mask span {
    display: block;
    width: 100%;
    height: 20%;
    position: absolute;
    left: 0;
    transition: 1s all ease-in-out;
    background-color: #FFF;
    /*backdrop-filter: blur(40px);*/
}

div.load_home_page .mask span:nth-child(even) {
    left: unset;
    right: 0;
}

div.load_home_page .mask span:nth-child(1) {
    top: 0;
}

div.load_home_page .mask span:nth-child(2) {
    top: 20%;
}

div.load_home_page .mask span:nth-child(3) {
    top: 40%;
}

div.load_home_page .mask span:nth-child(4) {
    top: 60%;
}

div.load_home_page .mask span:nth-child(5) {
    top: 80%;
}

.load_home_page.complete {
    visibility: hidden;
}

div.load_home_page.complete .mask span {
    width: 0;
    opacity: 0;
    transition-delay: .8s;
}

#respond input#wp-comment-cookies-consent {
    height: auto !important;
    margin: 0 10px 0 0 !important;
}

.load_home_page.complete svg {
    transition-delay: 0.8s;
    opacity: 0;
}

.load_home_page rect,
.load_home_page path {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.path-1 {
    animation-name: Signature1;
    animation-duration: 10s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: #153c88;
    stroke-width: 0.2px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.load_home_page.complete .path-1 {
    fill: #153c88;
}

@keyframes Signature1 {
    to {
        stroke: #153c88;
        stroke-dashoffset: 0;
    }
}

.path-2 {
    animation-name: Signature2;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: #153c88;
    stroke-width: 0.2px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.load_home_page.complete .path-2 {
    fill: #153c88;
}

@keyframes Signature2 {
    to {
        stroke: #153c88;
        stroke-dashoffset: 0;
    }
}

.path-3 {
    animation-name: Signature3;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: #e3bb25;
    stroke-width: 0.2px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.load_home_page.complete .path-3 {
    fill: #e3bb25;
}

@keyframes Signature3 {
    to {
        stroke: #e3bb25;
        stroke-dashoffset: 0;
    }
}

.path-4,
.path-6 {
    animation-name: Signature4;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: #de2737;
    stroke-width: 0.2px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.load_home_page.complete .path-4,
.load_home_page.complete .path-6 {
    fill: #de2737;
}

@keyframes Signature4 {
    to {
        stroke: #de2737;
        stroke-dashoffset: 0;
    }
}

.path-5 {
    animation-name: Signature5;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: #ffcc4e;
    stroke-width: 0.2px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.load_home_page.complete .path-5 {
    fill: #ffcc4e;
}

@keyframes Signature5 {
    to {
        stroke: #ffcc4e;
        stroke-dashoffset: 0;
    }
}

@media only screen and (max-width: 991px) {
    .load_home_page svg {
        width: 320px;
    }
}

@media only screen and (max-width: 767px) {
    .load_home_page svg {
        width: 240px;
    }
}