body {
  --loader-foreground: #151515;
  --loader-background: #ffffff;
}

body.dark {
  --loader-foreground: #ffffff;
  --loader-background: #403e49;
}

body.loading {
  background-color: var(--loader-background);
  color: var(--loader-foreground);
}

.loading-wrapper {
  display: none;
  color: var(--loader-foreground);
}

.loading h1 {
  font-size: 70px !important;
  margin-bottom: 30px !important;
}

.loading .loading-wrapper {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* First ----------------------------------------------------------*/

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid var(--loader-foreground);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 58px;
    height: 58px;
    opacity: 0;
  }
}
