/* Brutalist theme for personal site */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: #000000;
  --background-color: #ffffff;
  --accent-color: #ff3e00;
  --secondary-color: #0000ff;
  --border-color: #000000;
  --font-primary: 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono: 'Courier New', monospace;
}

html, body {
  height: 100%;
  font-family: var(--font-mono);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.4;
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  border-left: 8px solid var(--border-color);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  padding: 2rem;
  border-bottom: 4px solid var(--border-color);
  background-color: #f0f0f0;
}

.headshot {
  margin-right: 2rem;
}

.headshot img {
  width: 100px;
  height: 100px;
  border-radius: 0;
  object-fit: cover;
  border: 4px solid var(--border-color);
  transform: rotate(-3deg);
}

.header-text h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--text-color);
  position: relative;
  font-weight: 900;
}

.header-text h1:after {
  content: "";
  display: block;
  width: 50%;
  height: 8px;
  background-color: var(--accent-color);
  margin-top: 5px;
}

nav {
  margin: 0;
  border-bottom: 4px solid var(--border-color);
  background-color: #eeeeee;
}

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

nav ul li {
  margin: 0;
  border-right: 4px solid var(--border-color);
  flex-grow: 1;
}

nav ul li:last-child {
  border-right: none;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  padding: 1rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
  font-family: var(--font-primary);
  font-size: 0.9rem;
}

nav ul li a:hover {
  background-color: var(--accent-color);
  color: white;
}

main {
  flex-grow: 1;
  padding: 2rem;
  background-color: white;
  position: relative;
}

.intro {
  font-size: 1.2rem;
  max-width: 800px;
  position: relative;
}

.intro p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.intro p:first-child {
  font-size: 1.3rem;
  font-weight: bold;
}

.interests {
  margin-top: 2rem;
}

.interests-header {
  font-family: var(--font-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.interests-header:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: var(--secondary-color);
  bottom: -8px;
  left: 0;
  z-index: -1;
}

.interests ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin-top: 1.5rem;
}

.interests li {
  background-color: #f0f0f0;
  padding: 0.8rem 1.5rem;
  border: 3px solid var(--border-color);
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: bold;
  transform: rotate(1deg);
  transition: transform 0.2s ease;
}

.interests li:nth-child(2n) {
  transform: rotate(-1deg);
  background-color: #e0e0e0;
}

.interests li:hover {
  transform: scale(1.05) rotate(0);
  background-color: var(--accent-color);
  color: white;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--border-color);
  background-color: #f0f0f0;
  font-family: var(--font-mono);
  font-weight: bold;
  letter-spacing: 1px;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    padding: 1.5rem;
  }
  
  .headshot img {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }
  
  .header-text h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    border-right: none;
    border-bottom: 2px solid var(--border-color);
  }
  
  nav ul li:last-child {
    border-bottom: none;
  }
  
  /* Decorative elements removed */
  
  .interests li {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    border-left-width: 4px;
  }
  
  header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .headshot {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .header-text h1:after {
    margin: 5px auto 0;
  }
  
  main {
    padding: 1.5rem;
  }
  
  .intro p {
    font-size: 1rem;
  }
  
  .intro p:first-child {
    font-size: 1.1rem;
  }
}