body {
  background: #ffffff;
  color: #000000;
  font-family: "franklin-gothic-urw", Arial, sans-serif;
  font-weight: 400;
}

.home-page {
  --hover-projects: #CCCCFF;
  --hover-about: #FFE0CC;
  --hover-contact: #CCF2FF;
  --hover-email: #FFFFCC;
  --hover-studies: #FFCCEA;
  --hover-research: #CCFFCC;
}

main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 50px;
  font-size: 0.75rem;
}

h1 {
  margin: 0 0 50.4px;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.02em;
}

.details,
.page-labels {
  margin: 0;
  font-size: 0.75rem;
  line-height: 0.5;
  letter-spacing: 0.024em;
}

.page-labels {
  display: flex;
  gap: 1.12em;
  margin-bottom: 43.2px;
}

.intro-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55em;
  margin-bottom: 25.2px;
}

address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 43.2px;
  font-style: normal;
}

address p {
  margin: 0;
}

footer {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.024em;
}

a,
.hover-label {
  color: inherit;
  text-decoration: none;
  transition: color 0.1s;
}

.hover-label {
  display: inline-block;
  line-height: 1;
}

.home-page .hover-label:hover,
.home-page a:not(.email-link):not(.phone-link):hover {
  text-decoration: line-through;
}

.home-page .hover-label--projects:hover {
  color: var(--hover-projects);
}

.home-page .hover-label--about:hover {
  color: var(--hover-about);
}

.home-page .hover-label--contact:hover {
  color: var(--hover-contact);
}

.home-page .email-link:hover {
  color: var(--hover-email);
}

.home-page .hover-label--studies:hover {
  color: var(--hover-studies);
}

.home-page .hover-label--research:hover {
  color: var(--hover-research);
}

a.phone-link:hover {
  color: inherit;
}

a.phone-link:focus-visible {
  color: inherit;
  outline: none;
}

a:focus-visible {
  color: inherit;
  outline: 2px solid #000000;
  outline-offset: 2px;
}

@media (max-width: 819px) {
  main {
    margin: 32px 28px 32px 28px;
    font-size: 0.875rem;
  }

  h1 {
    font-size: 1.125rem;
  }

  .details,
  .page-labels,
  footer {
    font-size: 0.875rem;
  }
}

@media (max-width: 380px) {
  .details,
  .page-labels {
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  a,
  .hover-label {
    transition: none;
  }
}
