/* Custom properties for consistent theming */
:root {
  /* Colors */
  --color-primary: white;
  --color-secondary: #ffd700;
  --color-bg-panel: rgba(112, 67, 40, 0.7);
  
  /* Typography */
  --font-family-main: "IM Fell English", serif;
  --font-size-base: 1.1em;
  --line-height-base: 1.6;
  --letter-spacing-headers: 0.05em;
  
  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  
  /* Layout */
  --max-width: 1200px;
  --panel-width: 200px;
  --border-radius: 10px;
  
  /* Effects */
  --transition-speed: 0.3s;
  --blur-amount: 5px;
  --shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-family-main);
  color: var(--color-primary);
  background-image: url('background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Typography system */
h1, h2 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-headers);
}

h1 { font-size: calc(var(--font-size-base) * 2.3); }
h2 { font-size: calc(var(--font-size-base) * 1.6); }

p, ul {
  line-height: var(--line-height-base);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
}

/* Utility classes */
.text-center { text-align: center; }

/* Font variations - consider using a mixin if using SASS/SCSS */
.im-fell-english {
  font-family: var(--font-family-main);
  font-weight: 400;
}

.im-fell-english--italic {
  font-style: italic;
}

/* Layout components */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: var(--max-width);
  gap: var(--spacing-md);
}

/* Panel system */
.panel {
  background-color: var(--color-bg-panel);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

@supports (backdrop-filter: blur(var(--blur-amount))) {
  .panel {
    backdrop-filter: blur(var(--blur-amount));
  }
}

/* Content panel */
.content-panel {
  flex: 1;
}

/* Navigation panel */
.nav-panel {
  width: var(--panel-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-list{
  list-style-type: none;
  padding: 0;
  width: 100%;
}

.nav-list li {
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.nav-list a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: calc(var(--font-size-base) * 1.1);
  transition: color var(--transition-speed) ease;
}

.nav-list a:hover {
  color: var(--color-secondary);
}

/* Dividers */
.divider {
  border: none;
  height: 1px;
  background-color: var(--color-primary);
  margin: var(--spacing-sm) 0;
  width: 100%;
}