/* Common Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
  }
  /* Menu Bar Styles */
#menu-bar {
  width: 100%;
  background-color: #0400ff; /* Blue background */
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-btn {
  color: white; /* White text */
  text-decoration: none;
  background-color: rgb(17, 0, 255);
  margin: 0 2px;
  font-size: 16px;
  padding: 2px 2px;
  border-radius: 5px;
  
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-btn:hover {
  background-color: #251806; /* Dark blue background on hover */
  color: red; /* Red text on hover */
}

.menu-btn:active {
  background-color: #0011ff; /* Even darker blue when active */
}
  
  #result-container {
    width: 100%;
    height: 100%;
    font-size: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    overflow-y: auto;
  }
  
  .result-title {
    
    color: #333;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  #score-chart {
    margin: 20px auto;
    width: 300px;
    height: 300px;
  }
  
  .question-block {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .question-block h3 {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
  }
  
  .option-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 18px;
    background-color: rgb(38, 0, 255);
    color: rgb(255, 255, 255);
    border-radius: 15px;
    text-align: center;
    transition: background-color 0.3s ease;

  }
  
  .correct-option {
    background-color: #09ff00 !important;
  }
  
  .wrong-option {
    background-color: #ff2600 !important;
  }
  
  .nav-btn {
    padding: 10px 15px;
    background-color: #f4a460;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
  
  .nav-btn:hover {
    background-color: #d2691e;
  }
  #navigation-buttons{
    font-size: 24px;
    margin: 0;
    padding: 2px;
    background-color: auto; /* Blue background */
    color: white;
    border-radius: 5px 5px 0 0;
    text-align: center;
  }
  #options{
    font-size: 24px;
    margin: 0;
    padding: 2px;
    background-color: auto; /* Blue background */
    color: white;
    border-radius: 5px 5px 0 0;
    text-align: center;
  }
  .quiz-title{
    font-size: 30px;
    margin: 10px;
    padding-right: 10px;
    padding-right: 10px;
    padding: 2px;
    background-color: auto; /* Blue background */
    color: rgb(0, 0, 0);
    border-radius: 5px 5px 0 0;
    text-align: center;
  }
  #question-container{
    margin: 20px;

 
  }

            /* MOBILE VIEW STARTED */
            @media only screen and (min-width: 768px) {
              #result-container {
      width: 50%;
      height: 100%;
      background-color: #fff;
      font-size: 16px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      padding: 20px;
      text-align: center;
      overflow-y: auto;
    }

      /* Menu Bar Styles */
#menu-bar {
  width: 100%;
  background-color: #0400ff; /* Blue background */
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-btn {
  color: white; /* White text */
  text-decoration: none;
  margin: 0 5px;
  font-size: 22px;
  padding: 2px 5px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}



  }
              /* MOBILE VIEW ENDED */
/* Page Content */
#content-container {
  margin-top: 70px; /* Offset for the fixed menu bar */
  text-align: center;
  padding: 20px;
}

#content-container h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* Chapter Buttons */
.chapters-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.chapter-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.chapter-btn:hover {
  background-color: #45a049;
}

.chapter-btn:active {
  background-color: #3e8e41;
}

#timer{
  font-size: 20px;
  margin: 10px;
  padding-right: 10px;
  padding-right: 10px;
  padding: 2px;
  background-color: aquamarine; /* Blue background */
  color: rgb(255, 0, 0);
  border-radius: 5px 5px 0 0;
  text-align: center;
}