html,body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #242765;
  text-align: center;
}

a { text-decoration: none;}
li {list-style-type: none;}

.embed-container {
  position: relative;
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
}
.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* ratio 4x3 */
.embed-container.ratio4x3 {
  padding-bottom: 75%;
}

hr {width: 30px; height: 3px; border:0; margin: 0 auto 40px auto; color: #242765;}
.button, #logo, img, li, .fa-bars {transition: all 300ms; -webkit-transition: all 300ms;  -moz-transition: all 300ms; -o-transition: all 300ms;}
.fa-bars {display: none;}


/* HEADER *************************************************************************/

header {
  width: 100%;
  height: 40px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #242765;
  z-index: 1;
}

header nav {
  float: right;
  margin: 10px 50px 0 0;
}

header nav ul li {
  float: left;
  margin-right: 16px;
}

header nav ul a li  {
  font-size: 16px;
  color: #fff;
  font-family: 'Knewave', cursive;
  text-transform: uppercase;
}

header nav ul li:hover{
  opacity: 0.5;
}

#logo {
  width: 185px;
  float: left;
  margin: 3px 0 0 50px;
}

#logo img {
  width: 100%;
}

#logo img:hover { opacity: 0.5;}


/* HOME *************************************************************************/

#home {
  background: url(https://helga-fruehauf-koehler.de//img/landing.jpg);
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
  min-height: 100%;
}

#emaille h3 {
  font-size: 40px;
  color: #1c1f51;
  font-family: 'Knewave', cursive;
  margin:0;

}

#home h3:hover {
  opacity: 0.5;
}

/* EMAILLE *************************************************************************/

#emaille {
  background: url(https://helga-fruehauf-koehler.de//img/landingthird.jpg);
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
  margin: 0 auto 0 auto;
  min-height: 100%;


}

#emaille h1 {
  font-size: 40px;
  color: #1c1f51;
  font-family: 'Knewave', cursive;
  margin: 130px auto 0 auto;

}

#emaille p {
  color: #1c1f51;
  text-align: center;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  margin: 30px auto 0 auto;
}

/* PORTFOLIO *************************************************************************/

#portfolio {
  background-color: #242765;
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
  margin: 0 auto 0 auto;

}

#portfolio h1 {
  font-size: 40px;
  color: #fff;
  font-family: 'Knewave', cursive;
  margin: 130px auto 0 auto;

}

#portfolio p {
  color: #1c1f51;
  text-align: center;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  margin: 40px auto 0 auto;
}

/* ABOUT *************************************************************************/

#aboutt {
  background: url(https://helga-fruehauf-koehler.de//img/landingsecond.jpg);
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
  margin: 0 auto 0 auto;

}

#about img {width: 250px; height: auto; margin:0px auto;}

#about h1 {
  font-size: 40px;
  color: #fff;
  font-family: 'Knewave', cursive;
  margin: 30px auto 0 auto;

}

#about p {
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
}

#about {
  background-color: #242765;
  background-position: center;
  background-size:cover;
  background-attachment: fixed;
}

.about-text {width: 60%;  margin: 0 auto 0 auto;}


footer {
  position:bottom;
  bottom: 0;
  width: 100%;
  height: 100px;
  padding-top: 50px;
  color: #fff!important;
  background-color: #242765;
}

footer p {
  font-size: 15px;
  font-family: 'Roboto', sans-serif;

}

footer a {
  color: #fff;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
}













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

  #home {
    background: url(https://helga-fruehauf-koehler.de//img/landingsmall.jpg);
    background-position: center;
    background-size:cover;
  }

  #emaille h1 {
    font-size: 40px;
    color: #1c1f51;
    font-family: 'Knewave', cursive;
    margin: 10px auto 0 auto;

  }

  #emaille p {
    color: #1c1f51;
    text-align: center;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    margin: 10px auto 0 auto;
  }

  #emaille {
        background: url(https://helga-fruehauf-koehler.de//img/landingthird.jpg);

  background-position: center;
  background-size:cover;
  margin: 0 auto 0 auto;
  height:  100%;

}

  #portfolio h1 {
    font-size: 40px;
    color: #fff;
    font-family: 'Knewave', cursive;
    margin: 10px auto 0 auto;

  }

  #portfolio {
    background-color:#242765;
    margin: 0 0 0 0;
    height:  80%;
  }


  #about h1 {
    font-size: 40px;
    color: #fff;
    font-family: 'Knewave', cursive;
    margin-top: 200px;
    margin-bottom: 10px;

  }

  #about img {margin-top: 10px;}

  #about p {
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    margin-top: 0px;
  }

  #about {
    background-color: #242765;
    min-height: 100%;
    }
    
    .about-text {width: 60%;  margin: 0 auto 0 auto;}


  header nav {margin: 0; float:none;}

  .fa-bars {
    font-size: 17px;
    display: inline-block;
    width: 100%;
    color: #fff;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -35px 5px 0 0;
  }

  .fa-bars:hover {
    opacity: 0.5;
  }

  header nav ul {
    height: 0;
    text-align: right;
    float: right;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 150px;
    padding-right: 5px;
  }

  header nav ul.open {
    height: auto;
  }

  header nav ul li {
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 11px;
  }

  header nav ul li:hover {
    border-color: #eeeeee;
  }

  #logo {
    width: 185px;
    float: left;
    margin: 2px 0 0 3px;
  }

  #logo img {
    width: 200px;
    height: auto;
  }

  #aboutt {
    display:none;
  }
}
