{
    padding: 0;
    margin: 0;
}

html {
    /* fix mobile viewport menu bar on iOS */
    height: -webkit-fill-available;
}

body {
    height: 100%;
    /* fix mobile viewport menu bar on iOS */
    height: -webkit-fill-available;
    width: 100%;
    text-align: center;
}

#unity-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

/* Default values, might be overwritten by aspect ratio media queries */
#unity-canvas {
    width: 100%;
    height: 100%;
}

@media (min-aspect-ratio: 1.777778) {
    #unity-canvas {
        width: 100%;
        height: 100%;
        aspect-ratio: 1.777778;
    }
}

@media (max-aspect-ratio: 1.777778) {
    #unity-canvas {
        width: 100%;
        height: 100%;
        aspect-ratio: 1.777778;
    }
}

#fullScreenButton {
    height: 30px;
    width: 30px;
    position: absolute;
    z-index: 1;
    bottom: 5px;
    right: 5px;
    background-color: transparent;
    background-image: url("../img/fullScreen_on.png");
    background-size: 30px 30px;
    border: none;
    cursor: pointer;
}

#unity-loading-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    opacity: 1;
    visibility: visible;
    transition: 800ms linear;
}

    #unity-loading-container.finished {
        opacity: 0;
        visibility: collapse;
    }

    #unity-loading-container .logo {
        width: 15vw;
        height: 15vw;
    }

.subtitle {
    font-size: 2vw;
    height: auto;
    color: orange
}

#unity-loading-bar {
    position: relative;
    width: 40%;
    height: 10px;
    background-image: url("../img/progressEmpty.png");
    border: 1px solid #ccc;
    border-radius: 10px;
}

#unity-loading-bar-inner {
    position: absolute;
    left: 0%;
    top: 0%;
    width: 1%;
    height: 100%;
    background-image: url("../img/progressFull.png");
    border-radius: 10px;
    transition: 400ms linear;
}
