body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(
    to bottom,
    #0d47a1,
    #1976d2
  ); /* IPL dark blue gradient */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #19398a; /* IPL dark blue */
  color: #ffffff;
  padding: 0.2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: solid 1px #f9a825; /* Gold border */
}

header a {
  justify-content: center;
  display: flex;
}

main {
  flex: 1; /* Ensures the main content takes up available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #19398a;
}

.scoreboard {
  flex: 1; /* Makes the scoreboard stretch to fill the available height */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* Distributes team scores evenly */
  align-items: center;
  width: 100%; /* Occupy full width */
}

.team-score {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  width: 100%; /* Occupy full width */
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bolder;
}

.team-score h3,
.team-score p {
  margin: 0;
}

.team-score a {
  text-decoration: none;
}

.first-team {
  border-bottom: solid 1px #ffffff; /* Gold border */
}

.lead-team a {
  color: #d4af37;
}

.trail-team a {
  color: #c0c0c0;
}
