* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #000000; /* Couleur de fond de chargement */
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotate 3s linear infinite;
}

.dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background-color: #f5b042; /* Couleur des points */
  border-radius: 50%;
  transform: rotate(calc(45deg * var(--i))) translate(18px);
  animation: radius-variation 2s ease-in-out infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes radius-variation {
  0%,
  25% {
    transform: rotate(calc(45deg * var(--i))) translate(18px);
  }
  50% {
    transform: rotate(calc(45deg * var(--i))) translate(4px);
  }
  75%,
  100% {
    transform: rotate(calc(45deg * var(--i))) translate(18px);
  }
}
