body {
    background-color: #242526;
};
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Arial, Helvetica, sans-serif;
}
header {
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
    background-color: #18191A;
    align-items: center;
    padding-left: 3%;
    display: flex;

}
.text {
    font-family: Arial, Arial, Helvetica, sans-serif;
    color: white;
    padding-left: 30%;
    align-items: center;
}
.logo:hover {
  background-color:#222
}
.live {
      font-family: Arial, Arial, Helvetica, sans-serif;
    color: white;
    margin-left: 30%;
    align-items: center;
}
.live:hover {
  background-color:#222
}
.game-list {
      width: 295px;
      font-family: Arial, sans-serif;
      background: rgb(56, 56, 56);
      border: 1px solid #000000;
      border-radius: 3px;
      padding-top: 10px;
      margin: 20px auto;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      position: absolute;
      top: 122px;
      left: 30px;
      color: #ffffff;
}
.game-list h2 {
      margin-top: 0;
      text-align: center;
      font-size: 18px;
      color: #ffffff;
}
.game-list ul {
      list-style: none;
      padding: 0;
}
.game-list li {
      padding: 8px 0;
      border-bottom: 1px solid #161616;
      font-size: 14px;
}
.game-list li:last-child {
      border-bottom: none;
}
.game-date {
      font-weight: bold;
}
.game-teams {
      margin-left: 8px;
}
h2 {
      color: black;
}
#games {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Make each list item full width and remove side padding */
#games li {
  padding: 8px 12px;
  margin: 0;
  width: 100%;
  box-sizing: border-box; /* includes padding in width */
}
#games li:nth-child(odd) {
  background-color: rgb(56, 56, 56);
}

#games li:nth-child(even) {
  background-color: #4b4b4b; /* light gray */
  
}
 #nextGame {
    width: 400px;
    margin-left: 730px;
    margin-top: 40px;
    padding: 20px;
    background: rgb(56, 56, 56);
    border-radius: 3px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    text-align: center;
    border: 1px solid #000000;
  }

  .game-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .team {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
  }

  .team-name {
    font-weight: bold;
    font-size: 1.1rem;
  }

  .game-info {
    flex: 1 1 40%;
    text-align: center;
  }

  .game-date {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 500;
  }

  .game-odds {
    font-size: 0.95rem;
    color: #dbdbdb;
  }
#ranking-container {
  background-color: rgb(56, 56, 56);
  padding: 1px;
  border: 1px solid #000000;
  border-radius: 3px;
  width: 320px;
  position: absolute;
  top: 142px;   /* position at top of page */
  left: 370px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow-y: scroll;
  scrollbar-width: thin;   /* Firefox */
      scrollbar-color: #555 #222;
  height: 741px;
}
 #ranking-container::-webkit-scrollbar {
    width: 8px;
  }
  #ranking-container::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
  }
  #ranking-container::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
  }
#ranking-container h3 {
  margin-bottom: 15px;
  margin-top: 10px;
  font-size: 17px;
  color: #ffffff;
  text-align: center;
}

.ranking-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #000000;
  color: white;
}

.ranking-item:nth-child(odd) {
  background-color:#4b4b4b;
}

.ranking-item .rank {
  font-weight: bold;
  width: 32px;
  text-align: right;
  margin-right: 12px;
  font-size: 1.1rem;
}

.ranking-item .logo {
  height: 32px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 4px;
  background: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ranking-item .info {
  flex: 1;
}

.ranking-item .school {
  font-weight: 600;
  font-size: 1rem;
  color: white;
}

.ranking-item .details {
  font-size: 0.85rem;
  color: #969696;
}
#search-container {
  width: 285px;
  font-family: Arial, sans-serif;
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 10px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: absolute;
  left: 800px;
  top: 300px;
}

/* Input and button styling to match the theme */
#search-container input[type="text"] {
  padding: 8px;
  width: calc(100% - 100px);
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

#search-container button {
  padding: 8px 12px;
  font-size: 14px;
  margin-left: 8px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#search-container button:hover {
  background-color: #333;
}
#stats-container1 {
  width: 285px;
  font-family: Arial, sans-serif;
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 10px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #000;
  position: absolute;
  left: 800px;
  top: 350px;
}
/* Stats container styled to match .game-list */
#stats-container {
  width: 285px;
  font-family: Arial, sans-serif;
  background: #fdfdfd;
  border: 1px solid #000000;
  border-radius: 3px;
  padding: 10px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #000;
    position: relative;
  left: 0px;
  top: -600px;
}
#stats-container4 {
  width: 500px;
  height: 227px;
  font-family: Arial, sans-serif;
  background: rgb(56, 56, 56);
  border: 1px solid #000000;
  border-radius: 3px;
  padding: 10px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #ffffff;
  position: absolute;
  left: 700px;
  top: 625px;
}
/* Optional consistent label/stat styles */
.stat { 
  margin: 1px 0;
}
h3 {
  text-align: center;
}
.label {
  font-weight: bold;
  color: #222;
}
footer{
    background-color: #111;
    position: relative;
    bottom: 0px;

}
.footerContainer{
    width: 100%;
    padding: 70px 30px 20px ;
    position: relative;

}
.socialIcons{
    display: flex;
    justify-content: center;
}
.socialIcons a{
    text-decoration: none;
    padding:  10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
    text-align: center;
}
.socialIcons a i{
    font-size: 2em;
    color: black;
    opacity: 0,9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
    background-color: #111;
    transition: 0.5s;
}
.socialIcons a:hover i{
    color: white;
    transition: 0.5s;
}
.footerNav{
    margin: 30px 0;
}
.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a{
    color:white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;

}
.footerNav ul li a:hover{
    opacity: 1;
}
.footerBottom{
    background-color: #000;
    padding: 20px;
    text-align: center;
}
.footerBottom p{
    color: white;
    text-align: center;
}
.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}
@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    } 
    .footerNav ul li{
        width:100%;
        text-align: center;
        margin: 10px;
    }
    .socialIcons a{
        padding: 8px;
        margin: 4px;
    }
}
#stats-container2 {
  width: 285px;
  font-family: Arial, sans-serif;
  background: rgb(56, 56, 56);
  border: 1px solid #000000;
  border-radius: 3px;
  padding: 0px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: white;
  position: relative;
  left: 0px;
  top: -600px;
}

#stats-container2 h3 {
  margin-bottom: 15px;
  margin-top: 10px;
  font-size: 17px;
  color: white;
  text-align: center;
}

/* Stat rows */
.stat {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
    padding: 8px 12px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  color: white;
  border: black;
}

/* Zebra striping */
.stat:nth-child(odd) {
  background-color: #4b4b4b;
  padding: 1px 0;
  border-bottom: 1px solid #000000;
}

.stat:nth-child(even) {
  background-color: rgb(56, 56, 56); /* light gray */
padding: 1px 0;
border-bottom: 1px solid #000000;
color: white;
}

.label {
  font-weight: bold;
  color: #ffffff;
}
.card { 
  width: 600px; 
  background: rgb(56, 56, 56); 
  border-radius: 12px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  padding: 20px; 
  text-align: center; 
  position: absolute;
  top: 122px;   /* position at top of page */
  left: 1230px;  /* horizontal offset */
}

/* Buttons for Offense/Defense/Special Teams */
.buttons { 
  display: flex; 
  justify-content: center; 
  gap: 8px; 
  margin-bottom: 12px; 
}

.buttons button { 
  padding: 8px 12px; 
  border-radius: 8px; 
  border: 1px solid #000000; 
  background: rgb(56, 56, 56); 
  cursor: pointer; 
  color: white;
}

.buttons button.active { 
  border: 2px solid black; 
  background: #4b4b4b; 
}

/* Individual stat rows */
.stat { 
  line-height: 1.6; 
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #000000;
  padding: 4px 0;
}

.stat:last-child {
  border-bottom: none;
}

.label {
  font-weight: bold;
}
#recruits-container.card {
    width: 600px;
    background: rgb(56, 56, 56);
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid black; 
    color: white;
}

#recruit-list {
    max-height: 350px;
      overflow-y: scroll;
  scrollbar-width: thin;   /* Firefox */
      scrollbar-color: #555 #222;
    text-align: left;
    margin-top: 10px;
    padding: 0; /* Remove extra padding around the list */
}

#recruit-list .stat {
    padding: 2px 4px; /* Reduced padding */
    font-size: 14px;
    border-bottom: 1px solid #000000;
}

#recruit-list .stat:last-child {
    border-bottom: none;
}

#recruit-list .stat.header {
    font-weight: bold;
    background-color: rgb(56, 56, 56);
    border-bottom: 2px solid #000000;
    padding: 4px 4px; /* Smaller padding for header too */
}
  #lastGame {
    width: 350px;
    padding: 10px;
    background: rgb(56, 56, 56);
    border-radius: 3px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    text-align: center;
    position:absolute;
    top: 650px;   /* position at top of page */
  left: 1240px; 
  }

  #lastGame .game-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  #lastGame .team {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #lastGame .team-name {
    font-weight: bold;
    font-size: 1.1rem;
  }

  #lastGame .team-score {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 4px;
  }
  #lastGame  .team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
  }

  #lastGame .team-lines {
    font-size: 0.85rem;
    color: #ffffff;
    margin-top: 4px;
  }

  #lastGame .game-info {
    flex: 1 1 40%;
    text-align: center;
  }

  #lastGame .game-date {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 500;
  }
.cards6 {
  width: 400px;
  margin: 20px auto;
  padding: 10px;
  background: rgb(56, 56, 56);
  border-radius: 3px;
  color: white;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Roboto, sans-serif;
  text-align: center;
  position: absolute;
  left: 750px;
  border: 1px solid black;
}
.games-card {
  width: 100%;
  background: #111;
  color: rgb(255, 255, 255);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

.games-wrapper {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 250s linear infinite;
}

.game-item {
  display: inline-block;
  background: #222;
  margin: 0 10px;
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 220px;
  text-align: center;
}

.game-item .teams {
  font-weight: bold;
  margin-bottom: 6px;
}

.game-item .score {
  font-size: 1rem;
  margin-bottom: 4px;
}

.game-item .period-clock {
  font-size: 0.85rem;
  color: #ccc;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.stat-card {
  width: 200px;
  background: rgb(56, 56, 56);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 16px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 20px auto;
  position: absolute;
      top: 630px;   /* position at top of page */
  left: 1625px; 
}

.stat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 0.95rem;
}

.stat-row .label {
  font-weight: bold;
}

.logo-container {
  margin-top: 15px;
}

.logo-container img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.play-card {
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.play-header {
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
}
.play-item {
  margin-bottom: 10px;
  padding: 8px;
  background: #222;
  border-radius: 8px;
}
.play-item strong {
  color: #0f9d58;
}
.score {
  font-size: 12px;
  color: #bbb;
}

 .weather-card {
      width: 300px;
      font-family: Arial, sans-serif;
      background: rgb(56, 56, 56);
      border: 1px solid #000000;
      border-radius: 3px;
      padding: 12px;
      margin: 20px auto;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      color: #ffffff;
      margin-top: 250px;
      position: absolute;
  left: 800px;
    }
    .weather-card h2 {
      font-size: 18px;
      margin: 0 0 8px;
      text-align: center;
      color:white;
    }
    .weather-card .desc {
      font-weight: bold;
      margin-bottom: 8px;
      text-align: center;
      font-size: 16px;
    }
    .weather-card .metric {
      margin: 6px 0;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .weather-card .label {
      font-weight: bold;
    }
    .weather-card .updated {
      font-size: 12px;
      color: #929292;
      margin-top: 8px;
      text-align: center;
    }
    .icon {
      font-size: 18px;
    }
  #drives-container {
    font-family: Arial, sans-serif;
    max-width: 600px;        /* container width */
    max-height: 500px;       /* fixed height */
    margin: 20px auto;       /* center on page */
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 10px;
    background: rgb(56, 56, 56);
    color: #fff;
    overflow-y: auto;        /* scroll when content exceeds */
    scrollbar-width: thin;   /* Firefox */
    scrollbar-color: #555 #222;
    position: absolute;
    top: 215px;
    left: 1250px;
    border-radius: 3px;
  }

  /* Chrome, Edge, Safari scrollbar */
  #drives-container::-webkit-scrollbar {
    width: 8px;
  }
  #drives-container::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
  }
  #drives-container::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
  }

  #drives {
    list-style: none;
    padding: 0;
    margin: 0;
  }
#drives li:nth-child(even) {
  background-color:#4b4b4b;
}
#drives li:nth-child(odd) {
  background-color:rgb(56, 56, 56);
}

  #drives li {
    padding: 12px;
    border-bottom: 1px solid #333;
  }
  #drive

  .drive-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
  }

  .drive-header img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
  }

  .drive-stats {
    font-size: 0.9rem;
    margin-left: 36px;
    color: #bbb;
  }

  .drive-result {
    margin-left: 36px;
    margin-top: 4px;
    font-weight: bold;
  }

  .drive-result.td { color: rgb(34, 146, 34); }
  .drive-result.fg { color: rgb(214, 183, 7); }
  .drive-result.turnover { color: crimson; }
  #finished-games {
    background: rgb(56, 56, 56);
  }
    #finished-games::-webkit-scrollbar {
    width: 8px;
  }
  #finished-games::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
  }
  #finished-games::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
  }
.gametv-list {
      width: 440px;
      font-family: Arial, sans-serif;
      background: rgb(56, 56, 56);
      border: 1px solid #000000;
      border-radius: 3px;
      padding-top: 10px;
      margin: 20px auto;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      position: absolute;
      top: 300px;
      left: 738px;
      color: #ffffff;
      height: 300px;
        overflow-y: scroll;
  scrollbar-width: thin;   /* Firefox */
      scrollbar-color: #555 #222;
}
.gametv-list h2 {
      margin-top: 0;
      text-align: center;
      font-size: 18px;
      color: #ffffff;
}
.gametv-list ul {
      list-style: none;
      padding: 0;
}
.gametv-list li {
      padding: 8px 0;
      border-bottom: 1px solid #161616;
      font-size: 14px;
}
.gametv-list li:last-child {
      border-bottom: none;
}
.gametv-date {
      font-weight: bold;
}
.gametv-teams {
  font-size: 16px;
      margin-left: 8px;
}
h2 {
      color: black;
}
#games-tv {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Make each list item full width and remove side padding */
#games-tv li {
  padding: 8px 12px;
  margin: 0;
  width: 100%;
  box-sizing: border-box; /* includes padding in width */
}
#games-tv li:nth-child(odd) {
  background-color: rgb(56, 56, 56);
}

#games-tv li:nth-child(even) {
  background-color: #4b4b4b; /* light gray */
  
}
.team-logo-tv {
  height: 18px;
  vertical-align: middle;
  margin: 0 4px;

}
.team-logo-outlet {
  height: 13px;
  vertical-align: middle;
  margin: 0 4px;

}
.venue-tv {
  color: #d1d1d1
}
.move-up {
  color: green;
  font-weight: bold;
}

.move-down {
  color: red;
  font-weight: bold;
}

.no-move {
  color: gray;
}