img{ 
    max-width:100%;
    height: auto;
  }
h2{
    font-size:15px;
    margin-top: 10px;
 }

 h4{
    color: rgb(167, 167, 167);
    font-size: 12px;
 }
button{
    border: none;
    color: rgb(167, 167, 167);
}
button:hover{
    color: rgb(93, 114, 97);
}
p{
    color: rgb(90, 90, 90);
   
}
a{
    color: rgb(167, 167, 167);
}
a:hover{
    color: rgb(93, 114, 97);
    text-decoration: none;
} 
li{
    list-style: none;
}
.hero{
    width:100%;
    margin:0 auto;
    overflow: hidden;
}
.hero ul{
    display:flex;
    padding:0;
    width:300%;
    animation: cambio 16s infinite;
    animation-direction: altenate;
}
.hero li {
    width:100%;
}
.hero img {
    width:200%;
    height:43vh;
}
@keyframes cambio {
    0% {margin-left: 0;}
    15% {margin-left: 0;}

    20% {margin-left: -100%;}
    75% {margin-left: -100%;}

    80% {margin-left: -200%;}
    100% {margin-left: -200%;}
}
 @media(min-width:1030px){
    .title{
        margin-top: 60px;
    }
    section{
        margin-top: 25px;
    }
    p{
        padding: 0 200px;
    }
  
    .hero{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        place-content: center;
        
    }
    .hero ul{
        animation: none;
    }
    .hero img{
        height: 310px;
        width: 100%;
    }
.center{
    text-align: center;

 
}
}

