.gallery {
  height: 100%;
}

.drawingBox {
  text-align: center;
  margin-bottom: 30px;
}

.drawingImg:hover {
  cursor: pointer;
  opacity: 0.8;
}

.drawingImg {
  /* filter: grayscale(100%); */
  border-radius: 5px;
  margin-bottom: -10px;
}

.drawingBox h3 {
  margin-top: 10px;
  margin-bottom: 1px;
}

.drawingBox h5 {
  margin-top: 1px;
}

.unavailable-box {
  text-align: center;
  background-color: #8989a7;
  color: white;
  padding: 10px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -10px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 16px;
}

.purchase-box {
  text-align: center;
  background-color: black;
  color: white;
  padding: 10px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -10px;
  border-radius: 20px;
  font-weight: 600;
}

.purchase-box:hover {
  background-color: #23237a;
}

@media all and (min-width: 1260px) {
  [id^=myImg_] {
    width: 400px;
    height: 400px;
  }

  .drawingBox {
    width: 32%;
    min-width: 400px;
    height: 500px;
    margin-left: 10px;
    display: inline-block;
  }

  .linkContainer {
    position: relative;
    float: left;
  }
}

@media all and (min-width: 520px)and (max-width: 1260px) {
  [id^=myImg_] {
    width: 500px;
    height: 500px;
  }

  .drawingBox {
    width: 100%;
  }
}

@media all and (max-width: 520px) {
  [id^=myImg_] {
    width: 300px;
    height: 300px;
  }

  .drawingBox {
    width: 100%;
  }


}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 650px;
  max-height: 650px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}