/* Loader circolare ispirato al logo La Candelaia */
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid transparent;
  border-right-color: #C49E6C; /* marrone chiaro legno */
  position: relative;
  animation: spin 1s infinite linear;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 6px solid transparent;
  border-right-color: #E3D7B8; /* beige cera */
  animation: spin;
}

.loader:before {
  animation-duration: 2s;
}

.loader:after {
  animation-duration: 4s;
}

@keyframes spin {
  100% { transform: rotate(1turn); }
}
