html,body{
  font-family: 'Montserrat Alternates', sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

iframe{
  width: inherit;
  height: inherit;
  top:0;
  z-index: 0;
  position: absolute;
  border-style: none;
  overflow: hidden;
}

section.banner{
  width: 100%;
  height: 88%;
  top: 0;
  background-color: transparent;
  overflow: hidden;
}

section.bannerklein{
  width: 100%;
  height: 135px;
  top: 0;
  margin: 0 0 40px 0;
  background-color: transparent;
  overflow: hidden;
}

section.footer{
  height: 12%;
  width:100%;
  position: fixed;
  min-height: 80px;
  z-index: 10;
  bottom: 0;
  background-color: white;
}

h1{
  font-size:calc(20px + 2vw);
  font-weight: 800;
  padding: 0;
  color: black;
  vertical-align: middle;
  margin: 10px 20px;
  display: inline-block;
}

h1.logo{
  position: absolute;
  margin: 20px 20px;
  vertical-align: middle;
  font-size:calc(60px + 1.5vw);
  color: white;
  z-index: 1;
  top: 0;
  background-image: url("data/dropshadow.png");
  background-size: contain;
  transition: 0.5s ease;
}

h1.logo:hover{font-size:calc(65px + 1.5vw);}


h1.about_titel{
  font-size:calc(15px + 1.5vw);
  display: block;
  margin: 0;
}

h1.blog{
  font-size:calc(20px + 1.5vw);
  margin-bottom: 40px;
}

h2{
  margin: 18px 8px;
  font-size:calc(15px + 1.5vw);
  color: black;
  top: 0;
  left:200px;
  display: inline-block;
  z-index:1;
}

h2.rechts{
  margin: 18px 23px 18px 8px;
}

h2.blog{
  margin:15px 0 0 0;
  font-size:calc(5px + 1.5vw);
}

p{
  display: inline-block;
  color: black;
  width: 100%;
  min-width: 300px;
  font-weight: 500;
  line-height: 135%;
}

e{
  font-style: italic;
}

nav{
  z-index:1;
  position: relative;
  float: right;
}

li{
  padding: 5px;
  font-size: 2em;
  font-weight: 700;
  z-index: 10;
}

button{
  position: relative;
  top: 9px;
  float: right;
  margin: 10px 10px;
  color: white;
  border-style: solid;
  border-color: black;
  border-width: 7px;
  border-radius: 25px;
  height: 45px;
  width: 45px;
  z-index: 1;
  outline: none;
  background-size: contain;
}

a{
  color: transparent;
}

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

nav a{
  color: inherit;
  text-decoration: none;
}

nav a:hover{
  text-decoration: underline;       /*dicke dieser linie?*/
  text-decoration-style: solid;
  text-decoration-color: white;
}

#kamera{background-image: url("data/kamera2.png");}
#lupe{background-image: url("data/lupe2.png");}
#maze{background-image: url("data/maze2.png");}
#drawable{background-image: url("data/draw2.png");}

.slider {
  -webkit-appearance: none;
  margin: 20px 20px 20px 15px;
  position: relative;
  top: 13px;
  float: right;
  width: 170px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 14px;
  border-style: solid;
  border-color: black;
  border-width: 7px;
  background: transparent;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: black;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: black;
  cursor: pointer;
}

.container {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
}

.container:hover .overlay{
  opacity: 0.9;
}

.container:active .overlay{      /*für handys/tablets funkt leider nicht :( */
  opacity: 0.9;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.overlay.plf{
  background-color: #00DBFF;
}

.overlay.illu{
  background-color: #00EA09;
}

.overlay.pass{
  background-color: #FF00B3;
}

.overlay.typo{
  background-color: #FFA600;
}

.overlay.buchbinden{
  background-color: #EA0004;
  z-index: 12;
}



.reihen{
  display: flex;
  flex-direction: column;
  width: 30%;
}

.reihen2{
  display: flex;
  flex-direction: column;
  display: none;
  width: 30%;
}

.spalten{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 90%;
  margin: auto;
}

.carmen{
  width: 70%;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
}

.carmen.still{
  position: absolute;
}

.carmen.still:hover{
  display: none;
}

.gif{
  width: 45%;
  min-width: 400px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

.about_content{
  display: flex;
  flex-direction: row;
}

article{
  width: 40%;
  margin: 20px 48px 0 70px;
}

article.blog{
  width: 60%;
  margin: 25px;
}

.trennlinie{
  display: block;
  height: 10px;
}

.trennlinie.hellblau{
  background-color: #00DBFF;
}

.trennlinie.hellblau.nav:hover{
  background-color: #00EA09;
}

.trennlinie.dunkelblau{
  background-color: #0022ED;
}

.trennlinie.pink{
  background-color: #FF00B3;
}

.trennlinie.grün{
  background-color: #00EA09;
}

.trennlinie.rot{
  background-color: #EA0004;
}

.trennlinie.orange{
  background-color: #FFA600;
}

.trennlinie.gelb{
  background-color: yellow;
}

.trennlinie.gelb.nav:hover{
  background-color: #FF00B3;
}



.dropbtn {
  background-image: url("data/Hamburger_icon.svg.png");
  background-color: transparent;
  margin: 16px 40px 16px 16px;
  border: none;
  position: absolute;
  right: 0px;
  top: 29px;
}

.dropbtn.index{top: 20;}
.dropdown.index{top: 20;}

.dropdown {
  position: absolute;
  display: inline-block;
  z-index: 9;
  right: 0px;
  top: 0px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right:0;
  background-color: white;
  min-width: 170px;
  min-height: 180px;
  z-index: 10;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  color: black;
  margin: 23px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: 600;
  font-size:calc(20px + 0.5vw);
  z-index: 10;
  transition: 0.5s ease;
}

.dropdown-content a:hover {font-size:calc(22px + 0.5vw);text-decoration: none;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:active .dropdown-content {display: block;}




@media (max-width: 1041px) {
  .reihen{display: none;}
  .reihen2{display: flex;width: 45%;}
}

@media (max-width: 715px) {
  .reihen{display: flex;width: 100%;}
  .reihen2{display: none;}
  .spalten{flex-direction: column;}
}

@media (max-width: 774px) {
  article.blog{width:90%;margin-left: auto;margin-right: auto;}
}

@media (max-width: 1039px){
  button{display:none;}
  button.dropbtn{display:block;}
}

@media (max-width: 725px){
  input{display:none;}
}

@media (max-width: 800px){
  .carmen.still{display:none;}
  .about_content{flex-direction: column;}
  .carmen{align-content: left;}
  .gif{margin-left: 10px;}
}

@media (max-width: 496px){
  article{margin-left:35px;}
  .gif{margin-left: -25px;}
}
