@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  background-color: #fffce8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

/* Wrapper */
.loader-wrapper {
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

/* Loader */
.dot-loader {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.dot-loader span {
  width: 14px;
  height: 14px;
  background-color: #ffeb3b;
  border-radius: 50%;
  animation: bounce 0.6s infinite ease-in-out alternate;
}

.dot-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.dot-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animation */
@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 0.5;
  }
  to {
    transform: translateY(-15px);
    opacity: 1;
  }
}

/* Text */
h1 {
  font-size: 1.2rem;
  color: #333;
  opacity: 0.85;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
