/* Custom variables for theming */
:root {
  --primary-color: #ddff00; /* Brand color */
  --text-dark: #ffffff; /* For readability on dark backgrounds */
  --text-light: #000000; /* For readability on light backgrounds */
  --status-bg: rgba(30, 29, 29, 0.7); /* Semi-transparent gray */
  --med-bg: rgba(0, 0, 0, 0.7); /* Medium Semi-transparent overlay */
  --dark-bg: rgba(0, 0, 0, 0.9); /* Dark Semi-transparent overlay */
}

/* Custom scoreboard font */
@font-face {
  font-family: 'Scoreboard';
  src: url('/fonts/Seven_Segment.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Grassy background for the site */
body {
  background: url('/images/field.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
}

/* Banner styling */
.banner {
  background-size: cover;
  align-items: center;
  color: var(--text-dark);
}
.banner .container {
  align-items: center;
  text-align: center;
}
.banner h1 {
  font-family: 'Scoreboard', 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 200;
}
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2rem;
  }
  .banner h2 {
    font-size: 1.2rem;
  }
}

/* Navbar styling */
.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
}
.nav-link:hover, .nav-link:focus {
  color: var(--primary-color) !important;
}
.nav-link.active {
  color: var(--primary-color) !important;
}
.nav-link.active::before {
  content: url('/images/football-icon.png');
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .navbar-nav {
    gap: 2rem;
  }
}

/* Status bar styling */
.status-bar {
  background-color: var(--status-bg);
  color: var(--text-dark);
  padding: 1rem;
  margin-bottom: 1rem;
}
.status-bar img {
  max-width: 40px;
  height: auto;
}
.status-bar .status-item {
  margin-right: 1.5rem;
}
.status-bar .status-item strong {
  color: var(--primary-color);
}
@media (max-width: 768px) {
  .status-bar .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }
  .status-bar .status-item {
    margin-right: 0;
  }
}

/* Announcements Area */
.announcements-area {
  background-color: rgba(0, 32, 6, 0.7);
  color: #ffffff;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

/* Status Box */
.status-box {
  background-color: #000000;
  color: var(--primary-color);
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

/* Quill editor content */
.status-box .ql-editor, .announcements-area .ql-editor {
  color: inherit;
  background-color: transparent;
}
.status-box .ql-editor p, .announcements-area .ql-editor p {
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1;
}

/* Card body */
.card-body {
  padding: 0.5rem;
}

/* Scoreboard styles */
.scoreboard-container {
  width: 100%;
  max-width: 80%;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scoreboard-row {
  display: grid;
  gap: 10px;
  margin-bottom: 0.5rem;
  justify-content: center;
}
.scoreboard-game {
  background-color: #000000;
  color: #ffffff;
  padding: 0.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1.0rem;
  border-radius: 4px;
  width: 100px;
}
.scoreboard-game .score {
  display: flex;
  justify-content: space-between;
}
.scoreboard-game .team {
  text-align: left;

}
.scoreboard-game .score-value {
  font-family: 'Scoreboard', sans-serif;
  font-weight: bold;
  text-align: right;
}
.scoreboard-game .status {
  font-size: 0.8rem;
  text-align: center;
}
.scoreboard-game .status.final {
  color: var(--primary-color); /* Yellow #ddff00 */
}
.scoreboard-game .pick {
  font-size: 0.8rem;
  text-align: center;
}
