@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--splash-screen-background-color, #ffdac7);
  background-size: 100% 100%;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.contain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stretch {
  display: block;
  width: 100%;
  height: 100%;
}

.cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.bottomLeft {
  position: absolute;
  bottom: 0;
  left: 0;
}

.bottomRight {
  position: absolute;
  bottom: 0;
  right: 0;
}

@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: translate(-50%, -50%) scale3d(1.25, 0.75, 1);
    transform: translate(-50%, -50%) scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: translate(-50%, -50%) scale3d(0.75, 1.25, 1);
    transform: translate(-50%, -50%) scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: translate(-50%, -50%) scale3d(1.15, 0.85, 1);
    transform: translate(-50%, -50%) scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: translate(-50%, -50%) scale3d(0.95, 1.05, 1);
    transform: translate(-50%, -50%) scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: translate(-50%, -50%) scale3d(1.05, 0.95, 1);
    transform: translate(-50%, -50%) scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
  }
}
@keyframes jello-horizontal {
  0% {
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
  }
  30% {
    transform: translate(-50%, -50%) scale3d(1.25, 0.75, 1);
  }
  40% {
    transform: translate(-50%, -50%) scale3d(0.75, 1.25, 1);
  }
  50% {
    transform: translate(-50%, -50%) scale3d(1.15, 0.85, 1);
  }
  65% {
    transform: translate(-50%, -50%) scale3d(0.95, 1.05, 1);
  }
  75% {
    transform: translate(-50%, -50%) scale3d(1.05, 0.95, 1);
  }
  100% {
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
  }
}

#splash {
  -webkit-animation: jello-horizontal 1.4s ease-in-out infinite;
  animation: jello-horizontal 1.4s ease-in-out infinite;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#splash-text {
  position: absolute;
  top: calc(50% + 80px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: #7d6252;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: fade-in 1.2s ease-in forwards;
}

#splash-subtext {
  position: absolute;
  top: calc(50% + 132px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #7d6252;
  opacity: 0;
  white-space: nowrap;
  animation: fade-in 1s ease-in forwards;
  animation-delay: 0.5s;
}

/* Hide the logo splash on skeleton routes – the skeleton is the loading UI */
html[data-explore-skeleton="true"] #splash,
html[data-explore-skeleton="true"] #splash-text,
html[data-explore-skeleton="true"] #splash-subtext,
html[data-spot-skeleton="true"] #splash,
html[data-spot-skeleton="true"] #splash-text,
html[data-spot-skeleton="true"] #splash-subtext {
  display: none !important;
}

html[data-explore-skeleton="true"] body,
html[data-spot-skeleton="true"] body {
  background-color: #fff8f6;
}

#explore-skeleton-root {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: var(--explore-skeleton-root-opacity, 0.99);
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

html[data-explore-skeleton="true"] #explore-skeleton-root,
html[data-spot-skeleton="true"] #explore-skeleton-root {
  pointer-events: auto;
  background-color: #fff8f6;
}
