:root {
  --bg: #ffffff;
  --text: #111111;
}

:root.night {
  --bg: #000000;
  --text: #ffffff;
}

body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size:16px;
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.4s ease, color 0.4s ease;
}

nav {
  margin-top: 20px;
}

#nav-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
}

#introduction {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#introduction p {
  text-align: left;
  margin-top: 48px;
}

#name-desc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#name-desc h1,
#name-desc p {
  margin: 0;
}

main {
  width: 650px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 140px;
  margin: 0 auto;
}

img {
  width: 500px;
  margin-top: 50px;
}

#resume-img, #vid-resume-img {
  width: 100%;
  max-width: 800px;
  margin-top: 12px;
  display: none;
}

#cycling-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#cycling-word.visible {
  opacity: 1;
  transform: translateY(0);
}

#cycling-word.exit {
  opacity: 0;
  transform: translateY(-10px);
}

a {
  text-decoration: none;
  color: var(--text);
}

.active {
  color: #666666;
}

.credits {
  margin-top: 10px;
}

#hirers p {
  margin: 10px 0;
}

#hirers a {
  text-decoration: underline;
}

.credit-list {
  list-style-position: inside;
  padding-left: 0;
}

.credit-list li {
  margin-bottom: 12px;
}

.under-link {
  text-decoration: underline;
}
