body {
  margin: 0;
  background-color: #e6e6e6;
  color: #1b1b1b;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  color: navy;
}

.hero {
  min-height: 70vh;

  background-image:
    linear-gradient(rgba(0,0,80,0.7), rgba(0,0,80,0.7)),
    url("basketball-player-312240_1280.png");

  background-size: 180%;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px;
}

.hero-text {
  max-width: 700px;
}

.hero-text p {
  color: orange;
  font-size: 20px;
}

.hero-btn {
  display: inline-block;
  background-color: orange;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 500;
}

.hero-btn:hover {
  background-color: green;
}

.page-header {
  color: white;
  text-align: center;
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
}

.rugby-header {
  background-image:
    linear-gradient(rgba(0,0,80,0.7), rgba(0,0,80,0.7)),
    url("rugby league ball.jpg");

  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;

  padding: 120px 20px;
}

.basketball-header {
  background-image:
    linear-gradient(rgba(0,0,80,0.7), rgba(0,0,80,0.7)),
    url("Colored_basketball.png");

  background-size: 220%;
  background-position: center;
  background-repeat: no-repeat;

  padding: 120px 20px;
}

.netball-header {
  background-image:
    linear-gradient(rgba(0,0,80,0.7), rgba(0,0,80,0.7)),
    url("1024px-Netball.png");

  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;

  padding: 120px 20px;
}

.page-header p {
  color: orange;
  font-size: 18px;
}

nav {
  background-color: navy;
  text-align: center;
  padding: 15px;
  position: sticky;
  top: 0;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 15px;
  font-size: 16px;
  font-weight: 500;
}

nav a:hover {
  color: orange;
}

main {
  padding: 30px;
}

.intro,
.content-box {
  background-color: white;
  padding: 25px;
  border-left: 8px solid orange;
  border-radius: 12px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.sports-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card h2,
.card p,
.card a {
  margin-left: 20px;
  margin-right: 20px;
}

.card p {
  line-height: 1.6;
}

.card a {
  display: inline-block;
  margin-bottom: 20px;
  background-color: green;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
}

.card a:hover {
  background-color: orange;
}

.image-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.image-gallery img {
  width: 100%;
  max-width: 360px;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

footer {
  background-color: navy;
  color: white;
  text-align: center;
  padding: 18px;
  margin-top: 30px;
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  main {
    padding: 15px;
  }

  .hero {
    min-height: 55vh;
  }

  .sports-grid {
    flex-direction: column;
  }

  .image-gallery img {
    max-width: 100%;
  }
}

.goat-section {
  background-color: white;
  padding: 25px;
  border-left: 8px solid green;
  border-radius: 12px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.goat-section h2 {
  color: navy;
}

.goat-section h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: orange;
  margin-bottom: 10px;
}