@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ====== HEADER ====== */
header {
  position: fixed;           
  top: 0;
  left: 0;
  width: 100%;
  height: 3em;                /* Höhe */
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* Icons rechts */
  padding: 0 1rem;
  z-index: 1000;
}

header ul {
  display: flex;
  list-style: none  !important;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

header li {
  list-style: none !important;
}

header a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: #000000;
  text-decoration: none;
  transition: transform 120ms ease, opacity 120ms ease;
}

header a:hover,
header a:focus-visible {
  opacity: 0.8;
}

header svg {
  width: 100%;
  height: 100%;
}

/* ====== CONTAINER ====== */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Abstand zum header */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100dvh - 3em); /* Platz minus Headerhöhe */
  padding-top: 3em;               /* Sicherheitsabstand für mobile Browser */
}

section {
  margin: 0;
}

.name {
  font-family: "Rubik", sans-serif;
  font-size: 2em;
  font-weight: 500;
  margin-bottom: 0;
}

.mail {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8em;
  color: gray;
}