


im-modal {
  display: block;
  max-width: 100%;
}

.galeria {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.galeria__item {
  width: 100%;
  cursor: pointer;
}
@media (min-width: 400px) and (max-width: 500px) {
 .galeria__item {
    width: 100%;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
}
}
@media (min-width:480px) {
.galeria__item {
    width: 100%;
    margin: 0px;
    padding: 0px;
}
.galeria__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* filter: brightness(70%); */
    /* animation: escalar 1.5s infinite alternate; */
}
.pagination {
    padding: 10px 0px 20px 20%;
    width: 100%;
    float: left;
}
}
@media (min-width:768px) {
.galeria__item {
    width: 100%;
    padding: 0px;
    margin: 0px;
}
.galeria__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* filter: brightness(70%); */
    /* animation: escalar 1.5s infinite alternate; */
}
.hov:hover {
    width: 100%;
    height: 51px;
    color: white;
    margin: 0px;
    padding: 10px 0px;
    background: #00bae7;
    font-size: 15px;
    font-weight: bold;
}
.pagination {
    padding: 10px 0px 20px 20%;
    width: 100%;
    float: left;
}
}
@media (min-width:1024px) {
.galeria__item {
    width: 100%;
    padding: 0px;
    margin: 0px;
}
.galeria__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* filter: brightness(70%); */
    /* animation: escalar 1.5s infinite alternate; */
}
.hov:hover {
    width: 100%;
    height: 51px;
    color: white;
    margin: 0px;
    padding: 10px 0px;
    background: #00bae7;
    font-size: 15px;
    font-weight: bold;
}
}

.modal {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  top: 0;
  left: 0;
  
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__im-modal {
  width: 70%;
  max-width: 700px;
}

.modal__boton {
  width: 50px;
  height: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 25px;
  font-family: monospace;
  line-height: 50px;
  text-align: center;
  background: red;
  border-radius: 50%;
  cursor: pointer;
  
  position: absolute;
  right: 10px;
  top: 10px;
}
