* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-decoration: none;
  /* overflow: hidden; */
}

.container {
  padding: 2rem 4rem;
  max-width: 75%; /* Set max-width to 75% */
  margin: 0 auto; /* Center the container */
}
 
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #289dcc;
}

.logo img {
  width: 35rem;
}

nav {
  display: flex;
  gap: 1rem;
}

.header-btn {
  background-color: #289dcc;
  color: white;
  padding: 0.875rem 1.875rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 1.875rem;
  transition: background-color 0.3s;
}

.header-btn:nth-child(2) {
  border: 2px solid black;
}

.content {
  margin-top: 2rem;
  background: url("./img/court_bkg_25flat_cropped.png") center/cover;
  display: flex;
  justify-content: center; /* Center the content */
}

.inner-container {
  padding: 2rem; /* was 1rem */
  max-width: 1000px; /* Adjust the max-width to your preference */
  width: 100%; /* Ensure the container takes up the full width */
}

h1 {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.JoinSection p {
  font-size: 1rem;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.video-container {
  margin-top: 1.25rem;
}

.additional-text {
  text-align: center;
  margin-top: 1.25rem;
}

.additional-text p {
  font-size: 0.875rem;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
}

.donate-section {
  font-size: 20px;
  display: flex; /* Ensure it's a flex container */
  flex-direction: column; /* Arrange items in a column */
  align-items: center; /* Center items */
  gap: 10px;
}

.donate-section img {
  display: block;
  margin: 0 auto;
}

.donate-section div {
  width: 100%;
}

.donate-section p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.donate-section p::first-line {
  font-weight: bold;
}

.navbar2 {
  margin-top: 20px;
  border-top: 2px solid #289dcc;
  border-bottom: 2px solid #289dcc;
  padding: 2rem 0;
  text-align: center;
}

.navbar2 ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.navbar2 li {
  display: inline;
}

.navbar2 a {
  background-color: #289dcc;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 2rem;
  transition: background-color 0.3s;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
}

footer p {
  color: #6c757d;
  font-size: 0.875rem;
}

.membership-info {
  max-width: 1000px; /* Ensure the membership info section is also narrow */
  margin: 0 auto; /* Center the membership info section */
}

.membership-info li {
  line-height: 1.6;
  font-size: 16px;
  margin-left: 40px;
  color: #444444;
}

.membership-info li strong {
  font-weight: bold;
}

.membership-info p {
  font-size: 1rem;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* This is a media Queries */

@media (max-width: 768px) {
  .container {
    padding: 1rem 2rem;
    max-width: 90%; /* Adjust as necessary */
  }

  .logo img {
    width: 20rem; /* Adjust as necessary */
  }
  .content {
    background: url("./assets/court_bkg_25flat_cropped.png") center/cover !important;
  }
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .content {
    background: none;
    margin-top: 1rem;
    padding: 1rem;
  }

  .inner-container {
    padding: 1rem;
    max-width: 100%;
  }

  h1 {
    font-size: 1.75rem;
  }

  .navbar2 ul {
    flex-direction: column;
    gap: 1.0rem;
  }

  .navbar2 a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .additional-text p {
    font-size: 0.75rem;
  }

  footer p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0.5rem 1rem;
    max-width: 100%; 
  }

  .logo img {
    width: 15rem;
  }

  nav {
    flex-direction: column;
    gap: 0.25rem;
  }

  .header-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .content {
    margin-top: 0.5rem;
    padding: 0.5rem;
  }

  .inner-container {
    padding: 0.5rem;
    max-width: 100%;
  }

  h1 {
    font-size: 1.5rem;
  }

  .navbar2 ul {
    flex-direction: column;
    gap: 1.0rem;
  }

  .navbar2 a {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .additional-text p {
    font-size: 0.625rem;
  }

  footer p {
    font-size: 0.625rem;
  }
}


@media (max-width: 768px) {
  .container {
    padding: 1rem 2rem;
    max-width: 100%;
  }

  .logo img {
    width: 20rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 1.75rem;
  }

  .JoinSection p,
  .donate-section p,
  .membership-info p {
    font-size: 0.875rem;
  }

  .navbar2 ul {
    flex-direction: column;
    gap: 1.4rem;
  }

  .navbar2 a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    /* gap: 20px; */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0.5rem 1rem;
  }

  .logo img {
    width: 15rem;
  }

  .header-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .JoinSection p,
  .donate-section p,
  .membership-info p {
    font-size: 0.75rem;
  }

  .navbar2 a {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}