/* 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;
}

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;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  font-family: 'Proza Libre', sans-serif;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #555;
  background-color: #1e1e1e;
  color: #e0e0e0;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form button {
  background-color: #04e824;
  color: #000;
  padding: 0.75rem 1.25rem;
  border: none;
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #2aff2a;
}
