@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  padding: 0;
  margin: 0;
}

html {
  /* fix mobile viewport menu bar on iOS */
  height: -webkit-fill-available;
  font-family: 'Montserrat', sans-serif;
}

body {
  height: 100%;
  /* fix mobile viewport menu bar on iOS */
  height: -webkit-fill-available;
  width: 100%;
  text-align: center;
}

#unity-container {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222;
}

/* Default values, might be overwritten by aspect ratio media queries */
#unity-canvas {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

/* Unity mobile */
#unity-container.unity-mobile {
  position: fixed;
  width: 100%;
  height: 100%
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%
}

.unity-mobile #unity-footer {
  display: none
}

@media (min-aspect-ratio: 3/1) {
  #unity-canvas {
    width: auto;
    height: 100%;
    aspect-ratio: 3/1;
  }
}

@media (max-aspect-ratio: 1/2) {
  #unity-canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 1/2;
  }
}

#unity-loading-container {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #fff;

  opacity: 1;
  visibility: visible;
  /* transition: 800ms linear; */
}

#unity-loading-container.finished {
  opacity: 0;
  visibility: collapse;
}

#unity-loading-logo-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 350px;
}

h1 {
  color: #000;
  font-size: 25px;
}

#unity-loading-bar-container {
  height: 90vh;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  gap: 1.5%;
}

#unity-loading-bar {
  margin-bottom: 49vh;
  width: 24.4%;
  height: 6.2px;
  background-color: #d9d9d9;
  border: 1px solid #ccc;
  border-radius: 10px;
}

#unity-loading-bar-inner {
  left: 0%;
  top: 0%;
  width: 1%;
  height: 100%;
  background-color: #000000;
  border-radius: 10px;
  transition: 400ms linear;
}

/* Animation */

.logo {
  -webkit-animation: scale-up-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite alternate both;
  animation: scale-up-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite alternate both;
}

/* ----------------------------------------------
 * Generated by Animista on 2023-11-8 15:55:52
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-up-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


/* =========================
   Footer ("powered by" + logo)
   ========================= */

.loading-footer {
  position: absolute;
  left: 50%;
  bottom: 50px;
  /* logo 50px from bottom border */
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  /* space between label and logo */
}

.loading-footer-label {
  font-size: 12px;
  line-height: 1;
  color: #D4D4D4;
  /* adjust if you want */
  text-transform: lowercase;
  /* matches "powered by" styling */
  font-weight: 400;
}

.loading-footer-logo {
  width: 110px;
  height: auto;
  display: block;
}

/* =========================
   Maintenance Overlay
   ========================= */

#maintenance-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

#maintenance-card {
  text-align: center;
  padding: 3rem 4rem;
  max-width: 480px;
  width: 90%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#maintenance-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#maintenance-logo {
  margin-bottom: 2rem;
}

#maintenance-logo img {
  max-height: 48px;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.75;
  filter: none;
}

#maintenance-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2e3749;
  margin: 0 0 1rem;
}

#maintenance-subtitle {
  font-size: 0.9rem;
  color: #2e3749;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin: 0 0 2.4rem;
}

#maintenance-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

#maintenance-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fac93e;
  animation: pulse 1.5s ease-in-out infinite;
}

#maintenance-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

#maintenance-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}
