:root {
    background-color: #0C0D22;
}
body {
    padding: 0;
    margin: 0;
}
#unity-container {
    background-color: #0C0D22;
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: fixed;
    width: 100%;
    height: 100%;
}
#unity-canvas {
    background: #0C0D22;
}
.unity-desktop #unity-canvas {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    min-height: 42.86vw;
    max-height: 56.25vw;
    max-width: 233.33vh;
    border-style: outset;
    border-width: 2px;
    border-color: white;
}
.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%;
}
#iframe-container {
    background: #0C0D22;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 998;
    display: none;
}
#iframe {
    background: #0C0D22;
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translate(-50%);
    width: 70%;
    height: 70%;
    min-height: 42.86vw;
    max-height: 56.25vw;
    max-width: 233.33vh;
    z-index: 999;
    border: none;
}
#close-iframe-button {
    position: relative;
    cursor: pointer;
    top: 3%;
    left: 86%;
    width: 50px;
    height: 50px;
    background: url('xmark-solid.png') no-repeat center;
    z-index: 999;
    border: none;
}
#unity-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 16px solid #FFC75B;
    border-top: 16px solid #3D1C93;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    animation: spin 2s linear infinite;
}
#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
