/* FUENTES */
/* Fuente interna Merriweather */
@font-face {
    font-family: 'MerriweatherVariable';
    src: url('fuente/Merriweather-Italic-VariableFont.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-style: italic;
}

/* Fuente externa: Roboto para títulos */
h1, h2 {
    font-family: 'Roboto', sans-serif;
}

/* ESTILOS GENERALES */
body {
    margin: 0;
    background: hsl(190, 23%, 55%);
    font-family: 'MerriweatherVariable', serif;
    font-style: italic;
    font-weight: 400;
}

/* ENCABEZADO FLEX */
.encabezado {
    background-color: #003333;
    color: white;
    display: flex;
    justify-content: space-between; /* títulos al centro, menú a la derecha */
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.titulo {
    text-align: center;
    flex: 1;
}

.titulo h1 {
    margin: 0;
}

.titulo h2 {
    margin: 0;
    font-weight: normal;
}

/* MENÚ HAMBURGUESA */
.menu-icono {
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

/* Menú oculto y visible cuando tiene clase .activo */
nav#menu {
    display: none;
    flex-direction: column;
    background-color: #004c4c;
    width: 100%;
    text-align: center;
}

nav#menu.activo {
    display: flex;
}

nav#menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: background 0.3s;
}

nav#menu a:hover {
    background-color: #007777;
}

/* CUERPO PRINCIPAL */
.contenido-lateral {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin: 20px auto;
}

/* Imagen principal */
.img-principal {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
    display: block;
}

/* Descripción */
.descripcion {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}

/* GALERÍA FLEX */
.galeria {
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
}

.galeria-flex {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.galeria-flex img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.galeria-flex img:hover {
    transform: scale(1.05);
}

/* LISTA CURIOSIDADES */
.lista-curiosidades {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.lista-curiosidades li {
    background: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}
