body {
  padding: 0;
  margin: 0;
  display: flex;
  height: 100vh;
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100vh;
}

#unity-container.unity-desktop {
  display: flex;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

.unity-desktop #unity-canvas {
  max-height: 100vh;
  width: 100%
}

#unity-container.unity-mobile {
  width: 100%;
  height: 100%
}

#unity-canvas {
  background: #231F20;
  border: #231F20 1px solid;
  box-sizing: border-box;
  flex-grow: 1;
  transition: all 0.3s;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%
}

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

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

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

#unity-footer {
  position: relative
}

.unity-mobile #unity-footer {
  display: none
}

#unity-webgl-logo {
  float: left;
  width: 204px;
  height: 38px;
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px
}

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

#sidebar {
  width: 0;
  display: none;
  height: calc(100% - 45px);
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s;
  background-color: rgb(26, 26, 32);
  padding-top: 45px;
}

#close {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}

#pdfFrame {
  height: 100%;
}

#fileName {
  font-family: system-ui;
  margin-bottom: 15px;
  text-align: center;
  font-size: 20px;
  color: #fff;
  margin-top: -35px;
}

.close {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  opacity: 0.3;
}

.close:hover {
  opacity: 1;
}

.close:before,
.close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #fff;
}

.close:before {
  transform: rotate(45deg);
}

.close:after {
  transform: rotate(-45deg);
}