/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  margin: auto;
  padding: 1rem;
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;

}

.modal-content > div {
  padding: 1rem;
}

.modal-content img {
  width: 100%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  font-size: 2rem;
  line-height: 1;
  font-weight: bold;
  align-self: flex-end;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
