.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  align-content: center;
}

.modal-content {
  margin: 5% auto;
  max-width: 90%;
  max-height: 80%;
  justify-self: center;
  color: black;
}

.modal-content img {
  width: auto;
  height: 80vh;
  color: #fff;
}

.modal-caption {
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.clickable-img {
  cursor: pointer;
  transition: 0.3s;
}

.poster .image-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.poster .background_img {
  width: 100%;
  height: auto;
  display: block;
}

/* Puzzle pieces */
.poster .puzzle-piece {
  position: absolute;
  transform: translate(-50%, -50%);
}

/* Disable hover effect */
.poster .puzzle-piece.disabled {
  pointer-events: none;
}

.modal-white-content {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin: auto;
  text-align: center;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);

  height: 80vh;
  aspect-ratio: 16 / 9;
  width: 60vw;

  align-content: space-around;
}

.modal-white-content h2 {
  color: black !important; /* overrides other styles */
}

.modal-white-content a {
  color: blue !important; /* overrides other styles */
}
