h1 {
    left: 0;
    text-align: center;
    font-weight: bolder;
    padding: 40px 0px 0px 0px;
}

.fotos p {
    padding: 10px;
}

p {
    text-align: justify;
}

.col {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.slider {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    animation: animate 25s infinite;
}

.slider img {
    display: none;
}

@keyframes animate {
    0%,
    16% {
        background-image: url(/assest/images/historia/historia1.jpg);
        background-size: cover;
    }
    16%,
    32% {
        background-image: url(/assest/images/historia/historia2.jpg);
        background-size: cover;
    }
    32%,
    48% {
        background-image: url(/assest/images/historia/historia3.jpg);
        background-size: cover;
    }
    48%,
    64% {
        background-image: url(/assest/images/historia/historia4.jpg);
        background-size: cover;
    }
    64%,
    80% {
        background-image: url(/assest/images/historia/historia5.jpg);
        background-size: cover;
    }
    80%,
    100% {
        background-image: url(/assest/images/historia/historia6.jpg);
        background-size: cover;
    }
    100%,
    16% {
        background-image: url(/assest/images/historia/historia1.jpg);
        background-size: cover;
    }
}


/*
.slider figure {
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
}

.slider img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}*/

.fotos-celu {
    display: none;
}

.fotos {
    display: flex;
    flex-direction: column;
    align-items: left;
}

.fotos .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 0%;
}

.fotos .col {
    width: 50%;
    margin-bottom: 20px;
}

@media (max-width: 1400px) {
    .fotos {
        display: none;
    }
    .slider {
        height: auto;
        aspect-ratio: 16 / 9; /* para que se adapte con buena proporción */
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    .fotos-celu {
        background-size: cover;
        display: flex;
        width: 100%;
        padding-bottom: 30px;
    }
}


/*
.slider figure:nth-child(1) img {
    animation: showImage 40s infinite;
}

.slider figure:nth-child(2) img {
    animation: showImage 40s infinite 5s;
}

.slider figure:nth-child(3) img {
    animation: showImage 40s infinite 10s;
}

.slider figure:nth-child(4) img {
    animation: showImage 40s infinite 15s;
}

.slider figure:nth-child(5) img {
    animation: showImage 40s infinite 20s;
}

.slider figure:nth-child(6) img {
    animation: showImage 40s infinite 25s;
}*/


/*
.position{
    position: absolute;
    transform: translate(-50%, -50%);
}

.slider{
    background-image: url(/assets/images/historia/historia1.jpg);
    background-size: cover;
    height: 50%;
    width: 50%;
    border-radius: 20px;
    animation: animate 10s infinite;
}

@keyframes animate{
    20%{
        background-image: url(/assets/images/historia/historia1.jpg);
        background-size: cover;
    }
    40%{
        background-image: url(/assets/images/historia/historia3.jpg);
        background-size: cover;
    }
    60%{
        background-image: url(/assets/images/historia/historia4.jpg);
        background-size: cover;
    }
    80%{
        background-image: url(/assets/images/historia/historia5.jpg);
        background-size: cover;
    }
    100%{
        background-image: url(/assets/images/historia/historia6.jpg);
        background-size: cover;
    }
}*/