/* preloader.css */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #333333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
  }
  
  #preloader p {
    font-size: 1.2rem;
    color: #333;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  @media (max-width: 480px) {
    .spinner {
      width: 30px;
      height: 30px;
      border-width: 4px;
    }
  
    #preloader p {
      font-size: 1rem;
    }
  }
  
  #preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
  }
      