/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

[class$="_gallery"] {
  width: 80%;
  margin: 100px auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

[class$="_gallery"] img {
  width: 80%;
  cursor: pointer;
  transition: 1s ease;
}

[class$="_gallery"] img:hover {
  transform: scale(1.05);
  box-shadow: 0 32px 75px rgba(68, 77, 135, 0.2);
}

/* Wrapper */
.imageWrapper {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

/*.imageWrapper img {*/
    /* width: 90%; */
    /*max-height: 500px;
}*/

.modalContent {
  display: flex;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-height: 80%;
  max-width: 90%;
  gap: 20px;
}

.modalContent img {
  max-height: 500px;
  object-fit: contain;
}

.infoText {
  color: #000;
  max-width: 300px;
}

.imageWrapper span {
    position: absolute;
    top: 5%;
    right: 5%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}