html {
  scroll-behavior: smooth;
}

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

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

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

body {
  background-color: white;
  font-family: Courier New;
}

a {
  text-decoration: none;
  color: rgb(50, 50, 50);
}

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

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

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

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

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

.headerbild img {
  width: 100%;
  margin-top: 40px;
}

nav {
  font-family: Courier New;
  font-size: 2em;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

nav a {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  text-decoration: underline;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

.subnav-content {
  display: block;
  z-index: 1;
  font-family: lolo;
  font-size: 1em;
}

.subnav-content:hover {
  text-decoration: underline;
}

  #hamitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-top: 1px solid #333;
  }
 
  /* (B) SHOW HAMBURGER ICON */
  #hamnav label { 
    display: inline-block; 
    color: black;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
  }

  #hamburger {
    display: none;
  }

  /* (C) TOGGLE SHOW/HIDE MENU */
  #hamitems { display: none; }
  #hamnav input:checked ~ #hamitems { display: block; }


  .seiteninhalt {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }

  .grid-item { 
    width: 100%;
  }


.portfolioblock {
  width: 100%;
  padding: 20px;
}


 a .portfolioblock {
  color: black;
  margin-bottom: 50px;
 }

.portfolioblock img {
    vertical-align: middle;
    width: 100%;
}


h1 {
  text-transform: uppercase;
  text-align: center;
  font-weight: normal;
  margin-top: 5px;
  margin-bottom: 0;
}

h2 {
  font-family: serif;
  text-align: center;
  font-weight: normal;
  font-style: italic;
  font-size: 1em;
  margin-top: 0;
}

.fotos img {
  width: 100%;
  margin-top: 10px;
}

.foto_klein_hoch img {
  width: 100%;
  margin-top: 10px;
}

.foto_klein_quer img {
  width: 100%;
  margin-top: 10px;
}

.bildunterschrift {
  color: grey;
  font-family: lolo;
  font-size: 1em;
}

.portfoliotext {
  margin-top: 20px;
  margin-bottom: 20px;
}

.portfoliotext a {
  color: rgb(100, 100, 100);
  text-decoration: underline;
}

iframe {
  width: 100%;
  max-height: 25vh;
}

.abouttitel {
  text-align: left;
}

.fotoabout img {
  width: 100%;
}

.aboutbildunterschrift {
  color: grey;
  font-family: lolo;
  font-size: 1em;
  transform: rotate(1deg);
  padding-left: 10%;
}

.abouttext {
  margin-top: 20px;
}

.abouttext a {
  color: rgb(100, 100, 100);
  text-decoration: underline;
}

.credits {
  font-family: lolo;
  font-size: 1.5em;
  color: rgb(100, 100, 100);
  padding-left: 30%;
  padding-top: 180px;
  padding-bottom: 500px;
  background-image: url(../media/Zettel-4.png);
  background-repeat: no-repeat;
}

.credits a {
  color: rgb(100, 100, 100);
}
 
 


@media screen and (min-width: 991px) {
  

  .oberst {
    font-size: 1em;
  }

  .oberstelement {
  padding-right: 30px;
  }

  .headerbild img {
    max-width: 80%;
    margin-left: 10%;
  }

  .subnav-content {
  float: left;
  padding-right: 20px;
}

/* (B) HORIZONTAL MENU ITEMS */
#hamitems { display: flex; }
#hamitems a {
  flex-grow: 1;
  flex-basis: 0;
  padding: 20px;
  text-align: center;
}

  /* (C) HIDE HAMBURGER */
#hamnav label, #hamburger { display: none; }

.grid-item { 
    width: 350px;
  }

.portfolioblock {
  width: 90%;
}

.portfolioblock:hover {
  background-color: rgba(250, 250, 0, 0.5);
}

 a .portfolioblock {
  color: black;
  margin-bottom: 20px;
 }

.portfolioblock img {
    vertical-align: middle;
    width: 100%;
}

.fotos img {
  max-width: 600px;
}

.foto_klein_hoch img {
  max-width: 300px;
}

.foto_klein_quer img {
  max-width:300px;
}

.bildunterschrift {
  font-size: 1.2em;
  padding-left: 5%;
  max-width: 600px;
}

.portfoliotext {
  width: 50%;
  margin-right: auto;
  display: inline-block;

}

.portfoliotext a:hover {
  color: rgb(50, 50, 50);
  text-decoration: underline;
}

.bildergrid {
  width: 70%;
}

iframe {
  width: 560px;
  max-height: 315px;
}

.fotoabout img {
  max-width: 600px;

}

.aboutbildunterschrift {
  font-size: 1.2em;
  padding-left: 5%;
  max-width: 600px;
}

.abouttext {
  width: 50%;
  margin-right: auto;
  display: inline-block;
  margin-bottom: 100px;

}

.abouttext a:hover {
  color: rgb(50, 50, 50);
  text-decoration: underline;
}

.credits {
  width: 30%;
  position: absolute;
  top: 50vh;
  right: 0;
  margin-left: auto;
  padding-left: 100px;
  background-position: 0 0;
}

.credits a:hover {
  color: rgb(50, 50, 50);
  text-decoration: underline;
}



  }