body {
    font-family: "Albert Sans", sans-serif;
    margin: 0;
    padding: 0;
}

.timeline-header {
    background: url('../img/BannerProgramas.jpg') no-repeat center center;
    background-size: cover;
}

.container-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Dos columnas de igual tamaño */
    gap: 20px;
    /* Espacio entre las tarjetas */
    padding: 20px;
    /* Espacio alrededor del contenedor */
    max-width: 1200px;
    /* Ancho máximo del contenedor */
    margin: 0 auto;
    /* Centrar el contenedor */
}

.card {
    cursor: pointer;
    background: #fff;
    margin: 25px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 3px solid #09C2AB;
    width: 100%;
}

/* .card {
    display: none;
}

.card.active {
    display: block;
} */

.card:hover {
    transform: translateY(-5px);
}

.circulo {
    border: 3px solid #09C2AB;
    color: rgb(240, 12, 12);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

h2,
p,
a {
    margin: 10px 0;
}

h2 {
    color: #333;
}

.raya-roja {
    border-bottom: 2px solid #F04F4A;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
}

p {
    color: #666;
    font-size: 0.9rem;
}

a {
    color: #F04F4A;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 600px) {

    .raya-roja {
        border-bottom: 2px solid #F04F4A;
        width: 70px;
        margin-left: auto;
        margin-right: auto;
    }

    .container-cards {
        display: flex;
        flex-direction: column;
    }

    .card {
        width: 80%;
    }
}