@font-face {
  font-family: main;
  src: url(../fonts/main-viagram/Viagram.otf);
}

@font-face {
  font-family: city;
  src: url(../fonts/city-rimons/RIMONS.ttf);
}

::selection {
  background-color: #f97316;
  color: #1f2937;
}

/* Background Visuals Animations */
@keyframes cloudFloat {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 200px));
  }
}

@keyframes cloudFloatReverse {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100vw - 200px));
  }
}

@keyframes sunFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

@keyframes moonFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.sun-glow {
  animation: sunFloat 6s ease-in-out infinite;
}

.moon-glow {
  animation: moonFloat 6s ease-in-out infinite;
}

/* Clouds */
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  opacity: 0.6;
  filter: blur(8px);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.cloud::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 10px;
}

.cloud::after {
  width: 60px;
  height: 60px;
  top: -30px;
  right: 10px;
}

.cloud-1 {
  width: 100px;
  height: 40px;
  top: 10%;
  left: -100px;
  animation: cloudFloat 20s linear infinite;
}

.cloud-2 {
  width: 120px;
  height: 50px;
  top: 20%;
  right: -120px;
  animation: cloudFloatReverse 25s linear infinite;
  animation-delay: 2s;
}

.cloud-3 {
  width: 90px;
  height: 35px;
  top: 40%;
  left: -90px;
  animation: cloudFloat 30s linear infinite;
  animation-delay: 5s;
}

.cloud-4 {
  width: 110px;
  height: 45px;
  top: 60%;
  right: -110px;
  animation: cloudFloatReverse 28s linear infinite;
  animation-delay: 8s;
}

/* Stars */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}

/* Weather Status Icon Images */
.weatherStatusIcon img {
  width: 100%;
  height: 100%;
}

/* Night Mode */
.night-mode {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
}

.night-mode .sun-glow {
  opacity: 0;
}

.night-mode .moon-glow {
  opacity: 1;
}

.night-mode .star {
  opacity: 0.3;
}