/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Hace que todo el contenido abarque la pantalla */
    font-family: 'Garamond', serif;
    background-color: #18131d; /* Fondo oscuro con estética clásica */
    color: #e0d6c9; /* Texto en marfil antiguo */
    display: flex;
    flex-direction: column;
}

header {
    background-color: #8b6f47; /* Dorado envejecido */
    color: #251a0d;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: calc(100vh - 2rem - 2rem); /* Resta el tamaño del header y footer */
    padding: 0;
    overflow: hidden; /* Evita desplazamientos innecesarios */
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Botones de navegación */
.nav-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    margin: 5px;
    background: #d4af37; /* Dorado real */
    color: black;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #f5d76e; /* Amarillo oro */
    box-shadow: 0px 0px 8px rgba(255, 215, 0, 0.6);
}

.btn.active {
    background: #b88a44; /* Dorado tostado */
    color: white;
}

footer {
    background-color: #8b6f47;
    color: #251a0d;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    width: 100%;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    main {
        height: calc(100vh - 3rem); /* Ajusta para móviles */
    }
}

/* Estilos para pantallas muy pequeñas */
@media (max-width: 480px) {
    header, footer {
        padding: 0.5rem 0;
    }
    main {
        height: calc(100vh - 2rem);
    }
}