/****************************************/
/* Standardanpassungen ******************/
/****************************************/
html, body {margin: 0; padding: 0; height: 100%; text-align: center;}
section {min-height: 100%;}
a {text-decoration: none;}
li {list-style-type:none;}

h1, h2, h3, a {font-family: 'Roboto',sans-serif; font-weight: 500; color: #494949; text-transform:uppercase;}
h2 {color: #5d7177;}
h3 {font-size: 40px; padding-top: 8%; margin-bottom: 5px;}
h4, p {font-family: 'Roboto Slab',serif; color: #494949;}

hr {width: 30px; height: 3px; background: #494949; border: 0; margin: 0 auto 40px auto;}  /* oben - rechts - unten - links */
#logo, li, img, .button, .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: 85px;
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

#logo {
  float: left;
  margin: 15px 0 0 50px;
}

#logo:hover {
  opacity: 0.5;
}

#logo img {
  width: 65%;
  /*height: 100%;*/
}

header nav {
  float: right;
  margin: 10px 50px 0 0;
}

header nav ul a li {
  float: left;
  margin-left: 25px;
}

header nav ul a li {
  font-size: 25px;
}

header nav ul a li:hover {
  padding-top: 5px;
}


/****************************************/
/* HOME *********************************/
/****************************************/


#home {
  background: url(../img/wallpaper.png);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}


#home div img {
  margin: 240px auto 0 auto;
  width: 35%;
  opacity: 1;
}

#home h2 {
  margin: 30px auto 0 auto;
  font-size: 25px;
  color: #81BEF7;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  outline-style: groove;
  outline-color: #000000;
}

#home img {
  width: 75px;
  margin-top: 100px;
  opacity: 0.7;
}

#home img:hover {
  opacity: 1;
}

#marken{
  position: relative;
  display: flex;
  /*gap: 15px;*/
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  }
  
  #marken img {
  background-color: #ffffff;
  padding: 5px;
  width: calc(5vw);
  height: auto;
  object-fit: contain;
  opacity: 0.7;
  margin: 0;
  }



/****************************************/
/* ABOUT ********************************/
/****************************************/

#about img {
  width: 240px;
}

#about img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

#about h4 {
  font-size: 25px;
}

#about p {
  width: 700px;
  margin: 0 auto 0 auto;
}


/****************************************/
/* WORK *********************************/
/****************************************/

#work {
  background-color: #f0f0f0;
}

#projects {
  width: 900px;
  margin: 0 auto 0 auto;
  }

  #projects ul {
    padding: 0;
  }

  #projects ul li {
    width: 33.3%;
    float: left;
    margin-bottom: 15px;
  }

  #projects ul li p {
    font-family: 'Roboto',serif;
  }

  #projects img {
    width: 280px;
    height: 170px;
    border-radius: 5px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  }

  /*#projects img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  }*/


/****************************************/
/* CONTACT ******************************/
/****************************************/

#contact_text img {
  width: 50x;
  height: 50px;
}

#contact_text table{
  margin: 0 auto;
}

/** altes Kontaktformular
form input, textarea {
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid;
  border-color: #494949;
  outline: none;
}


form input:first-child {
  margin-top: 10px;
}

form input {
  width: 552px;
  height: 30px;
}

form textarea {
  width: 550px;
  height: 200px;
  resize: none;
}

.input_text {
  color: #494949;
  padding-left: 10px;
}

::-webkit-input-placeholder {color: #999999;}
::-moz-placeholder {color: #999999;}
:-ms-input-placeholder {color: #999999;}
:-moz-placeholder {color: #999999;}

.button {
  background-color: #f0f0f0;
  color: #494949;
  width: 566px;
  height: 50px;
}

.button:hover {
  background-color: #494949;
  color: #f0f0f0;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}
**/


/****************************************/
/* PRE FOOTER ***************************/
/****************************************/

#prefooter {
  min-height: 30px;
  width: 100%;
  background-color:  #494848 ;
}

#prefooter p {
  font-family: 'Roboto',serif;
  font-size: 18px;
  color: #f0f0f0;
  padding-top: 3px;
}

/****************************************/
/* FOOTER *******************************/
/****************************************/


footer {
  width: 100%;
  height: 50px;
  background-color: #3f3f3f;
}

footer nav {
  float: right;
  margin: 0px 50px 0 0;
}

footer nav ul a li {
  float: left;
  margin-left: 25px;
}

footer nav ul a li {
  color: #f0f0f0;
  font-size: 20px;
}

footer nav ul a li:hover {
  padding-top: 5px;
}


/****************************************/
/* Impressum und Datenschutz*************/
/****************************************/
/* Impressum */

#impressum img {
  width: 90px;
}

#impressum img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

#impressum h4 {
  font-size: 25px;
}

#impressum h2 {
  text-align: justify;
  width: 700px;
  margin: 0 auto 0 auto;
}

#impressum p {
  text-align: justify;
  width: 700px;
  margin: 0 auto 0 auto;

}

/* Datenschutz */

#datenschutz img {
  width: 90px;
}

#datenschutz img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

#datenschutz h4 {
  font-family: 'Roboto',sans-serif;
  font-weight: 500;
  color: #494949;
  text-transform:uppercase;
  font-size: 40px;
  padding-top: 8%;
  margin-bottom: 5px;
}

#datenschutz h3 {
  text-align: justify;
  width: 700px;
  margin: 0 auto 0 auto;
  font-size: 25px;
}

#datenschutz h2 {
  text-align: justify;
  width: 700px;
  margin: 0 auto 0 auto;
  font-size: 20px;
}

#datenschutz p {
  text-align: justify;
  width: 700px;
  margin: 0 auto 0 auto;
}

/****************************************/
/* MEDIA QUERIES ************************/
/****************************************/

/* TABLETS */

@media screen and (max-width: 1024px) {
  header {
    height: auto;
  }

  #logo {
    width: 100px;
    margin-top: 5px;
  }

  header nav {
    margin-top: 0;
  }

  header nav ul a li {
    font-size: 15px;
  }

  #home h1 {
    font-size: 90px;
    margin-top: 200px;
  }

  #home h2 {
    font-size: 22px;
  }

  h3 {
    padding-top: 12%;
  }

  #about p {
    width: 80%;
  }

  #projects {
    width: auto;
  }

  #projects ul li {
    width: 100%;
    float: none;
  }

  #projects ul li:last-child {
    padding-bottom: 20%;
  }

  #projects img {
    width:  55%;
    height: auto;
  }

  form input, form textarea {
    width: 60%;
  }

  .button {
    width: 62%;
  }

#prefooter p {
  font-size: 12px;
  padding-top: 7px;
}


  footer nav {
    margin-top: 0;
  }

  footer nav ul a li {
    font-size: 15px;
  }
}

/* MOBILE */

@media screen and (max-width: 480px) {

  #logo {
    width: 90px;
    margin-left: 30px;
  }

  header nav {
    margin-top: 0;
    float: none;
  }

  .fa-bars {
    font-size: 17px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -25px 30px 0 0;
  }

  .fa-bars:hover {
    opacity: 0.5;
  }

  header nav ul {
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  header nav ul.open {
    height: auto;
  }

  header nav ul a li {
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 11px;
    border-top: 1px solid #dddddd;
  }

  header nav ul a li:hover {
    background-color: #eeeeee;
  }

  #home h1 {
    font-size: 60px;
    margin-bottom: 200px;
  }

  #home h2 {
    width: 70%;
    height:auto;
  }

  #projects img {
    width: 70%;
    height: auto;
  }

  form input, form textarea {
    width: 70%;
  }

  .button {
    width: 74%;
  }

  footer nav {
    margin-top: 0;
  }

  footer nav ul a li {
    font-size: 12px;
  }
}
