html, body, h1, h2, figure, blockquote, p {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  letter-spacing: 0.1em;
  scroll-behavior: smooth;
  background: #e8ecef;
}

::-webkit-scrollbar {
  display: none;
}

h1 {
  font-size: clamp(45px, 4vw, 60px);
  margin-bottom: 20px;
}

h1, h2 {
  font-family: "Freeman", sans-serif;
}

h2 {
  text-align: center;
  font-size: clamp(25px, 3vw, 45px);
  margin-bottom: 25px;
}

h3 {
  margin: 0 0 10px 0;
}

h1, h2, h3 {
  color: #1c2b48;
}

p {
  line-height: 1.5em;
  letter-spacing: 0.2em;
  color: #1c2b48;
}

a, button, input[type="submit"] {
  cursor: pointer;
}

a {
  display: block;
  width: fit-content;
  color: #1c2b48;
  text-decoration: none;
}

a:not(.contact-link, .resume, #logo)::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  margin-top: 5px;
  background: transparent;
  transition: width 0.3s ease;
}

a:not(.contact-link, .resume, #logo):hover::after, 
a:not(.contact-link, .resume, #logo).active::after {
  width: 100%;
  background: #1c2b48;
}

button {
  border: none;
  background: none;
  padding: 0;
}

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

header, section, footer {
  max-width: 1178px;
  margin-left: auto;
  margin-right: auto;
}

section {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

@media (max-width: 1178px) {
  header, section, footer {
    margin-left: 20px;
    margin-right: 20px;
  }
}

.resume {
  margin-inline: auto;
  margin-top: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}