body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.video-container {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 3 / 4; /* Match your video's aspect ratio */
  max-width: 100%;
  max-height: 100%;
}

#video  {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: contain;
}

#meanwhile-png {
    position: absolute;
    top: 50%; /* Percentage now relative to video wrapper */
    left: 80%; /* Percentage now relative to video wrapper */
    width: 20%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
}

#mute-toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

#loading-screen {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fade-out {
    animation: fadeOut 0.5s ease forwards;
  }

.fade-in {
    animation: fadeIn 0.5s ease forwards;
  }

  @keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

/*.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}*/

#loader {
    border-radius: 20%;
}

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

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