@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Iceberg", sans-serif;
}

/* Background video styling */
.background-video {
    position: fixed; /* Fix the video to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire screen */
    /* z-index: -1; Places the video behind all other content */
}

/* Ensure other content is visible above the video */
body {
    position: relative;
    z-index: 0; /* Content appears above the video */
    color: white; /* Ensure text is visible on the video background */
}

/* Main content styling */
.main {
    min-height: 100vh;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content closer to the top */
    z-index: 2; /* Higher z-index than the video */
    margin-top: 200px; /* Adjust space between navbar and main content */
     /* Add some space at the bottom */
}

.main .image-container {
    padding: 10px;
    position: relative; /* Ensure child elements can be positioned relative to this container */
}

.main .image-container .image {
    width: 100%;
    display: flex;
    align-items: top;
    justify-content: center;
}

.main .image-container .image img {
    width: 350px;
    align-items: center;
}

.main .image-container h1 {
    color: #00bcd4;
    text-align: center;
    margin-bottom: 10px;
    font-size: 40px;
}

.main .image-container p {
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

/* Loader wrapper styling */
.main .loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    border-radius: 50%;
    background-color: transparent;
    user-select: none;
    margin-bottom: 100px;
    margin-top: 20px; /* Reduce space between navbar and loader */
}

.main .input {
    position: absolute; /* Position the answer box relative to the parent container */
    top: 50%; /* Adjust the vertical position */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, 50%); /* Center the box and move it below the logo */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60vw;
    height: 200px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism effect: translucent background */
    box-shadow: 
        10px 10px 20px rgba(0, 0, 0, 0.5), /* Neomorphism shadow */
        10px 10px 20px rgba(255, 255, 255, 0.2); /* Neomorphism highlight */
    backdrop-filter: blur(10px); /* Glassmorphism effect: blur background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for glass effect */
    z-index: 1; /* Ensure the box appears above other elements */
}

.main .input .talk {
    background: transparent;
    outline: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
}

.main .input .talk i {
    font-size: 20px;
    color: #ffffff; /* Icon color */
}

.main .input .content {
    color: #ffffff; /* Text color inside the box */
    font-size: 18px; /* Slightly larger text for better readability */
    text-align: center; /* Center the text inside the box */
    font-weight: 500; /* Make the text slightly bold */
}

/* Navigation bar styling */
.navbar {
    position: fixed; /* Fix the navbar at the top of the screen */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 60px; /* Adjust height as needed */
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    display: flex;
    align-items: center;
    padding: 0 20px; /* Add padding for spacing */
    z-index: 10; /* Ensure it appears above other elements */
}

/* University logo styling */
.university-logo {
    height: 40px; /* Adjust logo height */
    width: auto; /* Maintain aspect ratio */
    cursor: pointer; /* Add a pointer cursor for interactivity */
    margin-right: 30px; /* Add space between GU and G-Scale logos */
    margin-top: 20px;
}

/* From Uiverse.io by dexter-st */ 
.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    border-radius: 50%;
    background-color: transparent;
    user-select: none;
  }
  
  .loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: transparent;
    animation: loader-rotate 2s linear infinite;
    z-index: 0;
  }
  
  @keyframes loader-rotate {
    0% {
      transform: rotate(90deg);
      box-shadow:
        0 10px 20px 0 #fff inset,
        0 20px 30px 0 #ad5fff inset,
        0 60px 60px 0 #471eec inset;
    }
    50% {
      transform: rotate(270deg);
      box-shadow:
        0 10px 20px 0 #fff inset,
        0 20px 10px 0 #d60a47 inset,
        0 40px 60px 0 #311e80 inset;
    }
    100% {
      transform: rotate(450deg);
      box-shadow:
        0 10px 20px 0 #fff inset,
        0 20px 30px 0 #ad5fff inset,
        0 60px 60px 0 #471eec inset;
    }
  }
  
  .loader-letter {
    display: inline-block;
    opacity: 0.4;
    transform: translateY(0);
    animation: loader-letter-anim 2s infinite;
    z-index: 1;
    border-radius: 50ch;
    border: none;
  }
  
  .loader-letter:nth-child(1) {
    animation-delay: 0s;
  }
  .loader-letter:nth-child(2) {
    animation-delay: 0.1s;
  }
  .loader-letter:nth-child(3) {
    animation-delay: 0.2s;
  }
  .loader-letter:nth-child(4) {
    animation-delay: 0.3s;
  }
  .loader-letter:nth-child(5) {
    animation-delay: 0.4s;
  }
  .loader-letter:nth-child(6) {
    animation-delay: 0.5s;
  }
  .loader-letter:nth-child(7) {
    animation-delay: 0.6s;
  }
  .loader-letter:nth-child(8) {
    animation-delay: 0.7s;
  }
  .loader-letter:nth-child(9) {
    animation-delay: 0.8s;
  }
  .loader-letter:nth-child(10) {
  
  @keyframes loader-letter-anim {
    0%,
    100% {
      opacity: 0.4;
      transform: translateY(0);
    }
    20% {
      opacity: 1;
      transform: scale(1.15);
    }
    40% {
      opacity: 0.7;
      transform: translateY(0);
    }
  }
}
