@font-face {
    font-family: 'Luminari';
    src: url('font/Luminari.ttf');
}


a {
    text-decoration: none;
    color: inherit;
}

p {
    color: white;
}

.title {
    font-size: 24px;
    text-align: center;
}

.fake-capital {
    font-size: 40px;
}

.facebook-link {
    font-size: 14px;
}

.button {
    border: solid 3px white;
    padding: 10px;
    cursor: pointer;
}

.font {
    font-family: 'Luminari';
}

#minus, #plus, #timer {
    padding: 10px;
    font-size: 42px;
}

#minus, #plus, #minusx5, #plusx5 {
    cursor: pointer;
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #040305;
    display: flex;
    height: 100vh;
    justify-content: center;
    /* align-items: center; */
}

.timer {
    top: 10%;
    color: #cecdce;
    display: grid;
    /* flex-direction: row; */
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timer > div {
    margin: auto;
    display: flex;
    justify-content: center;
}

.timer #timer {
    grid-column-start: 2;
    grid-row-start: 2;
}

.timer #minusx5 {
    grid-row-start: 3;
}

.timer #plusx5 {
    grid-row-start: 3;
}

.timer #plus, #plusx5 {
    grid-column-start: 3;
}

.timer img {
    width: 50px;
    height: 50px;
}

.app-container {
    position: relative;
    width: 750px;
    height: 100vh;
    max-height: 1334px;
}

.hidden {
    display: none !important;
}

.torch-videos-container, .staff-videos-container {
    display: flex;
    flex-direction: row-reverse;
}

.main-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-around;
}

.black-and-white {
    filter: grayscale(1);
}

.ui-container > img {
    position: absolute;
    /* left: 0px; */
    /* top: 0px; */
}

.ui-container > img.main-frame {
    width: 100%;
}

.ui-container > img.close-btn {
    top: 8%;
    right: 9%;
    width: 7%;
    cursor: pointer;
}

.ui-container > img.pause-btn, .ui-container > img.play-btn {
    bottom: 19%;
    right: 14%;
    width: 15%;
    cursor: pointer;
}

.ui-container > img.stop-btn {
    bottom: 9%;
    right: 14%;
    width: 15%;
    cursor: pointer;
}

.ui-container > img.bAndW-btn, .ui-container > img.color-btn  {
    bottom: 9%;
    left: 14%;
    width: 15%;
    cursor: pointer;
}
.ui-container > img.mute-btn, .ui-container > img.speaker-btn {
    bottom: 19%;
    left: 14%;
    width: 15%;
    cursor: pointer;
}

.ui-container > .hardcore-btn {
    background-color: #040305;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    bottom: 10%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.stop-container > img {
    position: absolute;
}

.stop-container > img.stop-cancel-btn {
    top: 42%;
    width: 10%;
    right: 20%;
    filter: drop-shadow(2px 4px 6px black);
}

.stop-container > img.stop-yes-btn {
    top: 42%;
    width: 10%;
    left: 20%;
    filter: drop-shadow(2px 4px 6px black);
}

.stop-container > img.stop-prompt {
    top: 27%;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(2px 4px 6px black);
}

.torch-videos-container > video, .staff-videos-container > video {
    width: 100%;
    object-fit: cover;
    position: absolute;
    left: 0px;
    top: 0px;
    pointer-events: none;
}

.torch-videos-container > video, .staff-videos-container > video, .ui-container > img {
    max-height: 100vh;
}

.torch-videos-container > video:nth-child(0), .staff-videos-container > video:nth-child(0) {
    position: absolute;
    left: 0px;
    top: 0px;
}

@media (orientation: landscape) {
    .torch-videos-container > video, .staff-videos-container > video, .ui-container > img {
        max-height: inherit;
    }
}

@media (min-width: 922px) {
    .title {
        font-size: 42px;
    }

    .fake-capital {
        font-size: 64px;
    }
    .facebook-link {
        font-size: 32px;
    }
}

@media (min-aspect-ratio: 1/1.5) and (max-height: 1100px) {
    .ui-container > img.pause-btn, .ui-container > img.play-btn {
        bottom: 19%;
        right: 14%;
        width: 10%;
        cursor: pointer;
    }
    
    .ui-container > img.stop-btn {
        bottom: 9%;
        right: 14%;
        width: 10%;
        cursor: pointer;
    }
    
    .ui-container > img.bAndW-btn, .ui-container > img.color-btn  {
        bottom: 9%;
        left: 14%;
        width: 10%;
        cursor: pointer;
    }
    .ui-container > img.mute-btn, .ui-container > img.speaker-btn {
        bottom: 19%;
        left: 14%;
        width: 10%;
        cursor: pointer;
    }
}
/* --- Installed-app polish --- */
html, body {
    overscroll-behavior: none;          /* no pull-to-refresh mid-session */
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;         /* no double-tap zoom on +/- buttons */
}
img { -webkit-user-drag: none; -webkit-touch-callout: none; }
