html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
  }
  
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #f0f0f0;  /* Optional: to distinguish the background */
  }
  
  .bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  .level-wrapper {
    position: relative;
    display: flex;
    width: 80%;
    height: 80vh;
    background-image: url("/assets/360_F_340926618_DOFTvHoy8R9yr6ftIWcqek9kgX4i4Wz7.jpg");
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }
  
  .level-panel {
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
  
  .level-buttons {
    display: flex;
    flex-direction: column;
    width: 200px;
    overflow-y: auto;
    background-color: #f4f4f4;
    border-right: 1px solid #ccc;
    padding: 10px;
    z-index: 3;
  }
  
  .level-buttons button {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Kanit', sans-serif;
  }
  
  .level-buttons button:hover,
  .level-buttons button:focus {
    background-color: #ddd;
  }
  
  .level-description {
    flex-grow: 1;
    padding: 20px;
    background-color: #fff;
    color: #333;
    overflow-y: auto;
    z-index: 3;
  }
  
  .level-info {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  
  .game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .grid-item {
    width: 50px;
    height: 50px;
    background-color: #ff9999;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .grid-item:hover {
    transform: scale(1.1);
  }
  
  .grid-item a {
    color: #fff;
    text-decoration: none;
  }
  
  .controls {
    margin-top: 20px;
  }
  
  .btn {
    font-family: 'Kanit', sans-serif;
    text-decoration: none;
    background-color: #FF914D;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s;
  }
  
  .btn:hover {
    background-color: #ffde59;
  }
  
  .loginbuttons {
    display: flex;
    justify-content: center;
  }
  
  .question-container {
      background-color: #fff;
    display: flex;
    width: 100%;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    z-index: -100;
  }

  #next-btn {
    background-color: #ffde59;
    height: 30px;
    border: none;
    border-radius: 10px;
  }

  .next-btn {
    display: flex;
    align-items: flex-end;
  }