@font-face {
      font-family: 'Bombardier';
      src: url('BOMBARD_.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }
    .upload-tab {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1em;
    transition: color 0.5s, font-size 0.5s;
}
.upload-tab:hover {
    color: rgba(155, 125, 155, 1);
    font-size: 1em;
    transition: color 0.3s, font-size 0.3s;
}
a {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1em;
    transition: color 0.5s, font-size 0.5s;
}
a:hover {
    color: rgba(155, 125, 155, 1);
    font-size: 1.2em;
    transition: color 0.3s, font-size 0.3s;
}
    html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
font-family: 'Bombardier';
background-color: #f0f0f000;
background-image: linear-gradient(135deg, rgba(215, 180, 210, 1) 0%, rgba(255, 255, 255, 1) 100%);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}

#lightbox {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(20, 20, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
#lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}
#lightbox .lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  background-color: rgba(0, 0, 0, 0.295);
  transition: transform 0.3s ease;
  transform: scale(0.95);
}
#lightbox.active .lightbox-img {
  transform: scale(1);
  animation: popIn 0.3s ease;
}
#lightbox .link-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9em;
  opacity: 0;
  transition: opacity 0.3s;
}
#lightbox .link-notification.show {
  opacity: 1;
}
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.desc {
  color: rgba(0, 0, 0, 0.4);
}

.tabs {
  display: flex;
  gap: 10px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}
.tabs button {
  padding: 10px 15px;
  border: none;
  border-radius: 20px;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
}
.tabs button.active {
  background: #333;
  color: #fff;
}
.tabs .upload-tab {
  margin-left: auto;
  padding: 0.5vw;
  background: rgba(90, 30, 80, 0);
  color: white;
  transition: background 0.3s;
  border-radius: 1000000px;
}
.tabs .upload-tab:hover {
  transition: background 0.3s;
  background: rgba(155, 125, 155, 0.8);
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}
.item {
  background: rgba(0, 0, 0, 0);
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0);
  overflow: hidden;
  position: relative;
}
.item img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.date {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2px 6px;
  font-size: 0.8em;
  border-radius: 4px;
  opacity: 0.7;
}
.caption {
  padding: 10px;
  font-size: 0.95em;
  background: rgba(0, 0, 0, 0);
  color: rgba(40, 0, 30, 0.8);
}
.caption .op {
  font-style: italic;
  margin-bottom: 5px;
  display: block;
  font-size: 0.85em;
  color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0);
}
.item[data-tab] {
  display: none;
}
.item[data-tab].visible {
  display: block;
}

/* Single image view styles */
.single-image-view .item {
  width: auto;
  max-width: 800px;
  margin: 0 auto;
}
.single-image-view .item img {
  max-height: 70vh;
  width: auto;
}
.single-image-view .tabs {
  display: none;
}
.single-image-view .back-button {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s;
}
.single-image-view .back-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

