html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
    -webkit-text-size-adjust: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}

.loading-screen {
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	background-size: cover;
	background-position: center center;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 24px;
	overflow-y: auto;
}
.loading-screen__content {
	text-align: center;
}
.loading-screen__logo {
	width: 100%;
	max-width: 255px;
	max-height: 72px;
	margin-bottom: clamp(23px, 6vh, 30px);
	margin-left: auto;
	margin-right: auto;
}
.loading-screen__title {
	margin-top: 10px;
	margin-bottom: -6px;
	font-family: Noto Sans, Arial, Helvetica, sans-serif;
	font-size: min(10vw, 25px);
	color: #004D9E;
}
.loading-screen__description {
	font-family: Noto Sans, Arial, Helvetica, sans-serif;
	font-size: min(7vw, 13px);
	color: #004D9E;
}

.progress-container {
	position: relative;
	width: min(60vw, 193px);
	height: min(60vw, 193px);
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	transform: scale(0.8);
}

.progress-container svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.progress-track {
	fill: none;
	stroke: #004D9E;
	stroke-width: 14;
	stroke-linecap: round;
	opacity: 0.2;
}

.progress-fill {
	fill: none;
	stroke: #004D9E;
	stroke-width: 14;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.15s cubic-bezier(0.1, 0, 0.2, 1);
}

.progress-label {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #004D9E;
	border-radius: 50%;
	/* Inset the circle so it sits inside the ring */
	margin: 15.5%;
}

.progress-label span {
	color: #ffffff;
	font-size: min(10vw, 39px);
	font-weight: 50;
	user-select: none;
	font-family: Noto Sans, Arial, Helvetica, sans-serif;
}

#unity-container {
    width: 100%;
    height: 100%;
}
#unity-canvas {
    width: 100%;
    height: 100%;
}
#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: 60%;
}

#unity-warning { 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    z-index: 99;
    background: rgba(29, 28, 27, 0.94); 
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10px; 
    display: none;
    vertical-align: middle;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;    
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.warning-text{
    top:50%;
    max-height: 300em;
    max-width: 25em;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    font-family: Nittigrotesk, sans-serif;
    color: #fff;
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
}

.warning-button{
    margin: 0 auto;
    display: block;
    padding: 9px 15px;
    background-color: #CC2126;
    color: white;
    border: 0;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

.spinner,
.spinner:after {
  border-radius: 50%;
  width: 5em;
  height: 5em;
}
.spinner {
  margin: 10px;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  transform: translateZ(0);
  animation: spinner-spin 1.1s infinite linear;
}

.reference-loader {
    left: 50%;
    position: fixed;
    z-index: 50;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

@keyframes flickerAnimation {
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  @-o-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  @-moz-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }
  @-webkit-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
  }

  .animate-flicker {
    -webkit-animation: flickerAnimation 3s infinite;
    -moz-animation: flickerAnimation 3s infinite;
    -o-animation: flickerAnimation 3s infinite;
     animation: flickerAnimation 3s infinite;
 }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
  
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
  
.reference-loader__circle {
    box-sizing: border-box;
    width: 85px;
    height: 85px;
    border-radius: 100%;
    border: 10px solid rgba(0, 105, 180, 0.2);
        border-top-color: rgba(0, 105, 180, 0.2);
    border-top-color: #CC2126;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    display: none;
}

@keyframes spinner-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mobileHint{
    width: 64px;
    height: 56px;
    align-self: center;
    margin: 16px;
}
