img {
    width: 100%;
}
.modal.inactive {
  	opacity: 0;
  	visibility: hidden;
  	transition: opacity 0.5s;
}
/* https://codepen.io/maziarzamani/pen/oxBKxX */
.modal, .modal-content {
  position: absolute;
  top:0;
  left:0;
  height:100%; /* Full height */
  width: 100%; /* Full width */
}
/* https://www.w3schools.com/howto/howto_css_modals.asp */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  z-index: 1; /* Sit on top */
  overflow: hidden;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  /*-webkit-animation-name: animatefade;
  -webkit-animation-duration: 0.4s;
  animation-name: animatefade;
  animation-duration: 0.4s*/
}

/* Add Animation */
@-webkit-keyframes animatefade {
  from {opacity:0}
  to {opacity:1}
}

@keyframes animatefade {
  from {opacity:0}
  to {opacity:1}
}

/* The Close Button */
.close {
  padding-right: 2vw;
  color: gray;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  height: 3vw;
  background-color: white;
  color: white;
}

.modal-body {
}

.modal-footer {
  background-color: white;
  color: black;
  margin: auto;
}