* {
  font-family: Verdana, Helvetica, Arial;
}

#images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.fullscreen-on .media:not(.fullscreen) {
  display: none;
}

.media {
  width: 200px;
  cursor: pointer;
}

.fullscreen {
  z-index: 2;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain;
  object-position: center;
}

#arrows-container {
  display: none;
  width: 100%;
}

.fullscreen-on #arrows-container {
  display: block;
}

a {
  cursor: pointer;
  color: blue;
}

.fullscreen-on a {
  font-size: 4em;
  text-decoration: none;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

#previous-image {
  left: 0%;
  padding: 50px 50px 50px 0px;
}

#next-image {
  right: 0%;
  padding: 50px 0px 50px 50px;
}

@media (hover:hover) {
  .fullscreen-on a {
    opacity: 0;
  }

  .fullscreen-on a:hover {
    opacity: 1;
  }

  @keyframes fadeOut {
    from {
      opacity: 1;
    }

    to {
      opacity: 0;
    }
  }
}
