/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  padding-top: 5rem; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color:rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: var(--color-bg-lighter, gray);
  margin: auto;
  padding: 0;
  border: 1px solid  var(--color-fg-dark, darkgray);   /* #888;*/
  width: 95%;
  height: 90%;

  .modal-header {
    background-color: var(--color-bg-light, lightgray);
    height: 3.8rem;
  }

  .title {
    position: relative;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-fg-darker, gray);
  }

  img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    padding: 0.5rem;
  }
}

/* The Close Button */
.close {
  color: var(--color-fg-darkest, gray);
  float: right;
  font-size: 2.8rem;
  font-weight: bold;
  padding-right: 1rem;
}

.close:hover, .close:focus {
  color: var(--color-fg-dark, black);
  text-decoration: none;
  cursor: pointer;
}
