/* GALLERY */
.col-gallery {
  position: relative;
}

.gallery--work {
  text-align: center;
}

.gallery--work h5 {
  text-indent: 30px;
  color: rgb(61, 12, 2);
}

.col-gallery {
  position: relative;
  margin: 0 auto;
  width: fit-content;
}

.img--gallery {
  margin: 10px auto;
  background-color: #bf9f76;
  box-shadow: 0 0 10px 0px rgb(61, 12, 2);
  padding: 0;
  border: none;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  opacity: 1;
  display: block;
  width: auto;
  height: auto;
  max-height: 200px;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(61, 12, 2);
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
}

.col-gallery:hover .middle {
  opacity: 0.5;
}

.fa--zoom-icon {
  color: rgb(191, 159, 118);
  font-size: 30px;
  padding: 16px 32px;
  top: 25%;
  position: absolute;
  margin: 5px auto;
  position: relative;
}

.image--name {  
  text-indent: 15px;
  color: rgb(61, 12, 2);
  margin-top: 30px;
}

/* GALLERY MODAL */
.modal--content {
  background-color: transparent;
  border: none;
}

.modal--dialog {
  max-width: 750px;
}

.modal--body {
  padding: 0;
}

#modal--image{
  max-height: 90vh;
  margin: 0 auto;
}

.btn--close {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1000;
  background-color: transparent;
  color: white;
  font-size: 20px;
  border: none;
}

.btn--close:hover {
  color: burlywood;
}

@media only screen and (max-width: 768px) {

  /* MODAL */
  .modal--dialog {
    top: 30px;
  }

  #modal--image{
    max-height: 90vh;
    margin: 0 auto;
    width: -webkit-fill-available;
  }
}

@media only screen and (max-width: 425px) {
  /* GALLERY */
  .gallery--work {
    margin-bottom: 15px;
    text-align: left;
  }

  .gallery--work h5 {
    font-size: 18px;
  }

  /* MODAL */
  .modal--dialog {
    top: 30px;
  }
}


@media only screen and (max-width: 375px) {
  /* GALLERY */
  .gallery--work {
    margin-bottom: 15px;
    text-align: left;
  }

  .gallery--work h5 {
    font-size: 18px;
  }

  /* MODAL */
  .modal--dialog {
    top: 30px;
  }
}
