:root {
  --background: #f8f8f8;
  --text: #1a1a1a;
  --accent: #5865f2;
}

body {
  font-family: "Noto Sans", sans-serif;
  background-color: var(--background);
  color: var(--text);
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
}

nav {
  background-color: #2d2d3a;
  padding: 12px 24px;
}

nav a:hover {
  opacity: 0.7;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 24px;
}

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

.resume {
  margin-bottom: 40px;
}

h2 {
  margin-bottom: 16px;

  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

article {
  margin-bottom: 24px;
}

.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills-list li {
  background-color: var(--accent);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.skills-list li a {
  text-decoration: none;
  color: #ffffff;
}

.skills-list li a:hover {
  opacity: 0.7;
}

#portrait {
  width: 400px;
  height: auto;
  border-radius: 999px;
  padding: 16px;
}

#portrait-section {
  display: flex;
  justify-content: center;
}

#tagline {
  font-style: italic;
  margin: 5px;
}

footer {
  background-color: #2d2d3a;
  display: flex;
  align-items: center;
}

footer h3 {
  color: #f8f8f8;
  padding: 12px;
}

footer #links {
  padding: 12px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

footer #links li a {
  text-decoration: none;
  color: #ffffff;
  padding: 12px;
}

footer #links li a:hover {
  opacity: 0.7;
}
