html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}
#unity-container {
    width: 100%;
    height: 100%;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #040113;
    pointer-events: none;
}
#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#enter-btn, #continue-btn {
    width: 200px;
    font-size: 16px;
    color: white;
    border: 1px solid white;
    height: 42px;
    text-align: center;
    line-height: 42px;
    font-family: Raleway, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(50% + 21px));

}

#continue-btn {
    transform: translate(-50%, calc(-50% - 21px));
}

#volume-tips{
    width: 100vw;
    font-size: 12px;
    color: white;
    text-align: center;
    font-family: Raleway, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: absolute;
    left: 50%;
    bottom: 10vh;
    transform: translate(-50%, 0);
}

#enter-btn:hover, #continue-btn:hover {
    background: white;
    color: black;
    font-weight: bold;
}

#unity-logo {
    text-align: center;
}
#unity-logo img {
    max-width: 80%;
    width: 50%;
    max-width: 600px;
    margin-bottom: 5vh;
}

#unity-progress-bar-empty {
    width: 80%;
    height: 16px;
    margin: 10px 20px 20px 10px;
    text-align: left;
    border: 1px solid white;
    padding: 2px;
    max-width: 500px;
    transition: all 0.5s ease;
}

.fade-out-bar-empty{
    border: 1px solid rgba(255,255,255,0) !important;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: white;
    max-width: 500px;
    transition: all 0.5s ease;
}

.fade-out{
    opacity: 0;
}

.light #unity-progress-bar-empty {
    border-color: black;
}
.light #unity-progress-bar-full {
    background: black;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}


@media screen and (max-width: 1000px) {
    #unity-logo img {
        width: 50%;
        max-width: 400px;
        margin-bottom: 3vh;
    }

    #unity-progress-bar-empty {
        height: 12px;
        max-width: 400px;
    }
}
