/* Mobile-First CSS */
body {
  margin: 0;
  font-family: sans-serif;
  background: #10446c;
  color: #fff;
}

/* Navigation Bar */
nav {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 1rem;
  color: #10446c;
}

nav img.logo {
  height: 72px;
  margin-right: 0.5rem;
  padding-right: 10px;
}

nav .brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Hero Section with Slideshow */
.hero {
  position: relative;
  text-align: center;
  color: white;
  padding-bottom: 1rem;
}

.hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(70%);
  display: none;
}

.hero-img.active {
  display: block;
}

.hero-text {
  position: relative;
  outline: dashed;
}

p.hero-title {
  font-size: 1em;
  text-decoration: underline;
  padding-top: 5px;
  margin: 5px;
}

h2.hero-subtitle {
  font-size: 35px;
  margin: 0;
  padding: 0px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #00c4cc;
  color: #10446c;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
}

.btn-about {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #10446c;
  color: #fff ;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.nav-btn-about {
  display: none;
}

section.about, section.sponsors {
  background-color: white;
  padding: 5px;
  color: #10446c;
}

section {
  padding: 0.5rem 1rem;
  text-align: center;
}

.date  {
    padding: 5px;
    margin: 0px;
}

.event-location {
    display: flex;
    height: 35px;
    justify-content: center;
    padding: 5px;
}

.event-location2 {
    display: flex;
    height: 55px;
    justify-content: center;
    padding: 5px;
}

img.logo1 {
    background-color: white;
    padding: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  object-position: center;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.scroll-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.sponsor-track {
  display: flex;
  width: fit-content;
  animation: scroll-left 30s linear infinite;
}

.sponsor-logos {
  display: flex;
  gap: 2rem;
}

.sponsor-logos img {
  height: 60px;
  max-width: 150px;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

form#email-form {
    margin-bottom: 10px;
}

form input, form button {
  padding: 0.5rem;
  margin: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #00c4cc;
  color: white;
  cursor: pointer;
}

footer {
  background: #333;
  color: white;
  padding: 1rem;
  text-align: center;
}

footer a {
  color: #6ADCE7;
  margin: 0 0.5rem;
  text-decoration: none;
}

.tiny {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Desktop-specific adjustments */
@media screen and (min-width: 768px) {
  .hero-text {
    width: 70%;
    margin: 0 auto 0rem auto;
    font-size: 1.2rem;
    outline: none;
  }
    
    nav {
        padding: 0rem 2rem;
    }
    
     .hero {
    padding-bottom: 0;
    background-color: black;
  }

    .hero-img {
    height: 550px;
  }


  h1.hero-title {
    font-size: 3rem;
  }

  h2.hero-subtitle {
    font-size: 1.75rem;
  }

  .hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

    
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  form#email-form {
    max-width: 400px;
    margin: 0 auto;
  }

  section {
    padding: 0;
  }
    
    h1.hero-title {
        padding: 0;
        margin: 0;
    }

  .btn, .btn-about {
    font-size: 1.1rem;
  }

  nav .brand {
    font-size: 1.5rem;
  }
    .newsletter {
        padding-bottom: 10px;
    }
    .nav-btn-about {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #10446c;
  color: #fff ;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
}
}
