* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  scroll-behavior: smooth; }

body {
  color: #4c555d;
  font-family: "Helvetica", sans-serif;
  background-color: #e5e8f1;
  text-align: justify; }
  body span.highlight {
    color: #1E4A89; }

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #343a40;
  font-family: "Helvetica", sans-serif; }

a {
  color: #343a40; }

.publications {
  --min: 40%;
  --gap: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap); }
  .publications > * {
    flex: 1 1 var(--min);
    justify-content: center;
    display: inline;
    text-align: center; }
  .publications span {
    display: table-row; }

header {
  width: 100%;
  padding: 1rem;
  background-color: #1E4A89;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99; }
  header nav .portrait {
    text-align: center;
    display: none; }
    header nav .portrait img {
      width: 100%;
      max-width: 160px;
      border-radius: 100%;
      border: 6px solid rgba(255, 255, 255, 0.3); }
  header nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none; }
    header nav ul li {
      margin-left: 1rem; }
      header nav ul li a {
        color: white;
        font-size: 1.2rem;
        font-family: "Helvetica", sans-serif;
        font-weight: bold;
        text-decoration: none;
        opacity: 0.5;
        letter-spacing: 1.5px; }
        header nav ul li a:hover {
          opacity: 0.9; }

main {
  width: 100%; }
  main section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
    padding-top: 1rem; }
    main section#apropos, main section#ueber-mich {
      padding-top: 2rem; }
      main section#apropos h1 div:first-child, main section#ueber-mich h1 div:first-child {
        color: #343a40;
        font-size: 3.5rem; }
      main section#apropos h1 div:last-child, main section#ueber-mich h1 div:last-child {
        color: #343a40;
        font-size: 1.5rem; }
    main section .section-heading {
      font-size: 4rem;
      color: #343a40;
      text-transform: uppercase;
      margin-bottom: 3rem; }
  main section p {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0; }

@media screen and (max-width: 630px) {
  body {
    text-align: left; }
  header nav ul li {
    display: none; }
  header nav ul li:last-child {
    display: block; } }

@media screen and (min-width: 1024px) {
  body {
    display: grid;
    grid-template-columns: auto auto; }
  header {
    height: 100%;
    max-height: 100vh; }
    header nav {
      min-height: 100vh;
      width: 15vw;
      max-width: 300px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center; }
      header nav .portrait {
        display: block; }
      header nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center; }
        header nav ul li {
          margin: 0.6rem 0; }
          header nav ul li a {
            font-size: 1.5rem; }
  main section {
    padding: 0 3rem; } }
