.historia-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 18px 6px rgb(0 0 0 / 6%);
    margin: 20px auto;
    max-width: 1000px;
    position: relative;
}

.side-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    position: absolute;
    left: -15%;
    top: 30%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.carousel-container {
    width: 75%;
    max-width: 65%;
    overflow: hidden;
    padding-left: 0px;
    position: relative;
    left: 33%;
}

.carousel-text {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
}

.historiap {
    min-width: 93%;
    padding: 20px;
    box-sizing: content-box;
    margin: 0;
    text-align: -webkit-auto;
    font-size: 1em;
    color: black;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.indicadores {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indicadores.active {
    background-color: #E05C4F;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .side-image {
        width: 65%;
        height: auto;
        position: relative;
        left: 50%;
        top: -50px;
        transform: translateX(-50%);
        margin-bottom: 20px;
        z-index: 1;
    }

    .carousel-container {
        width: 100%;
        max-width: 100%;
        left: 0;
    }

    .historiap {
        min-width: 88%;
        text-align: justify;
    }

    .historia-container {
        max-width: 90%;
        margin: 10px auto;
        padding: 20px;
    }
}
