#container {
    display: flex;
    height: 100vh;
    width: 100vw;
  }
  
  #pdf-viewer {
    flex: 4;
  }
  
  #pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  #sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #f0f0f0;
  }
  
  #timer {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
  }

  .team-score {
    font-size: 24px;
    margin: 10px 0;
    font-family: 'Roboto', sans-serif; /* Custom font family */
  }
  
  #scores {
    flex-grow: 1;
  }
  
  .current-team {
    background-color: yellow;
  }
  #questionControls {
    margin-top: 10px;
    display: none; /* Hide it by default */
    justify-content: space-between;
  }
  

  #timerControls {
    display: flex;
    justify-content: space-between;
  }

  #questionControls button,
  #timerControls button {
    padding: 10px 10px;
    margin: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #1da1f2;
    background-color: transparent;
    border: 1px solid #1da1f2;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  #questionControls button:hover,
#timerControls button:hover {
  background-color: rgba(29, 161, 242, 0.1);
}

#questionControls button:active,
#timerControls button:active {
  background-color: rgba(29, 161, 242, 0.2);
}

#questionControls button:focus,
#timerControls button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.4);
}

#questionControls button.primary,
#timerControls button.primary {
  color: #ffffff;
  background-color: #1da1f2;
}

#questionControls button.primary:hover,
#timerControls button.primary:hover {
  background-color: #1a91da;
}

#questionControls button.primary:active,
#timerControls button.primary:active {
  background-color: #1681bf;
}


  /* ... existing CSS ... */

/* Scores section styling */
#scores {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  padding-right: 10px; /* Add padding for scrollbar */
}

/* Team card container */
.team-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

/* Highlight the current team */
.team-card.current-team {
  background-color: #d1e7dd;
  border-left: 5px solid #0f5132;
}

/* Hover effect */
.team-card:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
}

/* Team name styling */
.team-name {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
  font-family: 'Poppins', sans-serif; /* Modern font family */
}

/* Team score styling */
.team-score {
  font-size: 22px;
  font-weight: 700;
  color: #495057;
}

/* Timer styling */
#timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5px;
}

#timer-label {
  font-size: 18px;
  color: #6c757d;
  font-family: 'Roboto', sans-serif; /* Custom font family */
  margin-bottom: 5px;
}

#timer {
  font-size: 48px;
  font-family: 'Roboto', sans-serif; /* Custom font family */
  font-weight: bold;
  color: #dc3545;
}


#QuestionControls,
#TimerControls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Next Question button distinct styling */
#next-question-btn {
  background-color: #198754;
}

#next-question-btn:hover {
  background-color: #157347;
}

/* ... existing CSS ... */

#timer-circle {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(#dc3545 0%, #f8d7da 0%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#timer {
  position: absolute;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}
@media (max-width: 768px) {
  #container {
    flex-direction: column;
  }

  #pdf-viewer, #sidebar {
    width: 100%;
    flex: none;
  }

  body {
    background-color: #ecf0f3;
  }
  
  
  
  
}

  
#pause-resume-btn {
  background-color: #e7500f;
  width: 80px;
  height: 80px;
  
  /* Adjust the icon size with font-size */
  font-size: 66px;  /* Larger icon */
  
}

#pause-resume-btn:hover {
  background-color: #5a6268;
  
}

#reset-timer-btn {
  background-color: #17a2b8;
}

#reset-timer-btn:hover {
  background-color: #138496;
}