/* Set the entire background to black */
body {
  background-color: #000000; /* Black background */
  margin: 0;
  padding: 20px; /* Add padding to create space around the edges */
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  min-height: 100vh; /* Use min-height for better responsiveness */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Super-bold "CTS" letters for larger screens */
.background-text {
  position: absolute;
  top: 30%; /* Default: vertically center on larger screens */
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  font-size: 45vw; /* Reduce size for smaller screens */
  font-weight: 900;
  color: #ff0000;
  text-align: center;
  line-height: normal;
  white-space: nowrap;
  opacity: 0.1; /* Lower opacity for background effect */
  transform: translateY(-50%); /* Center vertically on larger screens */
}

/* Main title styling */
h1 {
  font-size: 5em; /* Adjusted for better responsiveness */
  font-weight: 900; /* Super bold */
  margin: 0;
}

/* Subheadings for countdown sections (smaller, less bold) */
h2 {
  font-size: 1.5em; /* Slightly smaller for responsiveness */
  font-weight: 600; /* Lighter than the main title */
  margin: 10px 0;
}

/* Styling for countdown numbers */
.countdown-group {
  margin-top: 20px;
  font-size: 1.5em; /* Reduced font size for better display on smaller screens */
  font-weight: bold;
  color: white;
  padding: 10px 0; /* Add padding for spacing between sections */
}

/* Extra spacing between countdown groups */
.countdown-group div {
  margin-bottom: 20px;
}

/* Container for six columns */
.team-logos-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Create six equal columns */
  gap: 20px; /* Spacing between the columns */
  padding: 20px;
  background-color: #000; /* Black background */
  width: 100%;
  position: relative;
}

/* Each team division (group of five logos) */
.team-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Styling for each logo */
.team-logos img {
  max-width: 50px;
  height: auto;
  margin: 5px;
  filter: grayscale(100%);
  transition: transform 0.2s ease;
}

/* Hover effect for logos */
.team-logos img:hover {
  transform: scale(1.1);
}


/* Media query for mobile devices */

@media (max-width: 800px) {
  .team-logos-container {
    grid-template-columns: repeat(3, 1fr); /* Reduce to 3 columns for medium screens */
    justify-content: center; /* Center the grid */
    align-items: center; /* Vertically align the content */
  }

  .team-logos img {
    max-width: 40px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 3em; /* Adjust the title size for mobile */
  }

  h2 {
    font-size: 1.2em; /* Smaller subheadings for mobile */
  }

  .countdown-group {
    font-size: 1.2em; /* Adjust font size for mobile */
  }

  .background-text {
    top: 0; /* Move to the top on smaller screens */
    transform: none; /* Remove vertical centering */
    margin-top: 20px; /* Optional margin for spacing from the top */
  }

  .team-logos-container {
    grid-template-columns: repeat(2, 1fr); /* Reduce to 2 columns for small screens */
    justify-content: center; /* Center the grid */
    align-items: center; /* Center the content vertically */
  }

  .team-logos img {
    max-width: 35px;
    margin: 0 auto; /* Center each logo */
  }
}

#gameSummaries {
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 5px;
  margin: 20px auto;
  width: 80%;
}

.game-summary {
  margin-bottom: 10px;
  font-size: 1.2em;
}
