body {
  padding: 0;
  margin: 0
}

#unity-container
{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: #8493AA;
}

#unity-canvas
{
  width: 100%;
  height: 100%;
  max-height: 90vw;
  max-width: 277.78vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #8493AA;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.5, .5);
}

#loading-spinner {
	position: relative;
    animation: 1s linear 0s infinite rotate-loading-spinner;
	width: 222px;
	height: 222px;
	background-size: 222px 222px;
    background-image: url(loadingcircle_progress.png);
}

#loading-spinner-shadow {
	position: absolute;
	right: -2px;
	top: 0px;
	width: 226px;
	height: 226px;
	background-size: 226px 226px;
    background-image: url(loadingcircle_shadow.png);
}

@keyframes rotate-loading-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#unity-logo {
  display: none;
  width: 154px;
  height: 130px;
  background: url('unity-logo-dark.png') no-repeat center
}

#unity-progress-bar-empty {
  display: none;
  width: 141px;
  height: 18px;
  margin-top: 10px;
  margin-left: 6.5px;
  background: url('progress-bar-empty-dark.png') no-repeat center
}

#unity-progress-bar-full {
  display: none;
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: url('progress-bar-full-dark.png') no-repeat center
}

#unity-footer {
  display: none
}

#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
}

#fullscreen-button {
  cursor: pointer;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center
}

#unity-fullscreen-button {
  cursor: pointer;
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none
}

@media screen and (orientation: landscape) {
  #rotate-device-warning {
    display: none;
  }
}

@media screen and (orientation: portrait) {
  #rotate-device-warning {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 60px;
	width: 190px;
	display: flex;
	color: #ffff;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	border-radius: 10px;
	font-family: arial;
	margin: 20px;
	align-items: stretch;
  }
}

#rotate-image {
	padding: 12px;
	animation: 1s ease-in-out 0s infinite alternate none running rotate-landscape;
	width: 38.016px;
	height: 36px;
}

#rotate-text {
	margin: auto;
  font-weight: 700;
	padding: 0px 0px 0px 0px;
}

#rotate-text::first-line {
	font-weight: 900;
}

#rotate-close {
	display: flex;
	padding: 0px 10px 0px 10px;
	flex-direction: column;
	justify-content: center;
	border-radius: 0px 10px 10px 0px;
	background-color: rgba(0, 0, 0, 0.75);
	cursor: pointer;
  font-weight: 400;
	font-size: 24px;
}
@keyframes rotate-portrait {
  0% {
    transform: rotate(-90deg);
  }

  80% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes rotate-landscape {
  0% {
    transform: rotate(0deg);
  }

  80% {
    transform: rotate(90deg);
  }

  100% {
    transform: rotate(90deg);
  }
}
