header {
  text-transform: uppercase;
  text-align: center;
  margin-block-end: 75px;
}

header h1 {
  font-size: 2.2em;
  margin-block-end: 16px;
}

header h2 {
  margin: 0;
  font-weight: 300;
  font-size: 1.2em;
}

header .fg-as-bg1 {
  color: var(--color-bg-main);
}

nav {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: bold;
  text-transform: uppercase;
}

nav a {
  color: var(--color-accent-soft);
  padding-inline: 20px;
  padding-block: 0;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
}

nav ul li.active a {
  color: var(--color-accent);
}

section.info {
  margin: 0 auto;
  border: 5px solid var(--color-border-panel);
  padding: 15px;
  max-width: 600px;
  min-height: 200px;
  background-color: var(--color-bg-panel);
  display: flex;
  flex-direction: row;
  align-items: center;
}

section.info img.photo {
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-border-photo);
  border-radius: 50%;
  margin-inline-end: 20px;
}

section.info article {
  margin-top: -10px;
}

section.info article label {
  display: block;
  padding-block: 8px;
  padding-inline: 0;
  color: var(--color-text-muted);
}

section.info article label a {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px dashed;
}

section.info article label a:hover {
  border-bottom: 1px solid;
}

section.info article label strong {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-weight: normal;
  padding-inline-end: 5px;
}

section.info .fg-as-bg2 {
  color: var(--color-bg-panel);
}

@media (max-width: 34.375rem) {
  section.info {
    border: none;
    width: 100%;
    padding: 0;
    text-align: center;
    background-color: transparent;
    flex-direction: column;
  }

  section.info img.photo {
    margin-right: 0;
    margin-bottom: 20px;
  }

  section.info article {
    width: 280px;
    margin: 0 auto;
    text-align: left;
  }

  section.info article label strong {
    display: inline-block;
    width: 105px;
    text-align: right;
  }
}

section.resume-downloads {
  position: fixed;
  top: 80px;
  left: 20px;
  z-index: 100;
}

.resume-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-link {
  display: inline-block;
  padding: 8px 12px;
  background-color: var(--color-accent);
  color: var(--color-bg-panel);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
}

.resume-link:hover {
  background-color: var(--color-accent-soft);
}

@media (max-width: 34.375rem) {
  section.resume-downloads {
    top: 70px;
    left: 10px;
  }

  .resume-link {
    padding: 6px 10px;
    font-size: 0.85em;
  }
}

