
/* Estilo da imagem */
.imageinmodal {
  cursor: pointer;
}

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

/* Conteúdo do modal */
.modal-img-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
}

/* Estilo da imagem no modal */
#modalImgInner {
  transition: 0.3s;
}

/* Conteúdo do imagem */
.modal-img-inner {
  max-width: 80vw;
  max-height: 75vh;
  display: block;
}

/* Caption da imagem */
#modalImgCaption {
  width: 80%;
  max-width: 800px;
  height: 70px;
  padding: 10px 0;
  display: block;
  text-align: center;
  color: #ccc;
}

/* Animação Zoom */
.modal-img-inner,
#modalImgCaption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

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

  to {
    transform: scale(1)
  }
}

/* Fechar modal */
.modal-img-close {
  position: absolute;
  top: 35px;
  right: 35px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  color: #f1f1f1;
  font-size: 32px;
  font-weight: bold;
  text-align: right;
  border: 1px solid white;
  border-radius: 50%;
  transition: 0.3s;
}


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

/* Imagem responsiva */
@media only screen and (max-width: 700px) {
  .modal-img-inner {
    width: 100%;
  }
}