.loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-indicator .spinner {
  border: 5px solid #ddd;
  border-bottom-color: transparent;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-wrapper {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.gallery-left,
.gallery-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image h3 {
  position: absolute; /* as you mentioned */
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
}

@media (min-width: 700px) {
}
.design-portfolio {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  font-family: "Calligraffitti", cursive;
  flex-direction: column;
  padding-top: 100px;
  font-size: clamp(20px, 5vw, 45px);
  margin: 0 auto;
}
.design-portfolio span {
  font-family: "Calligraffitti", cursive;
}
.design-portfolio a {
  font-size: 16px;
  opacity: 0.7;
  padding: var(--padding);
}
.section-gallery {
  width: 90%;

  margin: 0 auto;
}
.gallery .image {
}
.gallery .image img {
  border-radius: var(--radius);
  object-fit: contain;
  width: 100%;
  height: auto;
}

.gallery .image h3 {
  left: 5px;
  top: 5px;
  padding: 10px;
  display: flex;
  transform: translate(0, 0%);
  position: absolute;
  align-items: center;
  border-radius: var(--radius);
  padding: 5px var(--padding);
  background: var(--turner);
  color: var(--turner-turn);
  font-size: 12px;
  font-weight: 300;
  overflow: hidden;
  transition: 0.3s;
  opacity: 0;
}
.gallery .image .image-description {
  left: 0px;
  bottom: 0px;
  padding: 10px;
  display: flex;
  transform: translate(0, 0%);
  position: absolute;
  align-items: center;
  padding: 5px var(--padding);
  backdrop-filter: blur(50px);
  color: var(--turner);
  font-size: 17px;
  font-weight: 300;
  text-shadow: 0 0 15px black;
  overflow: hidden;
  transition: 0.3s;
  width: 100%;
  opacity: 0;
}
.gallery .image:hover .image-description {
  opacity: 1;
}
.heading-category {
  background-image: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.07),
    transparent
  );
  border-radius: var(--radius);
  padding: var(--padding);
  text-align: center;
  text-transform: capitalize;
}
.last-updated {
  width: 100%;
  text-align: center;
  padding: var(--padding);
}
.gallery .image:hover h3 {
  opacity: 1;
}

.image[data-date]:has(.new-badge):hover::after {
  content: attr(data-date);
  top: 5px;
  position: absolute;
  border-radius: var(--radius);

  right: 15px;
  overflow: hidden;
  padding: 5px var(--padding);
  background: var(--turner);
  color: var(--turner-turn);
  font-size: 12px;
  max-width: 500px;
  white-space: nowrap;
  transform: translate(-50%, 00%);
  animation: showing 1s linear 1;
}
.image[data-date]:hover::after {
  content: attr(data-date);
  top: 5px;
  position: absolute;
  border-radius: var(--radius);

  right: 5px;
  overflow: hidden;
  padding: 5px var(--padding);
  background: var(--turner);
  color: var(--turner-turn);
  font-size: 12px;
  max-width: 500px;
  white-space: nowrap;
  transform: translate(0%, 00%);
  animation: showing 1s linear 1;
}
.image[data-date]::after {
  max-width: 0;
}
@keyframes showing {
  0% {
    max-width: 0;
  }
  100% {
    max-width: 500px;
  }
}
.gallery .image:has(.new-badge) {
  position: relative !important;
  overflow: visible;
}
.new-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: var(--radius);
  background: var(--turner);
  padding: 5px var(--padding);
  color: var(--turner-turn);
  font-size: 12px;
  opacity: 0;
  transform: translate(0, 00%);
}
.gallery .image:hover .new-badge {
  opacity: 1;
}
