body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
    flex: 1;
}

h1 {
    text-align: center;
    padding: 20px 0;
    color: #333;
}

/* Estilo para el botón de CONTACT US */
h1 a {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

h1 a:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.panel {
    border: 1px solid #ddd;
    margin: 10px 0;
    background-color: #fff;
}

.panel-header {
    background-color: #007BFF;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
}

.panel-header:hover {
    background-color: #f4f4f4;
    color: #007bff;
}

.panel-content {
    display: none;
    padding: 15px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grid-item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: 400px; /* Ajusta la altura aquí */
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.grid-item p {
    margin: 10px 0 0;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
}

#lightbox p {
    color: white;
}

#lightbox-close {
    background-color: #007BFF;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
}

/* estilo para el enlace de aviso legal */
.footer {
    text-align: left;
    background-color: #f0f0f0;
    bottom: 0;
    right: 0;
    width: 100%;
}

.legal-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.legal-link:hover {
    text-decoration: underline;
}

/* Estilos para el banner */
.banner-container {
    text-align: center;
    margin: 20px 0;
}

.banner {
    max-width: 100%;
    height: auto;
}
