/*imagenes gif */
.texto h2{
    font-size: xx-large;
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
.container img{
    width: 180px;
    height: 250px;
    border-radius: 20px;
    margin: 5px;
    
}
.container{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    max-width: 100%;

    
}
.container video{
    width: 180px;
    height: 250px;
    border-radius: 20px;
    margin: 5px;
    
}

@media (min-width: 350px) and (max-width: 700px){
    

    body{
        background-color: rgb(35, 34, 34)
    }
    .container img{
    width: 180px;
    height: 250px;
    border-radius: 20px;
}
.container{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
     justify-content: flex-start;
    
}

}


/* Slider */
*{
    padding: 0;
    margin: 0;
}

.slider{
    width: 100%;
    height: 510px;
    margin: auto;
    overflow: hidden;
    
}
.slider ul{
    padding: 0;
    display: flex;
    width: 400%;

    animation: slider 20s infinite alternate;
    animation-timing-function: linear;
}
.slider li{
    width: 100%;
    list-style: none;
}
.slider li img{
    width: 100%;
    height: 500px;
}
@keyframes slider{
    0%{margin-left: 0;}
    20%{margin-left: 0;}

    25%{margin-left:-100%;}
    45%{margin-left: -100%;}

    50%{margin-left: -200%;}
    70%{margin-left: -200%;}

    75%{margin-left: -300%;}
    100%{margin-left: -300%;}
}
/*Galeria de imagenes */
h1{
    text-align: center;
}
.container-padre{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 800px;
    flex-wrap: wrap;
    background-image: url(img/galeria-img/maquina.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.container-img{
    border: 1px solid white;
    width: 250px;
    height: 350px;
    margin: 10px;
    border-radius: 20px;
}
.container-img img{
    width: 250px;
    border-radius: 20px;
    height: 200px;

}
.text-img p{
    text-align: center;
    color: white;
}

.text-img .down{
    color: white;
}
.text-img .white{
    color: white;
}
@media (min-width: 350px) and (max-width: 700px){
    .container-padre{
    display: flex;
    justify-content: center;
    display: grid;
    grid-template-columns: auto auto;
    background-image: none;
    margin: 0px;
    margin-top: 1800px;
}
.container-img{
    
    width: 180px;
    height: 350px;
    margin: 5px;
     box-shadow: 5px 5px #040404;
    border: 1px solid black;
    
}
.container-img img{
    width: 180px;
    
    height: 130px;
    

}
.text-img p{
    color: white;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 800;
}
.text-img .white{
    color: white;
}
.text-img{
    margin-top: 30px;
}

}

/*four img */
.four-img{
    display: flex;
    justify-content: space-around;
    height: 400px;
    margin-bottom: 20px;
}
.img-four{
    
    height: 400px;
    width: 300px;
       

}
.img-four img{
    width: 300px;
    height: 400px;
}
@media (min-width: 350px) and (max-width: 700px){
    .four-img{
        display: block;
        
    }
    .img-four{
        padding: 15px;
        border: 1px solid white;
        width: 100%;
        height: 500px;
    }
    .img-four img{
    width: 100%;
    height: 500px;
}

}