/* Styles for loading animation */
    body.loaded #loading {
      display: none;
    }
    
div#loading:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      rgba(211, 189, 136, 0) -6.25%,
      rgba(255, 255, 255, 0) 21.73%,
      rgba(255, 255, 255, 0.2) 48.58%,
      rgba(255, 255, 255, 0.2) 77.68%,
      rgba(211, 189, 136, 0.2) 105.65%
    ),
    linear-gradient(
      270deg,
      rgba(211, 189, 136, 0) -6.25%,
      rgba(255, 255, 255, 0) 21.73%,
      rgba(255, 255, 255, 0.2) 48.58%,
      rgba(255, 255, 255, 0.2) 77.68%,
      rgba(211, 189, 136, 0.2) 105.65%
    );
}
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Circle background for logo */
.loading-wrapper {
  width: 300px;
  height: 300px;
  background-color: #ccb16c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* Needed for :after positioning */
  animation: fadeInOut 3s ease-in-out forwards;
}

/* Logo styling */
.logo-loading {
  width: 150px;
  height: auto;
}

/* Rotating clock effect */
.loading-wrapper::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: conic-gradient(#fff, transparent);
  opacity: 0.5;
  animation: rotate 1s linear infinite; /* Start rotating after fade-in */
  z-index: 1; /* Keep it behind the logo-wrapper */
}

/* Keyframes for rotation */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Keyframes for combined fade-in, scale-up, and fade-out */
@keyframes fadeInOut {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  20% {
    transform: scale(1);
    opacity: 1;
  }
  80% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}
