/* Fonts */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  background: #ffffff;
  color: #333;
}

/* Container layout */
.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 10%;
  min-width: 250px;
  padding: 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar h1 {
  font-family: "Times New Roman", serif;
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 2rem;
  color: #56bc8a; /* vibrant green */
  line-height: 0.7;
  text-transform: uppercase;
}

.sidebar .description {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.sidebar .links a {
  display: block;
  margin: 0.5rem 0;
  color: #ff66c4; /* vibrant pink */
  text-decoration: none;
  font-family: sans-serif;
}

.sidebar .links a:hover {
  color: #759e6f; /* Gray green */
}

.marquee {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000000;
}

/* Gallery (masonry) */
.gallery {
  flex: 1;
  padding: 2rem;
  column-width: 300px;
  column-gap: 1rem;
}

.item {
  display: inline-block;
  margin-bottom: 1rem;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.item img {
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  opacity: 1;
}

.item:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  opacity: 0.9;
}

.item p {
  font-family: "Lekton", monospace;
  text-transform: uppercase;
  color: #000000;
  text-align: center;
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  display: none;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: #ff66c4;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s, opacity 0.2s;
}

#scrollTopBtn:hover {
  transform: scale(1.2);
}


/* Custom scrollbar for Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background-color: #56bc8a;
  border-radius: 6px;
  border: 3px solid #f0f0f0;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #56bc8a #ffffff;
}


/* Responsive layout for mobile */
@media screen and (max-width: 768px) {
  /* Stack container vertically */
  .container {
    display: block;
  }

  /* Sidebar on top */
  .sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 1rem 0.75rem;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    z-index: auto;
  }

  /* Gallery directly below sidebar */
  .gallery {
    display: block;
    width: 100%;
    column-width: 100%;
    column-gap: 0;
    padding: 1rem 0.5rem;
    margin-top: 0;
  }
}
