body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: calc(10px + 0.33vw);
  -webkit-font-smoothing: antialiased;
  padding: 5vh 10vw;
  color: #121314;
}
h1 {
  font-size: 4.5em;
  font-weight: 700;
  margin-bottom: 0;
}
h2 {
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -1.5px;
}
p {
  font-size: 1.3em;
  font-weight: 300;
  line-height: 1.4;
  max-width: 28em;
}
a {
  text-decoration: none;
  white-space: nowrap;
  color: #121314;
  position: relative;
}
a:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 66%;
  left: -0.1em;
  right: -0.1em;
  bottom: 0;
  transition: top 200ms cubic-bezier(0, 0.8, 0.13, 1);
  background-color: rgba(77, 71, 247, 0.4);
}
a:hover:after {
  top: 0%;
}

.resume {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.error {
  background-color: #fbe4e4;
  border-radius: 4px;
  color: #dd2222;
  padding: 0 10px;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.error--open {
  transform: translateX(-50%) translateY(0%);
  opacity: 1;
}
