html {
  scroll-behavior: smooth;
}

{
-webkit-transform:translate3d(0,0,0);
}

@font-face {
  font-family: Courier New;
  src: url(../fonts/cour.ttf);
}

body {
  background-color: black;
 
}

a {
  text-decoration: none;
}

header {
  height: 0vh;
}

.oberst {
  /*background-color: red;*/
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 90%;
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 0.5em;
}

.oberstelement {
  float: right;
  padding-right: 5px;
  text-transform: uppercase;
  font-family: serif;
  color: rgb(200, 200, 200);
}

#home {
  float: left;
  padding-left: 20px;
}

.oberstelement a {
  color: rgb(200, 200, 200);
  text-decoration: none;
}

.oberstelement a:hover {
  color: rgb(250, 250, 250);
  text-decoration: none;
}

.headerbild img {
  width: 100%;
  left: 0;
  top: -10px;
  position: fixed;
  z-index: -100;
} 

nav {
  /*background-color: blue;*/
  width: 30%;
  margin-left: auto;
  position: sticky;
  top: 0;
}

nav p {
  padding: 3px;
}

.navblock {
  /*background-color: green;*/
  width: 150px;
  margin-left: auto;
  margin-bottom: 80px;
  padding-top: 60px;
  padding-bottom: 20px;
}

.navblockelement {
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  margin-left: 40px;
}

a .navblockelement {
  text-decoration: none;
  text-transform: uppercase;
  font-family: sans-serif;
  font-weight: bold;
  color: black;
}

.navblockelement:hover {
  margin-left: 0px;
}

content {
  /*background-color: darkred;*/
  font-family: sans-serif;
}

.seite {
  /*background-color: grey;*/
  background-color: black;
}

.seiteninhalt {
  /*background-color: blueviolet;*/
  background-color: black;
  min-height: 100vh;
  padding-top: 40px;
}

.seiteninhalt img {
  width: 90%;
  border: solid;
  border-color: white;
  border-width: 10px;
}

#seiteninhalt_kontakt {
  background-image: url(../media/_P4A9845.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
}


h1 {
  background-color: white;
  display: inline-block;
  margin: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
  padding-left: 10%;
  color: black;
  font-size: 1.5em;
  font-family: sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-align: right;
}

.textfeld {
  /*background-color: yellow;*/
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 60px;
}

.projektblock {
  margin-bottom: 50px;
}

.projektbild img {
  /*background-color: greenyellow;*/
  width: 100%;
}


h2 {
  background-color: white;
  color: black;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 5px;
  font-size: 1.2em;
}

h3 {
  background-color: white;
  color: black;
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 5px;
  font-size: 1.5em;
}

h3 a {
  color: black;
}

.kategorie {
  background-color: white;
  color: black;
  width: 80%;
  margin-bottom: 20px;
  margin-left: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 50px;
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: bold;
}

.projektjahr {
  padding-left: 30px;
  margin-left: -30px;
}



@media screen and (min-width: 991px) {
  
  body {
    width: initial;
  }

  header {
    height: 50vh;
  }

  .oberst {
    font-size: 1em;
    padding-top: 20px;
    width: 100%;
  }

  .oberstelement {
  padding-right: 30px;
  }

  .headerbild img {
  top: -30px;
}

  .navblock {
    width: 450px;
  }

  a .navblockelement {
    font-size: 2em;
    margin-left: 80px;
  }

  .seiteninhalt {
    width: 80%;
    margin-left: 10%;
  }

  #seiteninhalt_kontakt {
    background-image: url(../media/_P4A9845_quer.jpg);
  }

  .seiteninhalt img {
    width: 40%;
    float: right;
  }

  h1 {
    font-size: 4em;
  }

  .kategorie {
    font-size: 2em;
  }

  .textfeld { 
    margin-left: 10%;
  }

  .projektbild img {
    width: 60%;
    float: left;
  }

  }