body {
  max-width: 50em;
  margin: 0 auto;
  padding: 5px;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.6em;
  color: #f5f9ff;
  background-color: #19386d;
}

header {
  text-align: left;
  background-color: #19386d;
  display: flex;
  align-items: center;
  gap: 15px;
}

header img {
  height: 50px;
  width: auto;
}

header h1 {
  margin: 0;
}

h1, h2, h3 {
  font-family: Geneva, Verdana, sans-serif;
  font-weight: normal;
}

main {
  max-width: 800px;
  margin: 0 auto;
}

a {
  color: #87ceeb;
}

a:hover {
  color: white;
}

.logo-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
a img {
    border: none;
    text-decoration: none;
}
.team-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    border-radius: 8px;
}

.team-logo-mlb {
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    border-radius: 8px;

img[src="img/01-RedSox.png"] {
    width: 230px !important;
    height: 160px !important;
}

img[src="img/01-Patriots.png"] {
    width: 230px !important;
    height: 190px !important;
}

img[src="img/01-Bruins.png"] {
    width: 140px !important;
    height: 140px !important;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 16px;
  }
  
  header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px 0;
  }
  
  header img {
    height: 60px;
  }
  
  header h1 {
    font-size: 1.8em;
  }
  
  .logo-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .team-logo {
    width: 150px;
    height: 150px;
  }
  
  img[src="img/01-RedSox.png"] {
    width: 180px !important;
    height: 120px !important;
  }
  
  img[src="img/01-Patriots.png"] {
    width: 180px !important;
    height: 140px !important;
  }
  
  img[src="img/01-Bruins.png"] {
    width: 120px !important;
    height: 120px !important;
  }
  
  h2 {
    font-size: 1.4em;
  }
  
  h3 {
    font-size: 1.2em;
  }
}