@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/courier-prime-regular.ttf")
       format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/courier-prime-bold.ttf")
       format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;

  --background-color: #ffffff;
  --text-color: #252525;
  --link-color: #315c88;

  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background-color);
  color: var(--text-color);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px;
}

.profile {
  text-align: center;
  margin-bottom: 28px;
}

.profile-photo {
  display: block;
  width: 240px;
  height: 240px;
  max-width: 100%;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

.bio p {
  margin: 0 0 22px;
  font-size: 1.05rem;
}

footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
  font-size: 0.95rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 4px;
  border-radius: 2px;
}

a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --background-color: #29323d;
    --text-color: #f0f2f5;
    --link-color: #a6c8f0;
  }
}