body {
    margin:0;
}
.titulo-historia{
    font-family: 'MediumBold', sans-serif;
    color: #ce1225;
    font-size: 2.7rem;
    margin-bottom: 2rem;
    text-align: center;
}
.historia-linea{
    width: 80%;
    margin: auto;
}

.periodo{
    margin-bottom: 5rem;
    border-bottom: 3px solid #eee;
    padding-bottom: 3rem;
}
.periodo h3{
    font-family: 'MediumBold', sans-serif;
    color: #ce1225;
    font-size: 1.8rem;
    padding-bottom: 1rem;
}
.descripcion{
    font-family: 'FuturaMedium', sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    text-align: center;
}
.congreso{
    font-family: 'FuturaMedium', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
}

/*Boton*/
.btn-siguiente{
    position: absolute;
    right: 5%;
    top: 40%;
    font-size: 2.4rem;
    color: #ce1225;
    transition: transform 0.3s ease;
}
.btn-siguiente:hover{
    transform: translateX(8px);
}

/*Directivos*/
.directivos{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}
.cargo{
    text-align: center;
    width: 250px;
}
.cargo img{
    width: 150px;
    height: 190px;
    object-fit: cover;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.titulo-cargo{
    font-family: 'MediumBold', sans-serif;
    color: #ce1225;
    margin-top: 1rem;
}
.nombre{
    font-family: 'MediumBold', sans-serif;
    font-size: 1rem;
    color: #333;
}

.linea-anios{
    display: flex;
    font-family: 'MediumBold', sans-serif;
    justify-content: center;
    align-items: center;
    gap: 3.8rem;
    margin-top: 7rem;
    margin-bottom: 3rem;
    color: #ce1225;
}
.anio{
    text-decoration: none;
    font-size: 1.3rem;
    background-color: white;
    color: #CE1225;
    transition: background 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 0.3rem 0.3rem;
}
.anio:hover {
    background-color: #CE1225;
    color: white;
}
.trazo{
    display: inline-block;
    width: 50px;
    height: 10px;
    background-color: #ce1225;
    border-radius: 1px;
}
/*Botones*/
.botones-navegacion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem auto;
    max-width: 900px;
    padding: 0 2rem;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ce1225; /* Rojo AMA */
    color: #fff;
    font-family: 'FuturaMedium', sans-serif;
    font-size: 1.1rem;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.btn-nav:hover {
    background-color: #a30e1d;
    color: #eee;
    transform: translateY(-2px);
}

.btn-nav i {
    font-size: 1rem;
}

.adelante i {
    margin-left: 5px;
}

.atras i {
    margin-right: 5px;
}


/*Responsive*/
@media (max-width: 992px){
    .historia-linea{
        width: 90%;
        padding: 2rem 1rem;
    }
    .directivos{
        justify-content: center;
        gap: 1.5rem;
    }
    .cargo{
        width: 200px;
    }
    .cargo img{
        width: 160px;
        height: 210px;
    }

    .titulo-historia{
        font-size: 1.7rem;
    }
    .periodo h3{
        font-size: 1.5rem;
    }
    .descripcion{
        font-size: 1rem;
    }

    .linea-anios{
        gap: 1rem;
    }
    .anio{
    font-size: 1rem;
    }
    .trazo{
        width: 35px;
        height: 5px;
    }
}

@media (max-width: 576px) {
    .historia-linea {
        width: 95%;
    }

    .titulo-historia {
        font-size: 1.4rem;
    }

    .directivos {
        flex-direction: column;
        align-items: center;
    }
    .cargo {
        width: 100%;
    }
    .cargo img {
        width: 130px;
        height: 130px;
    }

    .titulo-cargo {
        font-size: 0.9rem;
    }

    .nombre {
        font-size: 0.9rem;
    }

    .periodo h3 {
        font-size: 1.3rem;
    }

    .descripcion {
        font-size: 0.95rem;
    }

    .linea-anios {
        gap: 0.4rem;
    }

    .trazo {
        width: 25px;
        height: 4px;
    }
}


/*Fuentes*/
@font-face {
    font-family: 'FuturaMedium';
    src: url('/fonts/futura\ light\ bt.ttf') format('woff2');
}
@font-face{
    font-family: 'MediumBold';
    src: url('/fonts/Futura\ Heavy\ font.ttf') format('woff2');
}