/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v12-latin-regular.eot');
  src: local('Raleway'), local('Raleway-Regular'), url('../fonts/raleway-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/raleway-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/raleway-v12-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/raleway-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/raleway-v12-latin-regular.svg#Raleway') format('svg');
  
  /* IE9 Compat Modes */
  /* Legacy iOS */
}
/* raleway-700 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/raleway-v12-latin-700.eot');
  src: local('Raleway Bold'), local('Raleway-Bold'), url('../fonts/raleway-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/raleway-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/raleway-v12-latin-700.woff') format('woff'), /* Modern Browsers */ url('../fonts/raleway-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/raleway-v12-latin-700.svg#Raleway') format('svg');
  
  /* IE9 Compat Modes */
  /* Legacy iOS */
}
/* raleway-800 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/raleway-v12-latin-800.eot');
  src: local('Raleway ExtraBold'), local('Raleway-ExtraBold'), url('../fonts/raleway-v12-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/raleway-v12-latin-800.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/raleway-v12-latin-800.woff') format('woff'), /* Modern Browsers */ url('../fonts/raleway-v12-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/raleway-v12-latin-800.svg#Raleway') format('svg');
  
  /* IE9 Compat Modes */
  /* Legacy iOS */
}
*,
*::after,
*::before {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: 'Raleway', Arial, sans-serif;
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #1aa39c;
  color: #a2ded0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
h1 {
  color: #136e69;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 30px;
}
h2 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 22px;
}
h3 {
  font-size: 22px;
}
p {
  margin-top: 0;
}
img {
  width: 100%;
  height: auto;
}
a {
  transition: all 300ms linear;
  color: #a2ded0;
}
header .logo {
  width: 100px;
}
.wrapper {
  margin: 0 auto;
  max-width: 1170px;
  padding: 60px 30px 60px 30px;
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.image {
  text-align: center;
}
.image img {
  max-width: 350px;
  margin: 70px auto 30px auto;
  padding: 0 50px 0 50px;
}
.intro {
  font-size: 22px;
}
.intro h1 {
  font-size: 30px;
  margin-bottom: 5px;
}
.intro h2 {
  margin-top: 5px;
}
.overlay {
  display: none;
  background-color: #16807a;
  opacity: 1;
  visibility: visible;
  position: fixed;
  overflow: auto;
  z-index: 100;
  transition: 0.3s;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}
.overlay button.close {
  font-size: 50px;
  color: #0e5451;
  background-color: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  width: 50px;
  height: 50px;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 20px;
  outline: 0;
}
.overlay button.close:hover,
.overlay button.close:active,
.overlay button.close:focus {
  color: #a2ded0;
}
.overlay h1 {
  color: #0e5451;
}
.overlay.impressum.opened {
  display: block;
}
.overlay.datenschutz.opened {
  display: block;
}
.line {
  border-bottom: 1px solid #a2ded0;
  height: 46px;
  margin-top: 12px;
}
.btn.contact {
  display: block;
  max-width: 300px;
  border: 2px solid #a2ded0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 12px;
  color: #a2ded0;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 50px auto 50px auto;
  font-size: 18px;
}
.btn.contact:focus,
.btn.contact:hover,
.btn.contact:active {
  border-color: white;
  color: white;
}
footer {
  position: absolute;
  width: auto;
  padding: 0 30px;
  bottom: 0;
  left: 0;
  right: 0;
}
footer nav ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
  margin-bottom: 13px;
}
footer nav ul li {
  display: inline-block;
  margin: 0 15px;
}
footer nav ul li a {
  color: #136e69;
  text-decoration: none;
}
.typewriter {
  display: inline-block;
}
.typewriter p {
  overflow: hidden;
  border-right: 0.15em solid #a2ded0;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: typing 5s steps(40, end) infinite 2s, blink-caret 0.75s step-end infinite;
  font-family: monospace;
}
/* The typing effect */
@keyframes typing {
  0% {
    width: 0;
  }
  30% {
    width: 100%;
  }
  70% {
    width: 100%;
  }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #a2ded0;
  }
}
@media screen and (min-width: 500px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
}
@media screen and (min-width: 768px) {
  header .logo {
    width: 130px;
  }
  .image {
    width: 50%;
    float: left;
  }
  .image img {
    padding: 0 50px 0 20px;
    margin-top: 120px;
  }
  .intro {
    max-width: 50%;
    float: right;
  }
}
