body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #292d31;
    color: #fff;
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0;
}

nav {
    background-color: #292d31;
    text-align: center;
    padding: 10px;
}

button {
    background-color: #666;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
}

.gallery {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
}

.gallery img {
    max-width: 300px;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* Estilo para hacer que la imagen se adapte a cualquier tamaño de pantalla */
figure img {
    max-width: 100%;
    height: auto;
}

/* Estilo para la sección de bibliografía */
.bibliografia {
    margin-top: 30px;
}

.bibliografia h2 {
    margin-bottom: 10px;
}

/* Estilo para la línea separadora */
.separador {
    margin-top: 30px;
    border-top: 1px solid #ccc;
}

.footer-page {
    background-color: #292d31;
}

.footer-text {
    color: #9699a6;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
}

.footer-section {
    background-image: url("../images/footer/footer-img.png");
    border: 1px solid #25292c;
    padding-top: 7.6%;
    padding-bottom: 8%;
}

.footer-heading-p {
    color: #ffffff;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.footer-col1 {
    color: #9699a6;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.hr-border {
    margin-top: 8px;
}

hr {
    margin-top: 8px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #33363a;
}

.footer-icons {
    text-align: right;
    margin-top: 63px;
    padding-bottom: 30px;
    padding-left: 4px;
}

.footer-date {
    opacity: 0.2;
    color: white;
}

.footer-floating-btn {
    background-color: #00bff3;
    border-radius: 100%;
    width: 50px;
    height: 50px;
}

a {
    color: #9699a6;
}

a:hover,
a:focus {
    color: #1fcefe;
    text-decoration: none;
}

/* Agregamos estilos CSS adicionales para los eventos */
#destacados {
    display: flex;
    flex-wrap: wrap; /* Permite que los eventos se envuelvan en múltiples líneas */
    justify-content: space-around; /* Distribuye uniformemente los eventos en todas las líneas */
}

/* Establecemos un ancho máximo para los eventos */
.evento {
    width: calc(25% - 2%); /* Establecemos un ancho máximo para cada evento */
    margin: 1%; /* Margen entre cada evento */
    box-sizing: border-box; /* Incluye el padding y el borde en el ancho y la altura del elemento */
}

/* Limpiamos los flotadores después de los eventos para evitar problemas de diseño */
#todos-eventos::after {
    content: "";
    display: table;
    clear: both;
}
