.art {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.image {
  display: block;
  position: relative;
  width: 75vw;
  height: 75vw;
  min-width: 250px;
  min-height: 250px;
  max-width: 300px;
  max-height: 300px;
  margin: 25px;
  border-radius: 50%;
  border: 15px solid var(--color-primary);
  background: #00000088;
  box-shadow: 0px 0px 10px 3px black;
  animation: moveArtY 4s ease-in-out infinite alternate;
}

.image img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 1s ease-in-out;
  object-fit: cover;
  transform: scale(1.001);
}
.image img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.image:nth-child(4n+0) {
  animation-delay: 0.0s;
}
.image:nth-child(4n+1) {
  animation-delay: 1.8s;
}
.image:nth-child(4n+2) {
  animation-delay: 0.6s;
}
.image:nth-child(4n+3) {
  animation-delay: 2.4s;
}

@keyframes moveArtY {
  0% {
    transform: translate(0px, 0px);
  }
  30% {
    transform: translate(0px, -5px);
  }
  70% {
    transform: translate(0px, 5px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

#picture-viewer {
  display: none;
}

#picture-viewer-darkness {
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: black;
  opacity: 0.7;
  text-align: center;
  z-index: 10000;
}

#picture-viewer .loading-icon {
  position: fixed;
  margin: auto;
  top: 50%;
  left: 0px;
  right: 0px;
  color: var(--color-primary);
  font-family: var(--font-brand);
  text-align: center;
  z-index: 10001;
}

#picture-viewer-image {
  position: fixed;
  margin: auto;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  max-height: 90%;
  max-width: 90%;
  z-index: 10002;
  border: 12px solid var(--color-primary);
  border-radius: 15px;
}
#picture-viewer-image:hover {
  cursor: pointer;
}
