#s-carousel-historia {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
    position: relative;
}

#carousel-historia {
    width: 100%;
}

.s-time-line {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-top: 1px solid #fff;
    margin: 40px 0px;
}

.content-time-line {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    position: relative;
}

.card-time-line {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    gap: 15px;
}

.card-time-line::before {
    width: 20px;
    height: 20px;
    content: "";
    background-color: #fff;
    border-radius: 20px;
    position: absolute;
    top: -10px;
    z-index: 1;
}

.card-time-line span{
    font-size: 90px;    
	font-family: "CenturyGothic-Bold";
    color: #fff;
}

.card-time-line img{
    width: 80%;
}

.card-time-line h4{
    font-size: 22px;    
	font-family: "CenturyGothic-Bold";
    color: #fff;
    text-align: center;
}

.card-time-line p {
    width: 90%;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.bnn-izq {
    left: 10px;
}

.bnn-der {
    right: 10px;
}

@media screen and (max-width: 1024px) {
    .content-time-line {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 15px;
        border-left: 1px solid #fff;
    }

    .s-time-line {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border-top: none;
        margin: 40px 0px;
    }

    .card-time-line::before {
        width: 20px;
        height: 20px;
        top: auto;
        z-index: 1;
        left: -10px;
    }

    .card-time-line {
        justify-content: center;
        padding-top: 0px;
    }

    .card-time-line span {
        font-size: 60px;
    }

    .card-time-line p {
        width: 100%;
    }
}