
:root {
  --primary-color: rgba(13, 110, 139, 0.75);
  --overlay-color: rgba(24, 39, 51 , 0.85);
  --menu-color-background: white;
  --header-1-color: rgb(80, 80, 80);
  --header-2-color: rgb(90, 109, 114);
  --menu-speed: 0.75s;
}

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, .impressum {
  font-family: 'Klee One', cursive;
  font-weight: 400;
  color: var(--header-1-color);
  /* text-transform: uppercase; */

}

h2 {
  color: var(--header-2-color);
}

h3 {
  font-size: 40px;
  padding-top: 8%;
  margin-bottom: 5px;
}

h4, p {
  font-family: 'Klee One', cursive;
  color: var(--header-1-color);
}

hr {
  width: 30px;
  height: 3px;
  background: var(--header-1-color);
  border: 0;
  margin: 0 auto 40px auto;
}

#logo, li, img, .fa-bars, .fa-chevron-down {
  transition: all 300ms; -webkit-ransition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;
}

.fa-bars {display: none;}

/* ---------- header ---------- */
header {
  width: 100%;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--menu-color-background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* #logo {
  width: 140px;
  float: left;
  margin: 10px 0 0 50px;
}
#logo:hover {
  opacity: 0.5;
}
#logo img {
  width: 100;
} */

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

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

header nav ul li a {
  font-size: 16px;
}

header nav ul li:hover {
  padding-top: 5px;
}

/* ---------- home ---------- */

#home {
  background: url(../images/see-bg.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

#home h1 {
  margin: 200px auto 0 auto;
  font-size: 110px;
}

#home h2 {
  margin: 0 auto 0 auto;
  font-size: 25px;
}

/* #home img {
  width: 32px;
  margin-top: 150px;
  opacity: 0.7;
}

#home img:hover {
  opacity: 1;
} */

#home a .fa-chevron-down {
  font-size: 50px;
  color: #505050;
  margin-top: 3rem;
  animation-name: updown;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

#home a .fa-chevron-down:hover {
  opacity: 0.5;
  padding-top: 5px;
  color: #5d7177;
}

@keyframes updown {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}
/* ---------- about ---------- */

#about img {
  width: 240px;
}

#about img:hover {
  transform: scale(1.1); -webkit-ransition: scale(1.1); -moz-transition: scale(1.1); -o-transition:  scale(1.1);
}

#about h4 {
  font-size: 25px;
}

#about p {
  width: 700px;
  margin: 0 auto 0 auto;
}

/* ---------- portfolio ---------- */

#portfolio {
  background-color: #f0f0f0;
}

#projects {
  width: 900px;
  margin: 0 auto 0 auto;;
}

#projects ul {
  padding: 0;
}

#projects ul li {
  width: 50%;
  float: left;
  margin-bottom: 10px;
}

#projects img {
  width: 280px;
  height: 170px;
  border-radius: 5px;
}

#projects img:hover {
  transform: scale(1.1); -webkit-ransition: scale(1.1); -moz-transition: scale(1.1); -o-transition:  scale(1.1);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

/* ---------- contact ---------- */

#contact_ p {
  color: green;
}
/* see https://www.youtube.com/watch?v=coJXL5rM1jY&t=389s */

/* ---------- footer ---------- */

footer {
  width: 100%;
  height: 70px;
  background-color: #404040;
  display: flex;
  justify-content: space-around;
}

footer .copyright p, footer .impressum div {
  font-size: 12px;
  color: #f0f0f0;
  padding-top: 30px;
}
footer .impressum div {
  cursor: pointer;
}

/* ---------- media tablets ---------- */

@media screen and (max-width: 1024px) {
  header {
    height: auto;
  }
  #logo {
    width: 100px;
    margin-top: 5px;
  }
  header nav {
    margin-top: 0;
  }
  header nav ul li {
    font-size: 12px;
  }
  #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%;
  }
  #projects ul li:last-child {
    padding-bottom: 20%;
  }
  #projects img {
    width: 55%;
    height: auto;
  }
  /*form, input, form, textarea {
    width: 60%;
  }
  .button (
  width: 62%
  )
}*/

/* ---------- media mobile ---------- */

@media screen and (max-width: 800px) {
  #logo {
    width: 90px;
    margin-left: 30px;
  }
  header nav {
    margin: 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 li {
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 11px;
    border-top: 1px solid #dddddd;
  }
  header nav ul li:hover {
    background-color: #eeeeee;
  }
  #home h1 {
    font-size: 60px;
    margin-top: 200px;
  }
  #home h2 {
    width: 70%;
    height: auto;
  }
  #projects img {
    width: 70%;
    height: auto;
  }
}