html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  background: #eeecec;
}

.hero {
  height: 35vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  background-image: url("./imgs/B52AB642-D7B3-489C-A763-016765D5525C.PNG");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  position: relative;
}

.hero {
  position: relative;
  /* overflow: hidden; */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 255, 0.274); /* Filtro azul translúcido */
  mix-blend-mode: multiply;
  z-index: 1;
}
.logo {
  max-width: 200px;
  position: absolute;
  top: 50vh;
  z-index: 10;
  border-radius: 5px;
}

.logo {
  margin-bottom: -50px; /* sobe o logo */
}


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

.hero p {
  font-size: 1.5rem;
  margin: 10px 0;
}

.btn {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #2528d3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

section {
  padding: 60px 20px;
  text-align: center;
  background-color: white;
  margin: 20px 0;
}

.section {
  margin-bottom: 20px;
}

.section-title {
  color: #1e40af;
  font-weight: bold;
}

.section p {
  margin: 5px 0;
}

a {
  color: #e26fae;
  text-decoration: none;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.grid img {
  width: 300px;
  height: 200px;
  border-radius: 10px;
  padding: 10px;

}

.camisa img {
  max-height: 300px;
  border-radius: 10px;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.categorias {
  display: flex;
  gap: 20px;
}

.categoria {
  background: #fff;
  margin-bottom: 20px;
  padding: 15px 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  flex: 1;
  border-left: 6px solid #044992;
}

.categoria h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #000000;
}

.premio {
  padding: 5px 0;
  font-size: 1em;
  border-bottom: 1px solid #eee;
}

.premio:last-child {
  border-bottom: none;
}

.inscricao {
  background: #fff;
  border-left: 6px solid #044992;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.inscricao h3 {
  margin-top: 0;
}

.categorias_ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.categorias_ul li {
  margin-bottom: 5px;
  font-size: 1em;
}

.link-inscricao {
  font-size: 1.2em;
  margin: 15px 0;
}

.link-inscricao a {
  color: #fff;
  background: #044992;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.taxa {
  font-size: 0.95em;
  color: #333;
}

.mapa {
  padding: 20px;
  background: #fff;
  margin: 30px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}


.mapa h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
}

.mapa-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.mapa-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.percursos {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.percursos img {
  width: 200px;
}

.percursos a {
  color: #044992;
}

/* galeria de fotos */
#slider {
  padding: 40px 0;
  background-color: #f5f5f5;
  text-align: center;
}

#slider h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

.slider-container {
  position: relative;
  max-width: 50vw;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  display: none;
  width: 100%;
  height: 400px;
}

.slide img {
  width: 100%;
  display: block;
  object-fit: scale-down;
  border-radius: 10px;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: rgba(0,0,0,0.8);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

@media (max-width: 600px) {
  .categoria {
    font-size: 0.95em;
    border-bottom: 6px solid #044992;
    border-left: 0px;
  }

  .inscricao {
    padding: 15px;
    border-bottom: 6px solid #044992;
    border-left: 0px;
  }

  .link-inscricao a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 1em;
  }

  .inscricao h2 {
    font-size: 1.3em;
  }

  .categorias li {
    font-size: 1em;
  }

  .taxa {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .slider-container {
    max-width: 90vw;
    height: 300px;
  }
  .slide {
    height: 300px;
  }
  .slide img {
    height: 300px;
  }
  .slider-btn {
    top: 45%;
    padding: 8px 12px;
    font-size: 18px;
  }
  .slider-btn.prev {
    left: 5px;
  }
  .slider-btn.next {
    right: 5px;
  }
  .logo {
    max-width: 150px;
    top: 150px;
  }
  .hero {
    background-size: cover;
  }
  .categorias {
   flex-direction: column;
   gap: 5px;
  }

  .percursos {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .taxa {
    font-size: 0.65em;
    color: #333;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }

  .grid img {
    width: 90%;
    height: auto;
  }

  .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  section {
    padding: 40px 10px;
  }
}

