body, #content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  width: 300px;        /* adjust as needed */
  height: 500px;       /* adjust as needed */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  scroll-behavior: smooth; /* smooth jump when clicking links */
}

.slide {
  position: relative;
  height: 500px;       /* same as container height */
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide scrollbar for cleaner look */
.slider::-webkit-scrollbar {
  display: none;
}
.slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 20px;
      background: #00000099;
      color: #fff;
      text-align: center;
    }

    .overlay h2 {
      margin: 0 0 10px;
      font-size: 0.8rem;
    }

    .overlay a {
      display: inline-block;
      margin-top: 5px;
      padding: 8px 16px;
      background: #ff6600;
      color: #fff;
      text-decoration: none;
      border-radius: 6px;
      font-size: 0.9rem;
      transition: background 0.3s;
    }

    .overlay a:hover {
      background: #e65c00;
    }


