html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    /* set font gloablly to prompt and sans-seif */
    font-family: 'Prompt', sans-serif;
    font-weight: 100;
}

.fullscreen-exit {
    cursor: pointer;
}

.fullscreen-enter {
    display: none;
    cursor: pointer;
}

.el-to-fullscreen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    top: 0;
    left: 0;
    overflow: hidden;
}

.unselectable {
    user-select: none;
    /* Prevents text selection */
    -webkit-user-select: none;
    /* For WebKit browsers (Chrome, Safari) */
    -ms-user-select: none;
    /* For old Microsoft browsers (IE, Edge) */
}

.fade-effect {
    animation: fadeDownUp 1s forwards;
}

@keyframes fadeDownUp {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.85;
    }
}

.fade-down-effect {
    animation: fadeDown 1s forwards;
}

@keyframes fadeDown {
    0% {
        opacity: 0.85;
    }
    100% {
        opacity: 0.0;
        display: none;
    }
}

.fade-down-effect-video {
    animation: fadeDownVideo 1s forwards;
}

@keyframes fadeDownVideo {
    0% {
        opacity: 0.85;
    }
    100% {
        opacity: 0.6;
    }
}

.initial-fade-effect {
    animation: initialFade 2s forwards;
}

@keyframes initialFade {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 0.8;
    }
}

.fade-up-effect {
    animation: fadeUp 2s forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0.0;
    }
    100% {
        opacity: 1;
    }
}

.scale-up-effect {
    animation: scaleUp 1s forwards ease-in-out;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-down-effect {
    animation: scaleDown 2s forwards ease-in-out;
}

@keyframes scaleDown {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.85);
        opacity: 0;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    z-index: 9999;
}

.delay-fade {
    animation: delayed-fade 4s forwards;
}

.message {
    text-align: center;
    /* transition: all 0.5s ease-in-out; */
    /* appply a gradient to the text going from #333 to #fff from the bottom */
    /* background: linear-gradient(0deg, rgba(51, 51, 51, 1) 0%, rgba(51, 51, 15, 1) 25%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-size: 4vw;
    max-width: 75%;
    opacity: 0;
    /* animation: delayed-fade 4s forwards; */
}

@keyframes delayed-fade {
    0% {
        opacity: 0;
    }
    33% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.play-button {
    text-align: center;
    /* transition: all 0.5s ease-in-out; */
    width: 150px;
    height: auto;
    opacity: 0;
    /* animation: delayed-fade 4s forwards; */
}

.end-screen {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 24px;
    color: white;
    text-align: center;
    opacity: .85;
    /* transition: opacity 0.5s ease-in-out; */
    display: none;
}

.video-wrapper {
    transition: opacity 2s ease-in-out;
    opacity: .85;
}

.video-wrapper.hidden {
    opacity: 0;
    transition: opacity 1s ease;
}


/* General container styling */

#videoContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.video-wrapper.vertical {
    /* mix-blend-mode: screen; */
    mask-image: radial-gradient(circle at 50% 600%, black 0%, black 96%, transparent 99%);
    mask-size: cover;
    mask-composite: add;
}

.video-wrapper.horizontal {
    /* mix-blend-mode: overlay; */
    mask-image: radial-gradient(circle at 600% 50%, black 0%, black 96%, transparent 99%);
    mask-size: cover;
    mask-composite: add;
}


/* Video element */

video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    /* Disables pointer events */
}


/* Blurring the edges of vertically moving videos */

.horizontal video {
    /* Mask for the left and right sides of horizontal videos */
    object-fit: cover;
    /*mix-blend-mode: normal;*/
    /* mask-image: radial-gradient(ellipse at center, transparent 5%, black 100%); */
    /* mask-image: radial-gradient(ellipse at left, transparent 0%, black 25%), radial-gradient(ellipse at right, transparent 0%, black 25%); */
    mask-image: radial-gradient(circle at -600% 50%, black 0%, black 96%, transparent 99%);
    mask-size: cover;
    mask-composite: add;
}

.vertical video {
    object-fit: cover;
    mask-image: radial-gradient(circle at 50% -600%, black 0%, black 96%, transparent 99%);
    mask-size: cover;
    mask-composite: add;
}


/* Overlay style */

#overlay.fade-out {
    opacity: 0;
}

.masked {
    object-fit: cover;
    -webkit-mask-image: radial-gradient(circle at 50% 400%, black 0%, black 96%, transparent 99%);
    mask-image: radial-gradient(circle at 50% 400%, black 0%, black 96%, transparent 99%);
}

.instruction.desktop {
    position: absolute;
    text-align: center;
    padding: 20px;
    font-size: 2vw;
    width: 80vw;
    /* animation: fade-in-out 2s ease-in-out forwards; */
    opacity: 0;
    display: block;
    display: block;
}

.instruction.mobile {
    display: none;
}


/* Fade Animation for each instruction */

@keyframes fade-in-out {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    30% {
        transform: scale(1);
        opacity: 1;
    }
    60% {
        transform: scale(1);
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: scale(0.97);
        opacity: 0;
    }
}

.links {
    position: fixed;
    right: 0px;
    bottom: 0px;
    height: 40px;
    background-color: rgba(0, 0, 0, 20%);
    color: white;
    margin-top: -40px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    padding-right: 10px;
    margin-left: 10px;
    cursor: pointer;
    z-index: 10000;
}

.links img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.links .close-links {
    display: none;
}

.links .sound-on {
    display: none;
}

a {
    color: white;
    text-decoration: underline;
    text-decoration-color: #b9e6cb;
}

a:hover {
    color: #b9e6cb;
    text-decoration: underline;
    text-decoration-color: white;
}


/*     width: calc(150vh /(16 / 9));
    height: 100vh;  */


/* Extra small devices (phones, 600px and down) */

@media only screen and (min-width: 300px) {
    /* Your CSS rules for extra small devices */
    .video-wrapper {
        position: absolute;
        width: calc(100vh / (9 / 16));
        /* 150% of the viewport width */
        height: calc(100vh);
        /* Maintaining 16:9 aspect ratio */
        overflow: hidden;
        opacity: 0.85;
        top: 0;
        left: 0;
    }
    #overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 10;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: white;
        text-align: center;
        transition: opacity 2.25s ease-in-out;
    }
    .overlay2 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        color: white;
        font-size: 36px;
        /* font-weight: bold; */
        opacity: 0;
        /* visibility: hidden; */
        display: none;
        transition: opacity 1s ease, visibility 1s ease;
    }
    /* Instruction Style */
    .message {
        text-align: center;
        /* transition: all 0.5s ease-in-out; */
        /* appply a gradient to the text going from #333 to #fff from the bottom */
        /* background: linear-gradient(0deg, rgba(51, 51, 51, 1) 0%, rgba(51, 51, 15, 1) 25%, rgba(255, 255, 255, 0) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; */
        font-size: 8vw;
        max-width: 75%;
    }
    .instruction.mobile {
        position: absolute;
        text-align: center;
        padding: 20px;
        font-size: 6vw;
        width: 80vw;
        /* animation: fade-in-out 2s ease-in-out forwards; */
        opacity: 0;
        display: block;
    }
    .instruction.desktop {
        display: none;
    }
    .fullscreen-enter {
        display: none;
    }
    .fullscreen-exit {
        display: none;
    }
    .fullscreen-control {
        display: none;
    }
    html,
    body {
        width: 100vw;
        height: 100dvh;
        overflow: hidden;
        position: fixed;
        inset: 0;
        margin: 0;
        padding: 0;
    }
    .el-to-fullscreen {
        height: 100dvh;
    }
    .links {
        cursor: default;
    }
    .mobile-separator {
        display: none;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {
    /* Your CSS rules for small devices */
    /* #overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 10;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: white;
        text-align: center;
        transition: opacity 2.25s ease-in-out;
    } */
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    /* Your CSS rules for medium devices */
    .message {
        /* transition: all 0.5s ease-in-out; */
        /* appply a gradient to the text going from #333 to #fff from the bottom */
        /* background: linear-gradient(0deg, rgba(51, 51, 51, 1) 0%, rgba(51, 51, 15, 1) 25%, rgba(255, 255, 255, 0) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; */
        font-size: 4vw;
    }
    .video-wrapper {
        /* position: absolute; */
        width: 150vw;
        /* 150% of the viewport width */
        height: calc(150vw / (16 / 9));
        /* Maintaining 16:9 aspect ratio */
        /* overflow: hidden; */
    }
}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    /* Your CSS rules for large devices */
    .instruction.desktop {
        position: absolute;
        text-align: center;
        padding: 20px;
        font-size: 2vw;
        width: 80vw;
        /* animation: fade-in-out 2s ease-in-out forwards; */
        opacity: 0;
        display: block;
    }
    .instruction.mobile {
        display: none;
    }
    .fullscreen-control {
        display: block;
    }
    .mobile-separator {
        display: block;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {
    /* Your CSS rules for extra large devices */
}


/*mix-blend-mode: normal;*/


/*mix-blend-mode: multiply;
    mix-blend-mode: screen; */


/*mix-blend-mode: overlay;*/


/* mix-blend-mode: darken;
    mix-blend-mode: lighten;
    mix-blend-mode: color-dodge;
    mix-blend-mode: color-burn;*/


/*mix-blend-mode: hard-light;
    mix-blend-mode: soft-light;
    mix-blend-mode: difference;
    mix-blend-mode: exclusion;
    mix-blend-mode: hue;
    mix-blend-mode: saturation;*/


/*mix-blend-mode: color;
    mix-blend-mode: luminosity;
    mix-blend-mode: plus-darker;
    mix-blend-mode: plus-lighter; */


/* Mask for the top and bottom of vertical videos */


/* mask-image: radial-gradient(ellipse at center, transparent 5%, black 100%); */