.carosel-root{position:relative;margin:10px 0;}

.carosel{width:95%;margin:auto;}

.carosel .carosel-item{height:auto;line-height:150px;text-align:center;}

.carosel-nav{position:absolute;text-align:center;padding:5px 10px;border:0;border-radius:50%;background:rgba(0, 0, 0, 0.3);top:calc(50% - 5px);color:#f4f4f4;cursor:pointer;}

.carosel-nav-left{left:3px;}
.carosel-nav-right{right:3px;}


.card-carrusel-cuadrado {
    margin: 0 45px;
    display: flex;
    flex-direction: column;
    background-color: white;
    text-decoration: none;
}


.imagen-carrusel-cuadrado img{
    border-radius: 0%;
    background: #fff;
    border: 1px solid #f6f6f6;

}

a:hover {
  /*background-color: gold;*/
    border-radius: 0%;
   /* background: rgba(0, 0, 0, 0);*/
    border: 1px solid #c2cbce;
     border-top: white;
    border-right: white;
    border-left: white;
}



.imagen-carrusel-cuadrado {width:95%;margin:auto;}


.carosel {
    
    margin: 2% auto 1%;
}

.texto-carrusel {
    text-align: center;
    color: #333;
    line-height: 1.8;
    padding: 2% 0;
    font-family: 'Roboto',sans-serif;
    font-size: 1.2rem;
    font-weight: lighter;
}
    




.texto-carrusel span{font-weight:bold}



@media (max-width: 1340px){.texto-carrusel{font-size:1.4rem}}

@media (max-width: 1240px){.texto-carrusel{font-size:1.2rem}}@media (max-width: 780px){.texto-carrusel{font-size:1.2rem}}


@media (max-width: 600px){
    
    .card-carrusel-cuadrado{
        margin:0 2px;display:flex;
        flex-direction:column;
        background-color:white;
        text-decoration:none;}
    
    
   .carosel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 1% auto 3%;
    width: 95%;
}
    
    .carosel .carosel-item {line-height: 1.2; width: 23%; margin: 0 1% 0 auto; flex: 0 0 auto;}.texto-carrusel{font-size:1rem}}

@media (max-width: 440px){
.carosel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 1% auto 1%;
    width: 98%;}
    
    .texto-carrusel {
    font-size: 1rem;
    line-height: 1.3;
}
}


@media (max-width: 400px){
    .texto-carrusel{
        font-size:0.75rem;
        line-height: 1.3;
    }
    
    .carosel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 1% auto 1%;
    width: 98%;
}
    
    .card-carrusel-cuadrado {
    margin: 0 -2px;
    display: flex;
    flex-direction: column;
    background-color: white;
    text-decoration: none;
}
    
    carosel-root {
    position: relative;
    margin: -11px 0;
}
.carosel-root {

}

