body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: white;
  max-width: 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

@media screen and (max-width: 991.82px){

  /* Navbar */

  .container-fluid {
    background-color: black;
    position: fixed;
    top: 0%;
    width: 100%;
    height: auto;
  }

  .navbar-nav a {
    color: white;
  }

  .navbar-nav .nav-link:hover {
    color: white;
    text-decoration: underline;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
  }

  .navbar-brand a {
    color: white;
    text-decoration: none;
  }

  .navbar-brand a:hover {
    text-decoration: underline;
  }

  .navbar-brand img {
    width: auto;
    height: 2em;
    margin-right: 1em;
  }

  /* Leistungen */
  .leistungen {
    margin-top: 10%;
    justify-content: center;
    align-items: center;
  }

  .big {
    margin-top: 1em;
    justify-self: center;
    max-width: 100vw;
  }

  .little {
    max-width: 100vw;
    display:none;
  }

  .leistungen-header {
    margin: 1em;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Kontakt */
  .kontakt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Über mich */
  .uebermich {
    display: flex;
    flex-direction: column-reverse;
    max-width: 100vw;
    text-align: center;
  }

  .uebermich-header {
    margin-top: 1em;
  }

  .uebermich p {
    text-align: start;
  }

  .uebermich img {
    width: 60%;
  }

  /* Gallery */
  .gallery-container {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2em;
    justify-items: center;
  }

  .gallery-container img {
    width: 100vw;
    max-height: 100%;
    margin-bottom: 1em;
    object-fit: cover;
  }

  /* Impressum */
  .impressum-container {
    margin-top: 15%;
    h1 {
      text-align: center;
    }
  }

  .Haftungsausschluss {
    border: 2px solid black;
    background-color: white;
    margin-top: 3%;
    text-align: center;
    margin-bottom: 6%;
  }

  /* Footer */
  .footer {
    display: none;
  }
}

@media screen and (min-width: 600px) {
  /* Navbar */
  .container-fluid {
    background-color: black;
  }

  .container-fluid a {
    color: white;
  }

  .container-fluid a:hover {
    text-decoration: underline;
    color: white;
  }

  .navbar{
    position: fixed;
    top: 1%;
    background-color: black;
    width: 100%;
    height: 5%;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
  }

  .navbar-brand img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }

  .navbar-brand a {
    color: white;
    text-decoration: none;
  }

  .navbar-brand a:hover {
    text-decoration: underline;
  }

  /* Leistungen */
  .leistungen {
    display: grid;
    grid-template-areas:
      "little text-area"
      "big big";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .leistungen-header {
    font-size: 2em;
  }

  .big {
    margin-top: 1%;
    grid-area: big;
    justify-self: center;
    width: 99vw;
  }

  .little {
    grid-area: little;
    justify-self: center;
  }

  .leistungen-header {
    grid-area: text-area;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Kontakt */
  .kontakt-container {
    font-size: big;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Über mich */
  .uebermich {
    margin-top: 5em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
  }

  .uebermich h2 {
    text-align: center;
  }

  .uebermich img {
    width: 20vw;
  }

  /* Gallery */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1em;
    margin-top: 5em;
    justify-items: center;
  }

  .gallery-container img {
    width: 100%;
    height: 500px;
    max-height: 100%;
    margin: 1em;
    object-fit: cover;
  }

  /* Impressum */
  .impressum-container {
    margin-top: 3%;
    h1 {
      text-align: center;
    }
  }

  .Haftungsausschluss {
    border: 2px solid black;
    background-color: white;
    margin-top: 3%;
    text-align: center;
    margin-bottom: 6%;
  }

  /* Footer */
  .footer{
    justify-content: end;
  }
}
