@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
    text-decoration: none;
    list-style: none;
}

.slideshow{
    position: relative;
    width: 100%;
    background-color: rgb(33, 122, 182);
    overflow: hidden;
}

.my-slideshow{
    height: 655px;
    display: none;
    overflow: hidden;
}

.my-slideshow img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

.preview, .next{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 50px;
    padding: 15px;
    cursor: pointer;
    color: #fff;
    transition: 0.1s;
    user-select: none;
    display: none;
}

.preview:hover, .next:hover{
    color: #ff0000;
}

.next{
    right: 0;
}

.chibolitas{
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 20px;
    cursor: pointer;
}

.chivola{
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 3px solid #82c41d;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
}

.activoo, .chivola:hover{
    border-color: #82c41d;
    background-color: #82c41d;
}

.slideshow img{
    transform: scale(1.5, 1.5);
    -webkit-animation-name: ampliar;
    -webkit-animation-duration: 5s;

    animation-name: ampliar;
    animation-duration: 5s;
}

@-webkit-keyframes ampliar {
    from{transform: scale(1.5, 1.5);}
    to{transform: scale(1, 1);}
    
}

@keyframes ampliar {
    from{transform: scale(1.5, 1.5);}
    to{transform: scale(1, 1);}
    
}


.animado-1{
    -webkit-animation-name: animado-1;
    -webkit-animation-duration: 1.5s;

    animation-name: animado-1;
    animation-duration: 1.5s;

}

@-webkit-keyframes animado-1 {
    from{opacity: 0.8}
    to{opacity: 1}
}

@keyframes animado-1 {
    from{opacity: 0.8}
    to{opacity: 1}
}

.texto{
    position: absolute;
    color: #fff;
    letter-spacing: 2px;
    line-height: 35px;
    top: 42%;
    left: 15%;
    -webkit-animation-name: ubicacion;
    -webkit-animation-duration: 2s;

    animation-name: ubicacion;
    animation-duration: 2s;
    z-index: 1;
}

@-webkit-keyframes ubicacion {
    from{left: 25%;}
    to{left: 15%;}
}

@keyframes ubicacion {
    from{left: 25%;}
    to{left: 15%;}
}

.texto h1{
    color: #82c41d;
    font-weight: bold;
    margin-bottom: 20px;
}

#toTop{
    
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 99;
    background-color: #82c41d;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 40px;
    height: 90px;
    border: 2px solid #82c41d;
    border-radius: 4px;
    justify-content: center;
    font-size: 16px;
    transition-property: opacity;
    transition-duration: 1s;
    overflow: hidden;
    display: none;
 
}

#toTop:hover{
   border: 2px solid #82c41d;
}

#toTop img{
    height: 34px;
    border: none;
    padding-top: 8px;
    width: 100%;
    
}

#toTop img:hover{
   
}

#toTop h6{
    height: 40px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    padding-top: 4px;
    background-color: black;
    color: #82c41d;
 
}

#toTop h6:hover{
    border: 2px solid #000;
    border-radius: 4px;
}



@media only screen and (max-width: 992px){
   .my-slideshow{
       height: 600px;
   }

   .my-slideshow {
    height: 700px;
   }

   .texto{
       line-height: 25px;
       top: 52%;
       left: 50%;
       transform: translate(-50%, -50%);
       -webkit-animation-name: ubicacion-2;
       -webkit-animation-duration: 2s;

       animation-name: ubicacion-2;
       animation-duration: 2s;

   }

   @-webkit-keyframes ubicacion-2 {
      from{top: 35%;}
      to{top: 52%}
   }

   @keyframes ubicacion-2 {
    from{top: 35%;}
    to{top: 52%}
  }

  .texto h1{
     font-size: 25px;
  }

  .texto p{
    font-size: 14px;
  }

  
  .chivola{
    width: 12px;
    height: 12px;
    border: 2px solid #82c41d;
    margin: 0 10px;
  }


}

@media only screen and (max-width: 768px){

    .texto{
        line-height: 25px;
        top: 52%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-animation-name: ubicacion-3;
        -webkit-animation-duration: 2s;
 
        animation-name: ubicacion-3;
        animation-duration: 2s;
 
    }
 
    @-webkit-keyframes ubicacion-3 {
       from{top: 35%;}
       to{top: 52%}
    }
 
    @keyframes ubicacion-3 {
     from{top: 35%;}
     to{top: 52%}
   }

   .texto h1{
      font-size: 20px;
   }

   .my-slideshow {
    height: 500px;
   }

   .chivola{
    width: 8px;
    height: 8px;
    border: 1px solid #82c41d;
    margin: 0 6px;
  }

  
}

@media only screen and (max-width: 410px){
    .slideshow{
        width: 100%;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    
}

@media only screen and (max-width: 350px){
    .slideshow{
        width: 100%;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }


}
