/* Global Base */
body {
  font-family: "Inter", sans-serif;
  background: #f8f9fb;
  margin: 0;
  color: #1f2937;
}

a {
  color: #3b82f6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Container */
#container {
  max-width: 840px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
#header {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

#header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#headinfo {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Sections */
.res-section {
  margin: 4rem 0;
}

.res-section h2 {
  font-size: 1.75rem;
  color: #111827;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.res-section h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

.year-right {
  float: right;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Sidebar */
#r-pane {
  position: fixed;
  top: 0;
  right: 0;
  background-color: #1e293b;
  height: 100vh;
  width: 240px;
  color: white;
  padding: 2rem 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.center-menu ul {
  list-style-type: none;
  padding: 0;
}

.center-menu ul li {
  margin: 1rem 0;
}

.center-menu ul li a {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
}

.center-menu ul li a:hover {
  background-color: #334155;
}

.section h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

#visits {
  font-size: 0.85rem;
  text-align: center;
  color: #9ca3af;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 960px) {
  #r-pane {
    display: none;
  }

  #container {
    margin: 0;
    padding: 2rem 1rem;
  }
}
