/* .carousel{
    margin-top: 97px;
} */

.carrusel__height{
    height: 350px;
}

.carousel-inner__caja{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.carousel-inner{
    background-color: white;
    /* background-image: url(../img/digi-bg-carrusel.png); */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    padding-top: 100px;
}

.carousel__texto{
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 5%;
    
    margin-bottom: 19px;
    
    
}
.carousel__texto h3{
    font-size: 50px ;
    font-family: 'Bungee', sans-serif;
    /* font-weight: bold; */
    
}
.carousel__texto p{
    font-size: 20px ;
    font-family: 'PT Sans', sans-serif; 
}


.carousel__button {
    text-decoration: none;
    align-items: center;
    box-shadow: 2px 2px 2px  rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #2981b4;
    display:flexbox;
    text-decoration: none;
    padding: 10px 10px;
    color: white;
    font-size: 18px;
}

.carousel__button:hover{
    text-decoration: none;
    color: blue;
}

.carousel-inner__boximg{
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 300px;
}

.carousel__img{
    max-height: 100%;
}

@media (max-width: 768px){

    .carousel-inner__caja

    .carrusel__height{
        height: 350px;
    }

    .carousel__img{
        max-height: 200px;
    }
    .carousel__texto{
        height: auto;
        flex-direction: column;
        padding: 0px;
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
    }
    .carousel__texto h3 {
        font-size: 50px;
    }
    .carousel__texto p {  
        font-size: 20px;
    }
    .carousel-inner__boximg{
        height: 100%;
    }
    .carousel__button{
        font-size: 15px;
    }
}

@media (max-width: 600px ){
    .carrusel__height {
        height: 350px; 
        margin-bottom: 35px;
    }

    .carousel__img {
        max-height: 130px;  
    }

    .carousel-inner__caja {
        grid-template-columns: 1fr;
        grid-auto-rows: 175px 175px;
    }

    /* Elimina las alturas fijas en estos elementos */
    .carousel__texto,
    .carousel-inner__boximg {
        height: 100%;
        width: 100%;

    }

    .carousel__texto{
            flex-direction: column;
            gap: 0;
            justify-content: space-evenly;
            align-items: center;
            padding-bottom: 0px;
    }
    .carousel__texto h3 {
            text-align: center;
            font-size: 45px;
    }
    .carousel__texto p {
            text-align: center;
            font-size: 15px;
    }
}

