body {
  padding: 0;
  margin: 0;
}
#unity-container {
  position: absolute;
}
#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%;
}
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  width: 236px;
  border-radius: 20px;
  text-align: center;
}
#unity-loading-bar p {
  margin-top: 50px;
  font-family: "everydaysans";
  font-size: 16px;
  font-style: bold;
  font-weight: 700;
  color: #0053e2;
}
#unity-logo {
  width: 154px;
  height: 130px;
  background: url("unity-logo-light.png") no-repeat center;
}
#unity-progress-bar-empty {
  position: absolute;
  width: 100%;
  height: 20px;
  border-radius: 20px;
  background-color: transparent;
  border: 2px solid #0053e2;
  overflow: hidden;
}
#unity-progress-bar-full {
  width: 0%;
  height: 20px;
  background-color: #0053e2;
  border-radius: 20px;
}

#unity-footer {
  position: relative;
}
.unity-mobile #unity-footer {
  display: none;
}
#unity-webgl-logo {
  float: left;
  width: 204px;
  height: 38px;
  background: url("webgl-logo.png") no-repeat center;
}
#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px;
}
#unity-fullscreen-button {
  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;
}

@font-face {
  font-family: "everydaysans"; /* Nombre que le das a la fuente */
  src: url("../TemplateData/EverydaySans-Bold.otf") format("opentype"); /* Ruta al archivo .otf */
  font-weight: 700; /* El peso de la fuente (normal, bold, etc.) */
  font-style: bold; /* El estilo de la fuente (normal, italic, etc.) */
}
@font-face {
  font-family: "everydaysans"; /* Nombre que le das a la fuente */
  src: url("../TemplateData/EverydaySans-Regular.otf") format("opentype"); /* Ruta al archivo .otf */
  font-weight: 400; /* El peso de la fuente (normal, bold, etc.) */
  font-style: normal; /* El estilo de la fuente (normal, italic, etc.) */
}

.permision-container {
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 32px;
  font-family: "everydaysans";
}
.permision {
  max-width: 328px;
  width: 100%;
  border-radius: 24px;
  min-height: 477px;
  background-color: white;
  padding: 24px 16px;
}
.permision .phone-container {
  margin: 0 auto;
  width: fit-content;
}

.text-container {
  text-align: center;
}

.text-container h3 {
  font-weight: 700;
  font-size: 16px;
}
.text-container p {
  font-weight: 400;
  font-size: 16px;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  margin-top: 24px;
}

.buttons-container button {
  width: 100%;
  height: 47px;
  border-radius: 32px;
  border: 1px solid #0053e2;
  font-size: 16px;
  font-weight: 400;
}
.buttons-container > button:active {
  transform: scale(1.05);
}
.buttons-container > p:active {
  transform: scale(1.05);
}
.buttons-container p {
  color: #0053e2;
  font-weight: 700;
  font-size: 16px;
}
.buttons-primary {
  background-color: #0053e2;
  color: white;
}
.buttons-secondary {
  background-color: white;
  color: #0053e2;
}

#landscapeOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("./rotate_screen.svg") no-repeat center/cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 9999;
}
#landscapeOverlay.active {
  opacity: 1;
}
