html {
  font-family: ui-sans-serif, system-ui, sans-serif;
}
body {
  display: grid;
  grid-template-rows: 15rem 9fr 50px;
  grid-template-areas:
  'header'
  'main'
  'footer';
  margin: 0;
  height: 100vh;
}

ul {
  list-style-type: none;
}

header {
  grid-area: header;
  text-align: center;

  h1 {
    margin-top: 2em;
    font-weight: 300;
    font-size: 2.25rem;
  }
  nav {
    display: grid;
    grid-template-columns: 20% 60% 20%;
  }
  #debug {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    a {
      background-color: gray;
      border-radius: 0.5rem 0 0 0.5rem;
      padding: .5rem;
      color: white;
    }
  }
  ul {
    display: inline-flex;
    place-self: center;
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: .5rem;
  }
  li a {
    background-color: whitesmoke;
    display: flex;
    height: 3em;
    padding-left: 1rem;
    padding-right: 1rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.875rem;
  }
  li:hover {
    filter: brightness(90%);
  }
}

main {
  grid-area: main;
  background: whitesmoke;
  justify-content: center;

  #description {
    margin-top: 4rem;
    padding: 2rem;
    max-width: 50rem;
    background: lavender;
    border-radius: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  #examples {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, 200px);

    p {
      background: white;
      padding: 1em;
      margin: 1em;
      border-radius: 0.5rem;
    }
  }
}

footer {
  grid-area: footer;
  display: flex;
  background: gainsboro;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;

  a {
    color: black;
    text-decoration: none;
    font-weight: bold;
  }
  img {
    height: 30px;
  }
  .imprint {
    flex-grow: 1;
  }
  .openapi {
    width: 300;
    margin-left: 1rem;
  }
  .repository {
    margin-right: 1rem;
  }
}
