

#image-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.slider-image {
  width: 8em;
  height: 8em;
  object-fit: cover;
  border: 1px solid var(--background);
  transition: 0.3s;
  margin: 0.5em;
}

.slider-image:hover {
  opacity: 0.8;
  border: 1px solid black;
}


#fs-holder {
  position: fixed;
  width: 80vw;
  height: 80vh;
  top: 10vh;
  left: 10vw;
  display: none;
  opacity: 0;
  z-index: 20;
}

#fs-shadow {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  display: none;
  opacity: 0;
  z-index: 10;
}

#image-preview-fullscreen {
  height: 100%;
  width: 100%;
  margin: auto;
  text-align: center;
  top: 0;
  left: 0;
  object-fit: contain;
}

#close-image-popup {
  display: none;
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 100;
  padding: 0.5em;
  opacity: 0;
}


@media only screen and (max-width: 1400px) {
  #image-slider {
    font-size: 0.95rem;
  }
}

@media only screen and (max-width: 700px) {

  .slider-image {
    width: 7em;
    height: 7em;
  }
}

@media only screen and (max-width: 500px) {

  .slider-image {
    width: 6.5em;
    height: 6.5em;
  }
}

