h1, h2,h3 {
    text-align: center;
    color: #4CAF50;
    margin-top: 1.5rem;
}

p {
    text-align: center;
    margin-top: 1rem;
}

body {
    align-items: center;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0; 
    line-height: 1.6;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    background: #466b48;
    color: #fff;
    padding: 1rem 2rem;
}

.navLogo {
    width: 75px; 
    height: auto;
}

nav ul {
    display: flex;
    flex-grow: 1; 
    justify-content: space-evenly; 
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0%;
    height: 4px;
    background-color: #4CAF50;
    border-radius: 2px;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active::after {
    width: 100%;
}

.navIcons {
    display: flex;
    gap: 15px;
}

.navIcon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease-in-out;
}

.navIcon:hover {
    transform: scale(1.1);
}

.inscripcionesImage {
    width: 25%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.inscripcionesImage img {
    width: 100%;
    height: auto;
}

.containerForm {
    display: flex;
    justify-content: center;
    align-items: center;
}

.linkForm {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem auto;
    text-align: center;
}

.linkForm a {
    color: #fff;
    text-decoration: none;
}

.linkForm a:hover {
    text-decoration: underline;
}

.linkForm h1 {
    color: #fff;
}
.imageLinks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 95%;
}
.imageLinks a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #222;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 320px;
    transition: transform 0.2s ease;
}
.imageLinks a:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}
.imageLinkItem {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    background: #fff;
}
.imageLinks span {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    background: #fff;
    color: #333;
    font-weight: bold;
}
.imageHint {
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.5rem;
    font-weight: bold;
}
.textInfo{
    text-align: center;
    margin: 0 auto;
    padding: 1rem;
    color:#4CAF50;
}
footer {
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}


.sponsorsImage {
  object-fit: contain;
  margin: 2px;
  vertical-align: middle;
}


.sponsor-grande {
  width: 450px;
  height: 250px;
}

.sponsor-mediano {
  width: 300px;
  height: 150px;
}

.sponsor-pequeno {
  width: 100px;
  height: 50px;
}

.sponsor-muypequeno {
  width: 75px;
  height: 50px;
}

.activityButton {
  display: inline-block;
  background-color: #4CAF50;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  margin-top: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.activityButton:hover {
  background-color: #388E3C;
}
.activity {
  margin-bottom: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        padding: 10px 0;
    }

    .inscripcionesImage {
        width: 75%;
    }

    .linkForm {
        width: 75%;
    }
}
