/* SLIDER PAGINA PRINCIPAL */

main {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    text-shadow: #fff 0 0 5px;
    background-color: rgba(239, 222, 196, 0.9);
    margin: 15px;
    border-radius: 15px;
    box-shadow: inset 0 0 15px #000;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
}

.desc {
    font-size: 1.8rem;
    line-height: 1.5;
    color: #000;
    transition: all 0.5s ease;
    vertical-align: middle;
    text-align: center;
    padding: 0 5%;
}

.titdesc {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}


.wrapperindex {
    align-self: center;
    max-width: 65%;
    aspect-ratio: 12 / 7.5;
    text-align: center;
    margin: 15px 0px;
    overflow: hidden;
    border-radius: 15px;
    border: 8px solid #fff;
    box-shadow: 0 0 15px #000;
    display: flex;
    transition: all 0.5s ease; /* transición para ancho */
}

/* ✔️ SLIDER */

.wrapper {
    max-width: 65%;
    aspect-ratio: 12 / 7.5;
    margin: 30px 15px;
    overflow: hidden;
    border-radius: 15px;
    border: 8px solid #fff;
    box-shadow: 0 0 15px #000;
    display: flex;
    transition: all 0.5s ease; /* transición para ancho */
}

/* ✔️ CONTENEDORES DE IMAGENES DE SERVICIOS */

.slider-track {
    display: flex;
    width: 400%;
    height: auto;
    animation: slide 20s infinite ease-in-out;
}

.slider-track img {
    width: 100%;
    height: 100;
    flex-shrink: 0;
    object-fit: cover;
}

@keyframes slide {
    0%, 20%   { transform: translateX(0); }
    25%, 45%  { transform: translateX(-100%); }
    50%, 70%  { transform: translateX(-200%); }
    75%, 100% { transform: translateX(-300%); }
}