:root {
  --animation-duration: 10s;
}
  body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #FFD700;
      background-image: url('/assets/images/studio_BG.jpg');
      background-size: cover;
      background-repeat: no-repeat;
      background-attachment: fixed;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      padding: 20px; /* Add padding for mobile compatibility */
      box-sizing: border-box;
  }
  .container {
      min-height: 800px;
      backdrop-filter: blur(10px); /* Apply the frosted glass blur effect */
      -webkit-backdrop-filter: blur(10px); /* For Safari */
      background: rgba(255, 255, 255, 0.3);
      padding: 20px;
      border-radius: 10px;
      width: 100%;
      max-width: 600px; /* Limit the max-width for better readability on large screens */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
  }
  .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;

  }
  .header a {
      text-decoration: none;
      color: #000;
      font-weight: bold;
  }
  .header a:hover {
      text-decoration: underline;
  }
  .title-container {
      font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
      font-style: italic;
      overflow: hidden;
      white-space: nowrap;
      box-sizing: border-box;
      position: relative;
      height: 5em; /* Same height as the title font-size */
  }
  .title {
      display: inline-block;
      font-size: 2em;
      margin: 0;
      position: absolute;
      white-space: nowrap;
  }
  .title.origin {
    animation: scroll-title1 var(--animation-duration) linear infinite;
  }

  .title.duplicate {
    opacity: 0; /* Initially hidden */
    animation-fill-mode: forwards; /* Ensure the opacity change persists after the animation */
    animation: scroll-title2 var(--animation-duration) linear infinite;
    animation-delay: calc(var(--animation-duration)/2) ;
  }

  @keyframes scroll-title1 {
      0% {
          transform: translateX(100%);
      }
      100% {
          transform: translateX(-100%);
      }
  }
  @keyframes scroll-title2 {
      0% {
          transform: translateX(100%);
          opacity: 1;
      }
      100% {
          transform: translateX(-100%);
          opacity: 1;
      }
  }
  .subtitle {
      text-align: center;
      font-size: 1em;
      color: #666;
      margin: 20px 100px;
  }
  .separator {
      display: block;
      width: 100%;
      height: 1px;
      background: #fff;
      margin: 20px 0;
  }
  .question-list-container {
      margin: 40px;
      max-height: 500px; /* Set a maximum height for the list container */
      overflow-y: auto; /* Enable vertical scrolling */
  }
  .question-list {
      text-align: center;
      list-style: none;
      padding: 0;
      margin: 0;
  }
  .question-list li {
      background: #fff;
      padding: 10px;
      border-radius: 30px;
      margin-bottom: 10px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .question-list li:hover {
    background: #FFD700;
  }
  .link {
      font-size: large;
      text-decoration: none;
  }

  @media (max-width: 800px) {
    .question-list-container {
        min-height: 400px;
        overflow-y: auto; /* Enable vertical scrolling */
    }
    .subtitle {
        text-align: center;
        font-size: 0.9em;
        color: #666;
        margin: 0;

    }
    .link {
        font-size: medium;
        text-decoration: none;
    }

    body {
        height: auto;
    }
  }