@font-face {
  font-family: "Space Grotesk";
  src: url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap")
    format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap")
    format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root,
body {
  height: 100%;
  width: 100%;
  background-color: #f4f4f4;
  color: #474739;
}
:root,
body,
*::before,
*::after,
* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  letter-spacing: -0.02em;
}

@keyframes entry {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 20px 24px;
  gap: 2rem;
  overflow-x: hidden;
  font-size: 1.2rem;
  animation: entry 300ms ease-in-out;
}

#hero > h1 {
  font-family:
    "Space Grotesk",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  margin-bottom: 1rem;
  font-size: 4rem;
}

p,
span {
  font-family:
    "JetBrains Mono",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

#experience {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#contact {
  border-top: 0.05rem solid #474739;
  padding-top: 8px;
}

.highlighted {
  color: black;
  font-weight: 700;
}

a {
  color: black;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #474739;
}
