.masonry {
    column-count: 3;
    column-gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.masonry img {
    width: 100%;
    margin-bottom: 1rem;
    display: block;
    /* border-radius: 4px; */
    box-shadow: 0 0 5px 1px var(--color-0);
    border: 1px solid var(--color-0);
    background: #111;
    cursor: pointer;
}

@media (max-width: 768px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .masonry {
        column-count: 1;
    }
}

.art-item {
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.label {
    position: absolute;
    left: 1px;
    bottom: 1px;
    background: rgba(14, 19, 3, 0.85);
    color: var(--color-0);
    font-size: 0.8rem;
    padding: 0.5rem;
    width: calc(100% - 1rem);
    opacity: 0;
}

.art-item:hover .label {
  opacity: 1;
}


.fullscreen-img {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-img img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px var(--color-0);
  border: 1px solid var(--color-0);
}