@font-face {
  font-family: Nunito;
  src: url("/fonts/07454f8ad8aaac57-s.p.0tqkxa-w3pk~c.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 5vw, 3rem);
  display: grid;
  place-items: center;
  color: #25354b;
  background: #fffaf4;
  font: 1.125rem/1.5 Nunito, sans-serif;
}

main {
  width: min(100%, 32rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  line-height: 1.2;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.brand-name { display: flex; flex-direction: column; }
.brand-name strong { color: #244dae; font-size: 1.75rem; font-weight: 950; letter-spacing: -.04em; }
.brand-name .tld { font-size: 1.125rem; }
.brand-name small { margin-top: 3px; color: #53647a; font-size: .875rem; font-weight: 400; }

p { margin: clamp(1rem, 4vh, 1.75rem) 0; }
.projects { display: grid; gap: .25rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .15rem 1.125rem; }

a {
  display: inline-block;
  padding-block: .16rem;
  color: #235b67;
  font-size: 1rem;
  font-weight: 650;
  text-underline-offset: .21em;
  text-decoration-thickness: 1px;
}

a:hover { color: #244dae; text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #244dae; outline-offset: 3px; border-radius: 2px; }
.contact { margin-top: clamp(.75rem, 3vh, 1.5rem); }

@media (max-width: 700px) {
  .brand img { width: 36px; height: 36px; }
}

@media (max-height: 420px) {
  body { padding-block: .75rem; }
  p { margin-block: .65rem; }
  .contact { margin-top: .5rem; }
}
