body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

#timer-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Ensure the container is above other elements */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
  color: white;
  text-align: center;
}

#countdown {
  font-size: 108px;
}

.match-title {
  font-size: 60px;
  text-align: center;
}

#team1 { background-color: #ff9999; }
#team2 { background-color: #99ff99; }
#team3 { background-color: #9999ff; }
#team4 { background-color: #ffff99; }

tr.preparing {
  background-color: #f0f0f0; /* Change the background color to highlight the row */
}

tr.running {
  background-color: #f00000;
}

tr.complete {
  text-decoration: line-through;
  color:#ccc;
}

.points {
  margin-bottom: 10px;
}

/* Team Display */
#teamDisplay {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

#teamDisplay.hidden {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.match-schedule-container {
  margin-top: 20px;
  height: 100%;
  width: 50%;
  position: fixed;
  z-index: 1;
  top: 0;
  overflow-x: hidden;
  padding-top: 20px;

}
.match-schedule-container table {
  width: 100%;
  border-collapse: collapse;
}

.match-schedule-container table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.team-container {
  gap: 20px;
  padding:0%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Set the height of the container to the viewport height */
}

.team {
  width: 45%; /* Each team takes up 45% of the container width */
  height: 40vh; /* Each team takes up 45% of the container height */
  background-color: #f0f0f0;
  border: 2px solid #ccc;
  margin: 10px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team-title {
  font-size: 60px;

}

.score {
  font-size: 40px;

}

.teams-display-container {
  position: relative;
  height: 100%;
  width: 100%;  
}

.teams-display-left-container {
  left: 0;
}

.teams-display-right-container {
  right: 0;
}

.inner-teams-display-container {
  padding-left: 5%;
  padding-right: 5%;
  font-size: 30px;
}

