@font-face {
    font-family: "Myriad Pro Regular";
    font-style: normal;
    font-weight: normal;
    src: url("/static/fonts/MYRIADPRO-REGULAR.woff") format("woff");
}

@font-face {
    font-family: "Myriad Pro Light";
    font-style: normal;
    font-weight: 200;
    src: url("/static/fonts/MYRIADPRO-LIGHT.woff") format("woff");
}

@font-face {
    font-family: "Runescape";
    font-style: normal;
    font-weight: normal;
    src: url("/static/fonts/runescape_uf.woff") format("woff");
}

*, *::before, *::after {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #111;
    font-family: "Myriad Pro Regular", sans-serif;
    color: #d7d7d7;
    cursor: url("/static/cursor.png"), crosshair
}

.noselect {
    -webkit-user-select: none;
    user-select: none
}

#splashText {
    position: absolute;
}

#videoContainer {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    transition: filter 2s ease;

    &.blurred {
        filter: blur(10px) opacity(55%)
    }
}

#videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: contain
}

#logo-container {
    position: absolute;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: top .5s ease, left .5s ease, transform .5s ease;
    animation: fadeIn .5s linear;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    mix-blend-mode: difference;

    &.player-state {
        top: 16px;
        left: 16px;
        transform: none
    }
}


#logo {
    width: 200px;
    height: 200px;
    position: relative;
    flex-shrink: 0;
    transition: width .5s, height .5s;

    img {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    #over {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
}

#logo-container.player-state #logo {
    width: 60px;
    height: 60px
}

#text {
    font-family: "Myriad Pro Regular", sans-serif;
    color: #d7d7d7;
    min-width: 200px;
    position: relative;
    top: -25px;

    h1 {
        margin: 0;
        padding-top: 2px;
        font-weight: 400;
        font-size: 53px;
        transition: font-size .5s;
    }

    h2 {
        margin: 0;
        font-weight: 400;
        font-size: 25px;
        transition: font-size .5s;
    }
    transition: top .5s;
}

#logo-container.player-state #text {
    top: -8px;
    h1 {
        font-size: 20px
    }

    h2 {
        font-size: 12px
    }
}

.glass-card {
    background: rgba(0, 0, 0, .151);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: #d7d7d7;
    padding: 15px
}

#infoCardRegion {
    position: absolute;
    width: 30vw;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 9999;
    pointer-events: none
}

#infoCard {
    position: absolute;
    top: 5vh;
    left: 100%;
    width: 450px;
    pointer-events: all;

    h1 {
        margin: 0 0 8px;
        font-size: 20px;
        font-weight: 400
    }

    h2 {
        margin: 0 0 12px;
        font-size: 14px;
        font-weight: 400;
        position: absolute;
    }

    ul {
        margin: 0;
        padding-left: 20px;
        font-size: 13px
    }
}

#volumeSliderRegion {
    position: absolute;
    top: 0;
    left: 0;
    width: 10rem;
    z-index: 9999;
    pointer-events: none
}

#volumeSlider {
    position: absolute;
    top: 5vh;
    pointer-events: all;

    input[type=range] {
        writing-mode: vertical-lr;
        direction: rtl;
        -webkit-appearance: none;
        appearance: none;
        background: transparent;
        height: 10rem;
        width: .5rem;
        cursor: pointer;
    }

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]::-webkit-slider-runnable-track {
        background: #111;
        border-radius: .5rem;
        width: .5rem;
        height: 100%
    }

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        background: #d7d7d7;
        border-radius: .5rem;
        width: .5rem;
        height: 2rem
    }

    input[type=range]::-moz-range-track {
        background: #111;
        border-radius: .5rem
    }

    input[type=range]::-moz-range-thumb {
        background: #d7d7d7;
        border: none;
        border-radius: .5rem;
        width: .5rem;
        height: 2rem
    }

    input[type=range]::-moz-range-progress {
        background: #d7d7d7;
        border-radius: .5rem
    }
}

#tagcardRegion {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none
}

#tagCardContainer {
    pointer-events: all;
    position: relative;
    width: 30vw;
    min-height: 350px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between
}

.checkButton {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "Myriad Pro Regular", sans-serif;
    color: #d7d7d7;
    transition: box-shadow .3s
}

.hiddenCheckbox {
    display: none;

    &:checked + .checkButton {
        box-shadow: 0 0 20px 2px rgb(215, 215, 215) inset
    }

    &:checked + .checkButton.risky {
        box-shadow: 0 0 20px 2px rgb(221, 0, 0) inset
    }
}

#cookieNotice {
    position: fixed;
    bottom: 0;
    font-family: "Myriad Pro Light", sans-serif;
    text-transform: uppercase;
    display: none;

    h3 {
        margin: 0 0 12px;
        font-size: 14px;
        font-weight: 400
    }
}

#cookieButtons {
    display: flex;
    gap: 12px;

    button {
        padding: 10px 15px;
        border: none;
        border-radius: 15px;
        color: #d7d7d7;
        font-family: "Myriad Pro Light", sans-serif;
        text-transform: uppercase;
        cursor: pointer;
        background: rgba(0, 0, 0, .3);
        backdrop-filter: blur(10px)
    }
}

@keyframes wave-char {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

@keyframes rainbow-hue {
    from {
        filter: hue-rotate(0deg)
    }
    to {
        filter: hue-rotate(360deg)
    }
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 3px rgba(215, 215, 215, .3))
    }
    25% {
        filter: drop-shadow(0 0 7px rgba(215, 215, 215, .5))
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(215, 215, 215, .8))
    }
    75% {
        filter: drop-shadow(0 0 7px rgba(215, 215, 215, .5))
    }
    100% {
        filter: drop-shadow(0 0 3px rgba(215, 215, 215, .3))
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

#logo #under {
    animation: glow 7s infinite linear
}
