/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

/* Modo día (por defecto) */
body.day-mode {
    background-color: white;
    color: black;
}

/* Modo noche */
body.night-mode {
    background-color: #2c3e50;
    color: white;
}

/* Estilos para el switch */
.container {
    position: fixed;
    top: 60px; /* Ajustar para acomodar el menú */
    right: 10px;
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
}

.theme-text {
    margin-right: 10px;
    font-size: 16px;
    color: black;
}

.theme-switch {
    display: none;
}

.switch-label {
    display: inline-block;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.switch-label:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.theme-switch:checked + .switch-label {
    background-color: #4CAF50;
}

.theme-switch:checked + .switch-label:before {
    transform: translateX(30px);
}

/* Menú superior transversal */
.top-nav {
    background-color: #35424a;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.top-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.top-nav ul li {
    margin: 0 15px;
}

.top-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    transition: background-color 0.3s;
}

.top-nav ul li a:hover {
    background-color: #475d69;
    border-radius: 5px;
}

/* Contenedor principal que envuelve todas las imágenes */
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 100px; /* Ajustar para dejar espacio al menú y al switch */
}

/* Estilos para cada imagen individual */
.image-link {
    display: flex;
    align-items: center;
}

.image-link img {
    height: 65px;
    border-radius: 10px;
    margin-left: 5px;
    margin-top: 15px;
}
