@font-face {
    font-family: 'MontserratRegular';
    src: url('./../fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: 'MontserratExtraBold';
    src: url('./../fonts/Montserrat-ExtraBold.ttf');
}

@font-face {
    font-family: 'MontserratBold';
    src: url('./../fonts/Montserrat-Bold.ttf');
}

body {
    margin: 0;
    padding: 0;
    color: white;
    background-color: black;
    cursor: none;
    font-family: 'MontserratRegular';
}

iframe {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: 100vh;
    display: none;
}

#splash {
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    font-size: 1.7rem;
    text-align: center;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    overflow: hidden;
}

#splash_feedback {
    padding-top: 25vh;
}

#splash.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

#feedback_text_container {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    font-family: 'MontserratBold';
    -webkit-animation: fadein 1.3s;
    animation: fadein 1.3s;
}

#snackbar {
    visibility: hidden;
    width: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 0px;
    left: 0px;
    font-size: 1.3rem;
    font-family: 'MontserratBold';
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

p {
    position: relative;
    max-width: 30em;
    background-color: #fff;
    padding: 1.125em 1.5em;
    font-size: 0.7em;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3),
        0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2);
}

p::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: 100%;
    left: 45%;
    border: 1.8rem solid transparent;
    border-top: none;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 0px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 0px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 0px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 0px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

#watermark {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
}

#splash_video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    object-fit: fill;
}
