html, body {
    height: 100%;
    width: 100%;
    margin: 0px;
}

object:focus {
    outline: none;
}

.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.box {
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;

    box-sizing: border-box;
    text-align: center;
}

.box2 {
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;

    box-sizing: border-box;
    text-align: center;
    border: 3px solid black;
    border-radius: 8px;
}

#imageContent {
    display: none;
    position: absolute;
    width: 100%;
    top: 10px;
}

#screenshot, #pauseLoading {
    width: 100%;
    height: 570px;
}

#unity-canvas {
    display: none;
    width: 100%;
    height: 100%;
    user-select: none;
    -moz-user-select: none; /* fix for FUP-17211 as suggested here: https://discussions.unity.com/t/odd-issue-with-focus-in-firefox/1651226/2 */
}

#unity-loading-screen {
    background-image: url(fb_images/splash_750.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    align-content: center;
    display: flex;
    flex-direction: column-reverse;
}

#unity-progress-bar {
    width: 205px;
    align-self: center;
    height: 3%;
    border: 2px solid #DF0223;
    margin-bottom: 130px;
    background-color: #DF0223;
    margin: 0px auto 8%;
}

#unity-progress-bar-full {
    display: inline-block;
    width: 0%;
    height: 100%;
    background-color: white;
    float: left;
}

#scheduleButton {
    cursor: pointer;
    height: 60px;
    margin-right: 10px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

#scheduleButton:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
}

#upcomingTournamentDescription {
    padding: 0 16px;
    color: #464646;
    font-size: 15px;
    max-height: 78px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (-webkit-min-device-pixel-ratio: 0) {
    #upcomingTournamentDescription {
        display: -webkit-box;
        -webkit-line-clamp: N;
        -webkit-box-orient: vertical;
    }
}

.active {
    color: #265e9e;
}
