/* Import Courier Prime font */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

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

body {
  font-family: 'Courier Prime', monospace;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 4rem 0 4rem 5ch;
}

.spacer {
  height: 8em;
}

/* Typography */
h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Content areas */
header {
  max-width: 32rem;
  width: 100%;
}

header p {
  font-size: 1.125rem;
  max-width: 32rem;
  margin-bottom: 4rem;
}

main {
  flex-grow: 1;
  max-width: 32rem;
}

main p {
  font-size: 1rem;
}

/* Lists */
ul {
  list-style: none;
}

li {
  margin-bottom: 0.5rem;
}

/* Navigation */
nav ul {
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

nav a {
  color: #000;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  max-width: 32rem;
  width: 100%;
  margin-top: 4rem;
}

footer p {
  font-size: 1rem;
}

/* Articles list */
.articles-list {
  margin-bottom: 2rem;
}

.articles-list li {
  margin-bottom: 2rem;
}

.articles-list h2 {
  margin-bottom: 0.5rem;
}

.articles-list .date {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Interests sections */
.interests-section {
  margin-bottom: 2rem;
}

.interests-section h2 {
  margin-bottom: 1rem;
}

.interests-section p {
  margin-bottom: 1rem;
}

/* Contact links */
.contact-links {
  margin-top: 2rem;
}

.contact-links li {
  margin-bottom: 0.5rem;
}

.contact-links a {
  color: #000;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* Email styling */
.email {
  font-weight: 700;
}

/* Credits list */
.credits-list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.credits-list li {
  margin-bottom: 0.5rem;
}

::selection {
  background: #C6FE19; 
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 2rem 1rem;
  }
  
  .spacer {
    height: 4em;
  }
  
  header, main, footer {
    max-width: 100%;
  }
}
