*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: verdana;
}

.contenedor{
max-width: 1400px;
width:100%;
background:white;
margin:auto;
padding: 20px;
margin-top:50px;
border-radius:16px;
box-shadow: 0px 0px 40px -5px
}

h1{
  text-align: center;
  font-size:40px;
}

.galeria:hover{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  background: blue;
}

figure{
    width:300px;
    height:200px;
    overflow: hidden;
    margin: 5px;
 }
 
 figure img{
    width: 100%;
 } 

 
 body{
  background-image: linear-gradient(
  25deg,
  rgba(0,231,255, 1),
  rgba(42, 46, 211,1)
  );
  background-repeat: no-repeat;
}
 