body {
    padding: 0;
    margin: 0;
    background-color: white;

    touch-action: manipulation; /* Prevents double-tap zoom */
    user-select: none; /* Disables text selection */
    -webkit-user-select: none; /* For Safari */
    -ms-user-select: none; /* For Edge */
    overflow: hidden; /* Prevents scrolling */
}

#unity-container {
    position: absolute;
    width: 100%;
    height: 100%
}

.unity-layer {
    height: 100%;
    width: 100%
}

.game-container {
    width: 100%;
    height: 100%;
    position: absolute;
}

#browser-iframe-parent {
    pointer-events: none;
}

#browser-iframe-parent > * {
  pointer-events: auto;  /* or “all” in older browsers */
}

#browser-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Removes the default border */
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    width: 372px;
    height: 279px;
    background: url('game-logo.png') no-repeat center
}

#unity-progress-bar-empty {
    width: 221px;
    height: 18px;
    margin-top: -35px;
    margin-left: 6.5px;
    background: url('progress-bar-empty.png') no-repeat center
}

#unity-progress-bar-full {
    width: 221px;
    height: 18px;
    margin-top: 10px;
    background: url('progress-bar-full.png') no-repeat center;

    transform-origin: left center;
    transform: scaleX(0);
}

#unity-footer {
    position: fixed;
    bottom: 0;
    width: 100%;

    pointer-events: none; /* Prevents the footer from blocking clicks in the game. */ 
}

#unity-logo-title-footer {
    float: left;
    width: 102px;
    height: 38px;
    background: url('unity-logo-title-footer.png') no-repeat center;
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-fullscreen-button {
    cursor: pointer;
    float: right;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;

    pointer-events: all; /* Allows the button to be clickable */
}

#diagnostics-icon {
    pointer-events: all; /* Allows the button to be clickable */
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}
