html {
  font-size: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #000;

  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* body.is-loading {
  overflow: hidden;
} */

/* PAGE LOADER */
.page-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;

  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(15, 15, 15, 0.94);
}

.page-loader.is-hidden,
.map-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 0.3rem solid;
  border-color: #fff #fff transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 0.3rem solid;
  border-color: transparent transparent #dc0510 #dc0510;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}

.loader::before {
  width: 3.2rem;
  height: 3.2rem;
  border-color: #fff #fff transparent transparent;
  animation: rotation 1.5s linear infinite;
}

.loader {
  transform: scale(0.85);
}

.loader-text {
  margin: 0;
  color: #ebebeb;
  letter-spacing: 0.04em;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes caret-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

h1 {
  display: block;
  width: 80%;
  font-size: 3.2rem;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
  line-height: 1.3;
}

p {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

/* IFRAME WRAPPER */
.iframe-wrapper {
  width: 80%;
  max-width: 110rem;
  margin: 0 auto;
  border: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.4rem;
    padding: 1.5rem;
  }

  .iframe-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    overflow: hidden;
  }

  .iframe-wrapper iframe {
    height: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
    padding: 1rem;
  }

  p {
    font-size: 1.3rem;
  }
}
