body {
  background-color: black;
  padding: 0;
  margin: 0
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100%
}

#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

#unity-container.unity-mobile {
  width: 100%;
  height: 100%
}

#unity-canvas {
  background: #231F20;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%
}

#message-box {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: rgb(20, 20, 20, 0.7);
  color: white;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  font-family: 'CustomFont', sans-serif;
  z-index: 10;
}

#close-button {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  border: solid 1px white;
  border-radius: 10px;
  color: white;
  background-color: black;
  padding: 10px 20px;
  text-transform: uppercase;
  font-family: 'CustomFont', sans-serif;
  font-weight: bold;
}

@font-face {
  font-family: 'CustomFont';
  src: url('DMSans-Regular.ttf') format('ttf');
}

#unity-footer {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

#unity-build-title {
  color: white;
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px
}

#custom-logo,
#custom-loading-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#custom-logo {
  background-image: url('Loading Icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  width: 200px;
  height: 200px;
}

#custom-loading-img {
  background-image: url('loading.gif');
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 150px;
  width: 70px;
  height: 70px;
}

.popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cancel {
  background-color: #f44336;
  color: white;
}

.allow {
  background-color: #4CAF50;
  color: white;
}
