/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Oswald';
  src: url('/fonts/Oswald-Bold.woff2') format('woff2'),
       url('/fonts/Oswald-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proza Libre';
  src: url('/fonts/ProzaLibre-Regular.woff2') format('woff2'),
       url('/fonts/ProzaLibre-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proza Libre';
  src: url('/fonts/ProzaLibre-Bold.woff2') format('woff2'),
       url('/fonts/ProzaLibre-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proza Libre';
  src: url('/fonts/ProzaLibre-Italic.woff2') format('woff2'),
       url('/fonts/ProzaLibre-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

html {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  background-color: #1c1b22;
  color: #e0e0e0;
  line-height: 1.6;
}

main {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  max-width: 45rem;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #04e824;
  letter-spacing: 0.05rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Navigation styles */
header {
  font-family: 'Proza Libre', serif;
  font-weight: 400;
  font-size: 1.2rem;
  background-color: #1f1e25;
}

main a:visited { 
  color: #2b773f;
}

main p {
  margin-bottom: 1.2rem;
  color: #e0e0e0;
}

.about-image {
  text-align: center;
  margin: 2rem 0;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

nav {
  background-color: #1f1e25;
  display: flex;
}

nav ul {
  list-style: none;
  display: flex;
}

nav li {
  display: flex;
}

nav a {
  text-decoration: none;
  padding: 1rem;
  color: #e0e0e0;
}

nav a:hover {
  color: #a7a7a9;
}

nav a.active {
  background-color: #0be02f;
  color: #1f1f1f;
}

nav a.active:hover {
  background-color: #0be02f;
  color: #444444;
}

h2 a {
  color: inherit;
  text-decoration-thickness: 0.2rem;
}

h2 a:hover {
  color: #cc4444;
  text-decoration-color: #cc4444;
  text-decoration-thickness: 0.2rem;
}
