#mediaModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#mediaModal img {
  max-width: 90%;
  max-height: 80%;
  margin: auto;
}

#mediaModal .fa-times,
#mediaModal .fa-arrow-left,
#mediaModal .fa-arrow-right {
  color: white;
  font-size: 2.5rem;
  position: absolute;
  cursor: pointer;
  z-index: 1002;
}

#closeModal {
  top: 20px;
  right: 30px;
}

#prevImage {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

#nextImage {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.viewable:hover {
  cursor: pointer;
}

#modalContent {
  width: 100%;
  height: 100%;
}

#modalCaption {
  position: absolute;
  bottom: 6%;
}

#closeModal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#prevImage,
#nextImage {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  padding: 10px;
  transform: translateY(-50%);
}

#prevImage {
  left: 20px;
}

#nextImage {
  right: 20px;
}

#audioPlayer {
  position: absolute;
  width: 100%;
  height: 50px;
  top: 80%;
}

#audioSpectrogram {
  position: absolute;
  width: 100%;
  height: 50%;
}