#main{
    background-image: url('../img/fondoconocenosmovil.webp');
    background-repeat: no-repeat;
    background-position: center 35%;
    background-size: cover;
}
#logocab{
    width: 230px;
    display: block;
    margin-left: auto;
    margin-top: -30px;
}
.titlewhite{
    font-family: 'AvantGarde';
    font-size: 4.5em;
    font-weight: 700;
    color: white;
    text-shadow: 1px 2px 1px #00000087;
    text-align: left;
    margin-left: 70px;
    margin-bottom: 0px;
}
.textwhite{
    color: white;
    font-weight: 500;
    text-align: justify;
    font-size: 1.5em;
    line-height: 1.2;
    text-shadow: 1px 2px 1px #00000087;
}
.divtext{
    padding: 0px 5%;
    justify-items: center;
    height: calc(100dvh - 290px);
    align-items: center;
}
.imggallery{
    max-width: 100%;
    width: 75%;
    display: block;
    margin: auto;
}
#carrusel .item{
    background: linear-gradient(180deg, rgba(87, 194, 224, 0) 10.4%, rgba(87, 194, 224, 0.63) 54.06%);
    padding: 0px 15px;
    padding-bottom: 45px;
    padding-top: 10px;
}
#carrusel .item h2{
    font-family: 'AvantGarde';
    font-size: 3em;
    font-weight: 700;
    color: white;
    margin-bottom: 0px;
    text-align: center;
    line-height: 1.2;
    height: 115px;
}
.slick-slide {
    margin: 0 25px;
}
  
.slick-prev,
.slick-next {
  display: none !important;
}

.slick-custom-prev,
.slick-custom-next {
  background: none;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  cursor: pointer;
}
.slick-custom-prev img{
    transform: rotate(180deg);
}

.slick-custom-prev {
  left: -50px; /* Ajusta según sea necesario */
}

.slick-custom-next {
  right: -50px; /* Ajusta según sea necesario */
}

.slick-custom-prev img,
.slick-custom-next img {
  width: 30px; /* Ajusta el tamaño de las flechas */
  height: auto;
}

.slick-dots li button:before {   
    font-size: 29px;   
    width: 29px;
    height: 29px;  
    color: #ffffff;  
    opacity: 1;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #0266a7;
}


.slick-dots li {
    position: relative;
    display: inline-block;
    width: 29px;
    height: 29px;
    margin: 0 4px;
    padding: 0;
    cursor: pointer;
}
.slick-dots {
    bottom: -42px;
}

.showmovil{
    display: none ;
}




@media only screen and (max-width: 1950px) {
    #carrusel .item h2 {
        font-size: 2.8em;
    }
}

@media only screen and (max-width: 1690px) {
    #logocab {
        width: 200px;
        margin-top: -10px;
    }
    .titlewhite {
        font-size: 3.5em;
    }
    
}
@media only screen and (max-width: 1601px) {
    .titlewhite {
        font-size: 3.3em;
    }
    #carrusel .item h2 {
        font-size: 2.2em;
    }
}

@media only screen and (max-width: 1450px) {
    .titlewhite {      
        font-size: 3.5em;
    }
 
    .textwhite {
        font-size: 1.3em;
    }
    
    .divtext {
        height: calc(100dvh - 250px);
    }
    #carrusel .item h2 {
        font-size: 2em;
        height: 80px;
    }
    #carrusel .item {
        padding-bottom: 35px;
    }
}
@media only screen and (max-width: 1380px) {
    .titlewhite {
        font-size: 2.7em;
    }
    #logocab {
        margin-bottom: 0;
    }
    .divtext {
        height: calc(100dvh - 230px);
    }
    #carrusel .item {
        padding-left: 10px;
    }
    #carrusel .item {
        padding-right: 10px;
    }
    #carrusel .item h2 {
        font-size: 1.9em;
        height: 80px;
    }
   
    
}

@media (min-width: 1340px) and (max-width: 1355px) and 
       (min-height: 590px) and (max-height: 610px) {
       
        /* .textwhite {
            font-size: 1.1em;
        } */
        #logocab {
            width: 160px;
        }
       
}
@media only screen and (max-width: 1285px) {
 
    
    #logocab {
        margin-bottom: 0;
    }
   
    .textwhite {
        font-size: 1.2em;
    } 
    #carrusel .item h2 {
        font-size: 1.7em;
        height: 70px;
    }
  
}
@media only screen and (max-width: 1025px) {
    #logocab {
        width: 170px;
        margin-top: -5px;
    }
   
    .textwhite {
        font-size: 1em;
    }
    .titlewhite {
        font-size: 2em;
    }
    #carrusel .item h2 {
        font-size: 1.3em;
        height: 50px;
    }
    .slick-slide {
        margin: 0 15px;
    }
   
}

@media only screen and (max-width: 961px) {
    #logocab {
        margin-bottom: 0;
    }
    .divtext {
        height: calc(100dvh - 200px);
        padding: 0px 4%;
    }
 
    .textwhite {
        padding: 0px 10px;
    }
}

@media only screen and (max-width: 850px) {
    #logocab {
        width: 130px;
    }
    .titlewhite {
        font-size: 1.45em;
    }
    .textwhite {
        font-size: 0.8em;
    } 
  
    .divtext {
        padding: 0px 3%;
    }
    #carrusel .item h2 {
        font-size: 1.1em;
    }
  
    .slick-custom-prev {
        left: -30px;
    }
    .slick-custom-next {
        right: -30px;
    }
    
}

@media only screen and (max-width: 770px) {
    #main{
        background-position: top left;
    }
    #logocab {
        width: 145px;
        margin-top: 0;
        margin-bottom: 42px;
    }
    .titlewhite {
        font-size: 1.8em;
        text-align: center;
    }
   
  
    /* logo fijo movil */
    .scrollmovil{
        height: calc(100dvh - 150px);
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
    }
    .contentlogomovil{
        height: 50px;
        position: relative;
    }
    #logocab {
        width: 145px;
        margin-top: 0;
        margin-bottom: 0;
        position: absolute;
        right: 0;
    }
    /* fin logo fijo movil */
   
    .textwhite {
        font-size: 1em;
    } 
    .divtext {
        padding: 0px 4%;
    }
    #carrusel .item h2 {
        font-size: 1.8em;
        height: 70px;
    }
    .noshowmo{
        display: none !important;
    }
    .showmovil{
        display: flex;
    }
    .titlewhite {
        font-size: 2em;
        text-align: center;
        margin: auto;
        padding: 6px 15px;
        background: #0266A7D9;
        border-radius: 54px;
    }
    #carrusel {
        margin-top: -35px !important;
    }
}
@media only screen and (max-width: 500px) {
 
    .divtext {
        padding: 0px 1%;
    }
    .slick-slide {
        margin: 0 15px;
    }
    .slick-custom-prev {
        left: -5px;
    }
    .slick-custom-next {
        right: -5px;
    }
    #carrusel {
        margin-top: -50px !important;
    }
}
@media only screen and (max-width: 380px) {
  
   
    .titlewhite {
        font-size: 1.9em;
    }
    #logocab {
        margin-bottom: 30px;
    }
    #carrusel .item h2 {
        font-size: 1.7em;
        height: 65px;
    }
    .imggallery {
        width: 70%;
    }
}

@media only screen and (max-width: 320px) {
  
    .titlewhite {
        font-size: 1.6em;
    }
    
    .textwhite {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    #carrusel .item h2 {
        font-size: 1.6em;
    }
}
