body {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    background-color: #cdccca;
    color: #222;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 20%;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #f2f2f2;
    font-weight: 600;
    transition: 0.3s;
    font-size: 110%;
    font-family: "Playfair Display", serif;
}

.nav-links li a:hover {
    color: #CDCCCA;
    font-size: 130%;
}

.present{
    width: 30%; 
    height: auto;
}

.hero {
    text-align: center;
    padding: 10px 20px;
    background:linear-gradient(to bottom, #333333, #888888, #cdccca);
    color: white;
}

.hero p {
    font-family:"Bebas Neue", sans-serif;
    font-size:200%;
    margin-bottom: 0.5rem;
    color: #e8e8e8;
}

.content {
    padding: 2%;
    padding-left: 8%;
    padding-right: 8%;
}

.content1 {
    padding: 2%;
    padding-left: 8%;
    padding-right: 8%;
}

.content h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    color: #3f3f3f;
}

.content1 h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 300%;
    color: #3f3f3f;
}

.content h3{
    font-family: "Bebas Neue", sans-serif;
    font-size: 150%;
    color: #3f3f3f;
}

.content p{
    font-family: "Playfair Display", serif;
    font-size: 120%;
    text-align: justify;
}

.content1 p{
    font-family: "Playfair Display", serif;
    font-size: 120%;
    text-align: justify;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #111;
    color: #ccc;
    margin-top: 60px;
}

.footer-imagenes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-imagenes img {
    height: 120px; /* O ajusta a lo que te parezca visualmente correcto */
    width: auto;  /* Esto permite que el ancho se ajuste automáticamente */
    transition: transform 0.3s ease;
    object-fit: contain; /* Asegura que la imagen quepa sin deformarse */
}

.footer-imagenes img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {

    .present {
        width: 80%;
    }

    .content, .content1 {
        padding: 4% 6%;
    }

    .content1 h2 {
        font-size: 200%;
    }

    .footer-imagenes img {
        height: 80px;
    }
}

/* Icono del menú hamburguesa */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    padding: 1rem 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 0.5rem 0;
  }

  .hamburger {
    display: block;
  }

  header {
    position: relative;
    flex-direction: column;
    align-items: center;
  }

  .center-image img {
    height: 60px;
  }

  .logo {
    width: 60%;
  }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        width: 60%;
    }

    .center-image img {
        height: 70px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
    }

    .nav-links li a {
        font-size: 1rem;
        padding: 0.3rem;
    }

    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    .contenedor-galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

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

    .footer-imagenes img {
        height: 70px;
    }

    footer p {
        font-size: 0.9rem;
        text-align: center;
    }

    .modal-contenido {
        width: 95%;
        max-height: 70vh;
    }

    .cerrar {
        font-size: 30px;
        top: 20px;
        right: 20px;
    }
}