:root {
  --modal-duration: 1s;
  --modal-color: #428bca;
}


.modalButton {
  background: none;
  color: #5bc80a;
  border: 0;
  cursor: pointer;
}

.modalButton:hover {
  text-decoration: none;
  color: #3c7c0c;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  margin: 10% auto;
  width: 60%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}


.modal-body {
  padding:  20px;
  background: #fff;
}

#modal-image {
    width: 100% !important;
  }  


.modal-close {
  color: #5bc80a;
  float:right;
  font-size: 30px;
  color:  #5bc80a;
}

.modal-close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

