/* https://uiverse.io/mrhyddenn/curvy-insect-3 */

.loader {
  position: relative;
  width: 110px;
  height: 30px;
  background: #dfd3c3;
  border-radius: 100px;
}

.loader::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 10px;
  width: 30px;
  height: 30px;
  background: #dfd3c3;
  border-radius: 50%;
  box-shadow: 40px 0 0 20px #dfd3c3;
}

.snow {
  position: relative;
  display: flex;
  z-index: 1;
}

.snow span {
  position: relative;
  width: 3px;
  height: 3px;
  background: #fff;
  margin: 0 2px;
  border-radius: 50%;
  animation: snowing 5s linear infinite;
  animation-duration: calc(15s / var(--i));
  transform-origin: bottom;
}

.message,
.error {
  max-width: 40rem;
  margin: 0 auto;
  padding: 5rem 4rem;

  display: flex;

  svg {
    height: 3rem;
    width: 3rem;
    fill: $color-primary;
    transform: translateY(-0.3rem);
  }

  p {
    margin-left: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 600;
  }
}
.dots {
  box-shadow: -2px 1px 5px rgba(250, 250, 250, 100);
}

.container-weather > .img-logo:hover {
  box-shadow: 4px 6px rgba(0, 0, 0, 0.5), -4px 0px rgba(0, 0, 0, 0.5);
}
.container-weather > .img-logo:hover img {
  animation: rotateText 2s linear;
}

@keyframes snowing {
  0% {
    transform: translateY(0px);
  }

  70% {
    transform: translateY(100px) scale(1);
  }

  100% {
    transform: translateY(100px) scale(0);
  }
}
@keyframes rotateText {
  0% {
    transform: rotateX(0deg);
  }

  30% {
    transform: rotateX(100deg);
  }

  50% {
    transform: rotateX(-100deg);
  }
}
