/* @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap'); */
/* 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
} */
.container1 {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
  background-color: #f1f5f7;
  flex-wrap: wrap;
}


.img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  margin: 0 1em;
}
.img img {
  width: 100%;
  cursor: pointer;
  transition: 0.3s all ease;
}
.img img:hover {
  transform: scale(0.9);
}
.modal1 {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  z-index: 1;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
}
.modal1Content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal1Img {
  width: 80%;
  max-width: 700px;
}
.modal1Txt {
  margin-top: 1em;
}
.modal1Nav {
  margin-top: 1em;
}
.modal1Nav button {
  padding: 10px 45px;
  border: 1px solid #fff;
  background: none;
  color: #fff;
  outline: none;
  cursor: pointer;
}
.nextBtn {
  margin-left: 1em;
}
.close {
  position: absolute;
  color: #fff;
  top: 1em;
  right: 1.5em;
  font-size: 1.5em;
  cursor: pointer;
}
.modal1.appear {
  opacity: 1;
  pointer-events: all;
}
.modal1.appear .modal1Img,
.modal1.appear .modal1Txt {
  animation: zoom 0.3s linear;
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
