:root {
    --BAR-COLOR: linear-gradient(#FFC1DB, #FFFFFF);
    --SHADOW-BOX: 0px 5px 10px 10px rgba(34, 60, 80, 0.2);
    --HEIGHT-LOADBAR: 18px;
}

canvas:focus {
    outline: none;
}

html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
    background-image: var(--BAR-COLOR);
    background-position-x: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#unity-container {
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: var(--BAR-COLOR);
    background-position-x: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    -webkit-box-shadow: var(--SHADOW-BOX);
    -moz-box-shadow: var(--SHADOW-BOX);
    box-shadow: var(--SHADOW-BOX);
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#unity-logo {
    width: 350px;
    height: 538px;
    background: url('logo.png?v=0.0.5.0');
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(0.7);
}

#unity-progress-bar-empty {
    width: 160px;
    height: var(--HEIGHT-LOADBAR);
    margin-top: 10px;
    background: url('loader-empty.png?v=0.0.9.0');
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
}

#unity-progress-bar-full {
    width: 0%;
    height: var(--HEIGHT-LOADBAR);
    background: url('loader-full.png?v=0.0.9.0');
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--BAR-COLOR);
    z-index: 9999;
    display: none;
}

.error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--BAR-COLOR);
    z-index: 9999;
    display: none;
}

.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #124250;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 20px;
    -webkit-box-shadow: var(--SHADOW-BOX);
    -moz-box-shadow: var(--SHADOW-BOX);
    box-shadow: var(--SHADOW-BOX);
}

.error-message button {
    background-color: #ddd;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
}

.error-message button:hover {
    background-color: white;
}

.message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #D44B67;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 20px;
    -webkit-box-shadow: var(--SHADOW-BOX);
    -moz-box-shadow: var(--SHADOW-BOX);
    box-shadow: var(--SHADOW-BOX);
}

p {
    font-family: Arial;
    color: white;
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
    .overlay {
        display: block;
    }
}

@keyframes rotate-clockwise {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes rotate-error {
    0% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}

.rotate-animation {
    animation: rotate-clockwise 2s linear infinite;
}

.error-animation {
    animation: rotate-error 2s linear infinite;
    width: 80px;
    height: 80px;
}
