.tooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; 
  z-index: 1; 
  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.5); /* Black w/ opacity */
}

.person-image-template:hover{
  cursor: pointer;
}

.modal-container:not(:has(.image)) {
  max-width: 800px; 
  min-width: 320px;
  width: auto;
  margin: 30vh auto auto auto; 
  padding: 0 2.5rem;
}

.modal-container:has(.image) {
  margin: 5vh auto auto auto; 
  padding: 0;
}

@media (max-width: 820px) {
  .modal-container {
    max-width: 90%;
  }
}

@media (max-width: 700px) {
    .modal-container {
      padding: 0 1.5rem;
  }
}

.modal-content:not(.image) {
  border-radius: 8px;
  background-image: repeating-linear-gradient(225deg,
    #ffd2ff,
    #ffc7c7,
    #fce6be,
    #ffffce,
    #cafaca,
    #ceceff,
    #e9cffd);
  padding: 20px;
}

.modal-content.image {
  /* min-height: 80vh;
  min-width: 80vw; */
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0;
}