.loader-critical {
  position: relative;
  height: 100dvh;
  width: 100dvw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  background-color: #f1f1f1;
}

.loader-critical-text {
  margin-top: 50px;
  text-align: center;
  font-family: "Onest", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: #1a1a1a;
}

.loader-critical-spinner {
  width: 146px;
  height: 146px;
  position: relative;
}

.loader-critical-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.loader-critical-circle::before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #1e7ec2;
  animation: loader-fade 1.2s infinite ease-in-out both;
}

.loader-critical-circle:nth-child(1) {
  transform: rotate(0deg);
}
.loader-critical-circle:nth-child(2) {
  transform: rotate(30deg);
}
.loader-critical-circle:nth-child(3) {
  transform: rotate(60deg);
}
.loader-critical-circle:nth-child(4) {
  transform: rotate(90deg);
}
.loader-critical-circle:nth-child(5) {
  transform: rotate(120deg);
}
.loader-critical-circle:nth-child(6) {
  transform: rotate(150deg);
}
.loader-critical-circle:nth-child(7) {
  transform: rotate(180deg);
}
.loader-critical-circle:nth-child(8) {
  transform: rotate(210deg);
}
.loader-critical-circle:nth-child(9) {
  transform: rotate(240deg);
}
.loader-critical-circle:nth-child(10) {
  transform: rotate(270deg);
}
.loader-critical-circle:nth-child(11) {
  transform: rotate(300deg);
}
.loader-critical-circle:nth-child(12) {
  transform: rotate(330deg);
}

.loader-critical-circle:nth-child(1)::before {
  animation-delay: -1.2s;
}
.loader-critical-circle:nth-child(2)::before {
  animation-delay: -1.1s;
}
.loader-critical-circle:nth-child(3)::before {
  animation-delay: -1s;
}
.loader-critical-circle:nth-child(4)::before {
  animation-delay: -0.9s;
}
.loader-critical-circle:nth-child(5)::before {
  animation-delay: -0.8s;
}
.loader-critical-circle:nth-child(6)::before {
  animation-delay: -0.7s;
}
.loader-critical-circle:nth-child(7)::before {
  animation-delay: -0.6s;
}
.loader-critical-circle:nth-child(8)::before {
  animation-delay: -0.5s;
}
.loader-critical-circle:nth-child(9)::before {
  animation-delay: -0.4s;
}
.loader-critical-circle:nth-child(10)::before {
  animation-delay: -0.3s;
}
.loader-critical-circle:nth-child(11)::before {
  animation-delay: -0.2s;
}
.loader-critical-circle:nth-child(12)::before {
  animation-delay: -0.1s;
}

@keyframes loader-fade {
  0%,
  39%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

.loader-critical-logo {
  position: absolute;
  bottom: 50px;
  min-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-critical-logo img {
  height: 35px;
  width: auto;
}

@media screen and (max-width: 490px) {
  .loader-critical-logo {
    bottom: 32px;
  }
}
