body {
    background-color: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;

  }
  
  header, footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 2px 0;
  }

  footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px 15px;
  font-size: 16px;
  width: 100%;
  line-height: 1.6;
}

.footer-text {
  margin: 0;
  font-size: 1rem;
  word-wrap: break-word;
}

  
  .team-event-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in;
    color: white;
    background-color: transparent;
  }
  
  .event-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .event-heading h2 {
    font-size: 2.5rem;
    margin: 0 15px;
  }
  
  .icon-group {
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .logo-text {
    font-weight: bold;
    font-size: 35px;
    color: lightgray;
  }
  
  .event-content {
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  .event-content p {
    margin-bottom: 20px;
  }
  
  .custom-list {
    list-style: none;
    padding-left: 0;
  }
  
  .custom-list li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
  }
  
  .custom-list li::before {
    content: "🏸";
    position: absolute;
    left: 0;
    top: 0;
  }
  
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(30px);}
    to {opacity: 1; transform: translateY(0);}
  }
  
  .carousel-button {
    background-color: black;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .carousel-button:hover {
    background-color: white;
    color: black;
  }
  
  .button-wrapper {
    text-align: center;
    margin-top: 40px;
  }
  

/* Full background wrapper */
.main-content {
    background-image: url('https://i.pinimg.com/736x/5b/84/7a/5b847a482c01a25d38afcd9626f9a4fa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
  }
  .event-title {
    text-align: center;
  }
  
  .subheading {
    font-size: 1.2rem;
    color: lightgray;
    margin-top: 10px;
    font-style: italic;
  }
  

 .back-home-button {
    display: inline-block;
    margin: 30px 0 10px 40px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  .back-home-button:hover {
    background-color: white;
    color: black;
    transform: scale(1.05);
  }

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;

}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .menu-toggle {
  display: block;
  position: absolute;
    top: 20px;
    right: 20px;
}

.navdiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 10px 15px;
}



.nav-links {
  display: none;
  flex-direction: column;
  background-color: black;
  width: 100%;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 999;
  padding: 10px 0;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  text-align: center;
  padding: 10px 0;
 
  width:100%;
}

}

@media(max-width: 768px){
  .event-heading{
    flex-direction: column;
    gap: 10px;
  }
  .event-heading h2{
    font-size: 1.6rem;
    margin: 10px 0;
  }
.icon-group{
  font-size: 1.2rem;
}
.logo-text{
  font-size: 1.3rem;
}

/* Navigation links */



.team-event-section {
    padding: 20px 10px;
  }

  .event-content {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0;
  }

  .custom-list li {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-left: 20px;
  }

  .custom-list li::before {
    font-size: 1rem;
    top: 2px;
  }

  /* Background image scaling */
  .main-content {
    background-size: cover;
    background-position: center;
    padding: 20px 10px;
    flex-direction: column;
    align-items: stretch;
  }

  /* Button tweaks */
  .carousel-button {
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 20px;
    width: 80%;
    max-width: 300px;
  }

  .button-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
}
