div#load_screen {
  background: rgba(236, 239, 255, 0.8); /* Slight transparency */
  position: absolute; /* Absolute positioning relative to main_content */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999; /* Ensure it's above other content within main_content */
}

div#load_screen .logo-box {
  width: 100px; /* Adjust size as needed */
  height: auto;
  animation: flicker 3s infinite;
}

div#load_screen .logo-box img {
  width: 100%;
  height: auto;
}

@keyframes flicker {
  0% { opacity: 1; }
  10% { opacity: 0.9; }
  20% { opacity: 1; }
  30% { opacity: 0.8; }
  40% { opacity: 1; }
  50% { opacity: 0.7; }
  60% { opacity: 1; }
  70% { opacity: 0.6; }
  80% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { opacity: 1; }
}
