/* Estilos generales */
body {   
 margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
    background-attachment: fixed;
    color: #ffffff;
    font-family: Verdana, sans-serif;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    width: auto;
    height: 4rem;
    border-bottom: 1px solid aquamarine;
    align-items: center;
    justify-content: space-between; /* Para separar el título y el menú */
    padding: 0 1rem; /* Añade un poco de espacio a los lados */
    background-color: rgba(0, 0, 0, 0.922);
   
}
header div {
    display: flex;
}
div.navegacion {
    position: relative; /* Importante para el menú desplegable */
    padding: 0.5rem;
    cursor: pointer; /* Cambia el cursor al pasar sobre el área */
    display: flex;
}

header > div > h1{
    padding: 0.5rem;
    white-space: nowrap; /* Evita que el título se divida en varias líneas */
    font-size: 1.2rem; /* Ajusta según necesites */
}
h1 a {
    text-decoration: none;
    color: #ffffff;
}

header > div > h2{
    padding: 0.5rem;
    white-space: nowrap; /* Evita que el título se divida en varias líneas */
    font-size: 1.1rem; /* Ajusta según necesites */
}

.menu-trigger {
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Contenedor de las imágenes */
main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: fit-content;
}

main div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

li {
    margin: 10px;
}

img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

img:hover {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.lightbox-content {
    text-align: center;
    color: white;
}

.close-button {
    display: inline-block;
    padding: 8px 12px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.close-button:hover {
    background-color: red;
    color: white;
}

/*Footer*/
footer {
    /* Más alto que el header (4rem) */
       bottom: 0;
        height: 4rem;
        width: 100%;
       border-top: 1px solid aquamarine; /* Igual que el borde inferior del header */
       display: flex;
       align-items: center;
       justify-content: left;
       background-color: rgba(0, 0, 0, 0.922);

   }
   
   .footer-content {
       width: 100%;
       max-width: 1200px;
   }
   
   .footer-menu {
       display: flex;
       padding: 0.5rem;
       
       list-style-type: none;
       margin: 0;
       gap: 1.5rem; /* Espacio uniforme entre elementos */
       flex-wrap: wrap; /* Para responsive */
   }
   
   .footer-menu li {
       padding: 0.5rem 0;
   }
   
   .footer-menu a {
       color: #8bf2f2;
       text-decoration: none;
       font-family: 'Courier New', Courier, monospace;
       font-size: 1rem;
       transition: color 0.3s ease;
       padding: 0.25rem 0.5rem;
   }
   
   .footer-menu a:hover {
       color: #8bf2f2;
   }
   
   .footer-menu a:visited {
       color: #8bf2f2;
   }