html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}

#loading-bg
{
    background-image: url(../background.jpg);
}

#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;
}
#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#unity-logo {
    text-align: center;
}
#unity-logo img {
    max-width: 80%;
}
#unity-progress-bar-empty {
    width: 80%;
    height: 24px;
    margin: 10px 20px 20px 10px;
    text-align: left;
    border: 1px solid white;
    padding: 2px;
}
#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: white;
}
.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;
}

.image {
    position: absolute;
}
  
.image img {
position: absolute;
top: 0%;
left: 0%;
max-width: 100%;
max-height: 100%;
}

.spin {
top: 300px;
position: relative;
display: inline-block;
width: 128px;
height: 128px;
border: 0px solid #34495e;
border-radius: 100%;
animation: spin 0.75s infinite linear;
}

.spin::before,
.spin::after {
left: -2px;
top: -2px;
display: none;
position: absolute;
content: '';
width: inherit;
height: inherit;
border: inherit;
border-radius: inherit;
}

@keyframes spin {
from {
    transform: rotate(360deg);
}
to {
    transform: rotate(0deg);
}
}

.spinner,
.spinner::before,
.spinner::after {
display: inline-block;
border-color: transparent;
border-top-color: red;
animation-duration: 1.2s;
}

.spinner::before {
transform: rotate(120deg);
}

.spinner::after {
transform: rotate(240deg);
}

@media (max-width:480px) {
.spin {
    width: 270px;
    height: 270px;
}
.image img {
    position: absolute;
    top: 19%;
    left: 21%;
}
}


