body {
  margin: 0;
  font-family: "Verdana", sans-serif;
  background: url('library-bg1.png') no-repeat center center fixed;
  background-size: cover;
  color: #eee;
}

/* Overlay for the endless vibe */
.overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

header {
  text-align: center;
  padding: 20px;
  font-size: 2em;
  letter-spacing: 2px;
  z-index: 1;
  position: relative;
}

.container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 10px;
  padding: 20px;
  z-index: 1;
  position: relative;
}

.sidebar-left,
.sidebar-right {
  background: rgba(20, 20, 20, 0.8);
  padding: 10px;
  font-size: 0.9em;
}

.sidebar-left img {
  width: 100%;
  height: auto;  /* keep proportions */
  display: block;
  margin-bottom: 10px;
}

.main {
  background: rgba(40, 40, 40, 0.9);
  padding: 15px;
}

.post {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}

/* Navigation circle bottom-right */
.nav-circle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}

.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2;
  cursor: pointer;
  font-size: 2em;
}

.menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  z-index: 3;
}

.menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
}

/* 📱 Responsive Design */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr; /* stack everything */
  }

  .sidebar-left,
  .sidebar-right {
    order: 2; /* push below main content */
  }

  .main {
    order: 1; /* main content first */
  }

  .hamburger {
    font-size: 1.8em;
  }

  header {
    font-size: 1.5em;
  }
}

@media (max-width: 500px) {
  .nav-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }

  header {
    font-size: 1.2em;
  }
}
