/*body {*/
/*  font-family: "Roboto", Arial, sans-serif;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: flex-start;*/
/*  height: 100vh;*/
/*  margin: 0;*/
/*  background-color: #f4f4f4;*/
/*  padding-top: 20px;*/
/*}*/

/*.quiz-container {*/
/*  background: white;*/
/*  border-radius: 8px;*/
/*  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
/*  padding: 20px;*/
/*  width: 100%;*/
/*  max-width: 900px;*/
/*  text-align: center;*/
/*  overflow: hidden;*/
/*  margin-top: 70px;*/
/*}*/

/* Navigation Menu */
/*.nav-buttons-container {*/
/*  width: 100%;*/
/*  background-color: #005eb8;*/
/*  padding: 10px 0;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  z-index: 1000;*/
/*}*/

/*.nav-buttons {*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  flex-wrap: wrap;*/
/*  max-width: 1200px;*/
/*  margin: 0 auto;*/
/*}*/

/*.nav-button {*/
/*  background: #cf142b;*/
/*  color: white;*/
/*  text-decoration: none;*/
/*  padding: 10px 20px;*/
/*  border-radius: 5px;*/
/*  margin: 5px;*/
/*  transition: background-color 0.3s;*/
/*}*/

/*.nav-button:hover {*/
/*  background: #ff3232;*/
/*}*/

/* Burger Menu */
/*.burger-menu {*/
/*  display: none;*/
/*  flex-direction: column;*/
/*  cursor: pointer;*/
/*  position: fixed;*/
/*  top: 10px;*/
/*  right: 20px;*/
/*  z-index: 1100;*/
/*}*/

/*.burger-menu div {*/
/*  width: 25px;*/
/*  height: 3px;*/
/*  background-color: #cf142b;*/
/*  margin: 4px 0;*/
/*  transition: 0.4s;*/
/*}*/

/*.nav-buttons-container.active .nav-buttons {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  position: absolute;*/
/*  top: 50px;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  background-color: #005eb8;*/
/*  z-index: 999;*/
/*}*/

/* Quiz Styles */
#progress-container {
  width: 100%;
  margin-bottom: 20px;
}

#progress-bar {
  height: 20px;
  background-color: #d32d41;
  /* British red */
  width: 0;
  transition: width 0.3s;
}

#timer {
  font-size: 20px;
  margin-bottom: 20px;
  color: #012169;
  /* British blue */
}

#question-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 20px;
  padding: 0;
}

#question-numbers div {
  padding: 5px;
  margin: 5px;
  background-color: #eee;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid #005eb8;
  /* British blue */
  color: #005eb8;
  /* British blue */
}

#question-numbers .active {
  background-color: #d32d41;
  /* British red */
  color: white;
}

#question-container {
  margin-bottom: 20px;
}

#question-container h2 {
  margin-bottom: 20px;
  color: #005eb8;
  /* British blue */
}

#question-container label {
  display: block;
  padding: 10px;
  margin: 5px 0;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

#question-container input[type="radio"] {
  display: none;
}

#question-container input[type="radio"]:checked+label {
  background: #e0e0e0;
}

#next-button {
  padding: 10px 20px;
  background-color: #d32d41;
  /* British red */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px;
}

#next-button:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

#feedback {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
  display: none;
}

#feedback.correct {
  color: #008000;
  /* Green for correct */
}

#feedback.wrong {
  color: #d32d41;
  /* British red for wrong */
}

#score-container {
  margin-top: 20px;
  font-size: 24px;
  color: #005eb8;
  /* British blue */
}

.horizontal {
  flex-direction: row;
}

#timer-bar-container {
  width: 100%;
  background-color: #e0e0e0;
  height: 20px;
  border-radius: 5px;
  margin-top: 10px;
}

#timer-bar {
  width: 100%;
  height: 100%;
  background-color: #d32d41;
  /* British red */
  border-radius: 5px;
  transition: width 1s linear;
}

.chart-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 20px;
  /* Add some margin at the top of the grid */
}

.chart-container {
  width: 30%;
  height: 200px;
  /* Adjust the height to make the charts smaller */
  margin: 20px 10px;
  /* Add margin to separate the charts */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chart-container p {
  margin-top: 0;
  margin-bottom: 0px;
  /* Add margin to separate the heading from the chart */
  font-weight: bold;
  text-align: center;
}

.button-container {
  text-align: center;
  margin-top: 40px;
  /* Add space above the button */
}

@media (max-width: 768px) {
  .chart-container {
    width: 100%;
    height: 300px;
    /* Adjust height for smaller screens if necessary */
    margin-bottom: 20px;
  }
}


/* Responsive Styles */
@media (max-width: 768px) {
  .header-content-container {
    flex-direction: column;
    margin-top: 300px;
    /* Adjust margin to keep header visible */
  }

  .nav-buttons {
    flex-direction: column;
    display: none;
  }

  .nav-button {
    width: 100%;
    padding: 12px;
  }

  .header-container {
    padding-right: 0;
  }

  .sidebar {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .burger-menu {
    display: flex;
  }

  /*.nav-buttons-container.active .nav-buttons {*/
  /*  display: flex;*/
  /*}*/
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-content-container {
    margin-top: 150px;
    /* Adjust margin for iPad */
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .header-content-container {
    margin-top: 10px;
    /* Adjust margin for larger screens */
  }
}