body .custom-carrousel-controller {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    margin: 0;
    width: 100%;
    height: 70vh;
}

body .custom-carousel {
    position: relative;
    height: auto;
    width: 82vw; /* Cambiar a un 100% */
    max-width: 92%;
    overflow: hidden;
}

body .custom-carousel-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

body .custom-carousel-item {
    min-width: 25%; /* Cada item ocupa un tercio del ancho del carrusel */
    box-sizing: border-box;
    padding: 10px;
    height: 17rem; /* Altura fija para las tarjetas */
}

body .custom-card{
    position: relative;
    border-radius: 15px; /* Bordes redondeados */
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ocupa el 100% del item del carrusel */
    height: 100%; /* Altura fija para la tarjeta */
    cursor: pointer;
}



body .custom-img-container img {
    width: 98%;
    height: 94%; /* Ocupa todo el contenedor */
   
    opacity: 90%;
    border-radius: 9px;
}

body .custom-card-text {
    position: absolute;
    height: 100%;
    bottom: -213px;
    left: 0px; /* Espaciado desde la izquierda */
    right: 0px; /* Espaciado desde la derecha */
    background: rgba(67, 67, 67, 0.7) ;
    padding: 10px;
    color: white;
    text-align: justify;
    cursor: pointer;
    transition: 0.5s ease;
    
}

body .custom-card:hover .custom-card-text{

    position: absolute;
    bottom: -90px;
    transition: 0.5s ease;
    background: rgba(7, 7, 7, 0.85); /* Fondo blanco semitransparente */
}


body .custom-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-title {
    font-size: 1.4rem; /* Tamaño de letra grande */
    font-weight: bold; /* Texto en negrita */
    color: #2c3e50cd; /* Un tono azul oscuro elegante */
    text-align: center; /* Centrar el texto */
    margin-bottom: 30px; /* Espacio debajo del título */
    letter-spacing: 1.5px; /* Espaciado entre letras */
    text-transform: uppercase; /* Texto en mayúsculas */
    position: relative; /* Para agregar un decorado */
}
body .custom-card-text h5{

    font-size: 15px;
    text-align: start;
    padding-bottom: rem;
    transition: 0.5s ease;
}


body .custom-card:hover h5{

    /* background-color: white; */
    padding: 3px;
    color: white;
    border-radius: 2px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.382);
}

body .custom-card-text p {
    text-align: start;
    font-size: 15px;
}

body .custom-card-text:hover {
   
}

body .custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 20px;
}

body .custom-carousel-control.prev {
    left: 10px;
}

body .custom-carousel-control.next {
    right: 10px;
}



@media (max-width: 768px) {
    body .custom-carrousel-controller {

        width: 100%;
        height: max-content;
        /* overflow: scroll; */
        padding-top:1rem ;
    }
    body .custom-carousel {
        position: relative;
        height: auto;
        width: 99vw; /* Cambiar a un 100% */
        max-width: 99%;
        overflow: hidden;
    }
    .custom-carousel .custom-carousel-inner {
        flex-direction: column;
        text-align: center;
        /* overflow: scroll; */
        width: 100vw;

    }

    body .custom-carousel-inner .custom-carousel-item {
        width: 100vw;
        box-sizing: border-box;
        padding: 10px;
        height: 22rem; /* Altura fija para las tarjetas */
    }

    body .custom-carousel-item .custom-card{
        min-width: 95%; /* Cada item ocupa un tercio del ancho del carrusel */

    }

    body .custom-card-text {
        position: absolute;
        height: 100%;
        bottom: -293px;
        left: 0px; /* Espaciado desde la izquierda */
        right: 0px; /* Espaciado desde la derecha */
        background: rgba(67, 67, 67, 0.7) ;
        padding: 10px;
        color: white;
        text-align: justify;
        cursor: pointer;
        transition: 0.5s ease;
        
    }
    body .custom-card:hover .custom-card-text{

        position: absolute;
        bottom: -220px;
        transition: 0.5s ease;
        background: rgba(7, 7, 7, 0.85); /* Fondo blanco semitransparente */
    }

    body .custom-card-text h5{
        
        font-size: 16px;
        text-align: start;
        padding-bottom: rem;
        transition: 0.5s ease;
    }
    


}