/* --- base --- */
body {
  background: #eaf6ff;
  font-family: "Verdana", sans-serif;
  color: #3a3a3a;
  margin: 0;
}

/* page wrapper */
.page {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* header */
.header {
  background: white;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.header h1 {
  margin: 0;
  color: #7fb8e6;
}

.subtitle {
  font-size: 0.9em;
  opacity: 0.8;
}

/* layout */
.layout {
  display: flex;
  gap: 20px;
}

/* sidebar */
.sidebar {
  width: 250px;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.pfp {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.sidebar h2 {
  font-size: 1.1em;
  color: #7fb8e6;
  margin-top: 15px;
}

.sidebar ul {
  padding-left: 15px;
}

.sidebar a {
  text-decoration: none;
  color: #5fa7dd;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* main content */
.content {
  flex: 1;
}

/* boxes */
.box {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.box h2 {
  margin-top: 0;
  color: #7fb8e6;
}

/* footer */
.footer {
  text-align: center;
  font-size: 0.8em;
  margin-top: 20px;
  opacity: 0.7;
}


/* 🍔 Hamburger Menu Button */
.menu-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 20px;
  z-index: 15;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #2f2f2f;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.menu-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.05);
}

/* 🎛️ Frosted Glass Sidebar Menu */
.sidebar {
  position: fixed;
  left: -260px;
  top: 0;
  height: 100%;
  width: 240px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.05)
  );
  color: white;
  transition: left 0.3s ease;
  padding: 20px;
  z-index: 14;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 4px 0 12px rgba(0,0,0,0.2);
}

.sidebar.open {
  left: 0;
}

.sidebar h2 {
  margin-top: 0;
  font-weight: 500;
  text-align: center;
  color: #f0f6ff;
}

.menu-section {
  margin-bottom: 15px;
}

.menu-section button {
  width: 100%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  font-size: 0.95em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.menu-section button:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.03);
}

/* 🎵 Toggle button styling (for standalone use, if needed) */
#toggle-rain {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  color: white;
  font-size: 1em;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  width: 100%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

#toggle-rain:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.02);
}