@charset "UTF-8";
body.home div.teaser {
  color: #ffffff;
}
body.home figure#imgme img,
body.home figure#imgme picture {
  float: right;
  margin: 0 0 10px 10px;
  height: auto;
  width: 197px;
  height: 140px;
}
body.home figcaption {
  display: none;
}

@media print {
  body.home.no-webp div.bg,
  body.home.webp div.bg {
    background: none transparent;
  }

  body.home div.teaser {
    color: #333333;
  }
}
body.vita div.row {
  margin-bottom: 10px;
  padding: 5px;
}

body.vita div.row:after {
  clear: both;
}

body.vita div.row:nth-child(odd) {
  background-color: rgba(51, 51, 51, 0.8);
}

body.vita div.details {
  margin: 0;
  padding: 0;
}

body.vita div.details p {
  margin: 0;
  padding: 5px;
  font-size: 13px;
}

@media only screen and (min-width: 590px) and (max-width: 869px) {
  body.vita div.date {
    display: inline-block;
    width: 190px;
    vertical-align: top;
    float: left;
  }

  body.vita div.desc {
    display: inline-block;
    vertical-align: top;
  }

  body.vita div.grad {
    margin-left: 190px;
  }

  body.vita div.details {
    margin-left: 190px;
  }
}
@media only screen and (min-width: 870px) {
  body.vita div.date {
    display: inline-block;
    width: 190px;
    vertical-align: top;
    float: left;
  }

  body.vita div.desc {
    display: inline-block;
    vertical-align: top;
  }

  body.vita div.grad {
    display: inline-block;
    width: 280px;
    vertical-align: top;
    float: right;
  }

  body.vita div.details {
    margin-left: 190px;
  }
}
@media print {
  body.vita div.bg,
  body.me div.bg {
    background: none transparent;
    position: static;
    height: auto;
  }

  body.vita div.row {
    border-bottom: solid 1px #34393f;
    page-break-inside: avoid;
    margin-top: 0.5cm;
  }

  body.vita div.row:nth-child(2n+1) {
    background: none transparent;
  }
}
body.contact div.teaser {
  color: #ffffff;
}

div#contactform {
  width: 100%;
  max-width: 710px;
}

div#contactform.error {
  width: 300px;
  background-color: rgba(255, 0, 0, 0.5);
  color: #ffffff;
  font-weight: 700;
  border-radius: 5px;
  padding: 16px;
  border: solid 3px #cccccc;
}

div#contactform label {
  display: block;
}

div#contactform label.required:after {
  content: "*";
  color: #cc0000;
  font-weight: 700;
}

div#contactform label#lblPrivacy {
  width: auto;
}

div#contactform span.red {
  color: #cc0000;
  font-weight: 700;
}

div#contactform div.row {
  margin: 1em 0;
}

div#contactform div.row#name input,
div#contactform div.row#email input,
div#contactform div.row#text textarea {
  display: block;
  border: none;
  width: calc(100% - 12px);
  margin: 0.5em 0;
  padding: 5px;
  font-family: Arial,Helvetica;
}

div#contactform div.row.error#name input,
div#contactform div.row.error#email input,
div#contactform div.row.error#text textarea {
  border: solid 1px #cc0000;
  width: calc(100% - 14px);
  color: #cc0000;
}

div#contactform div.row.error:after {
  display: block;
  font-size: 14px;
  padding: 0.25em 0;
  font-weight: bold;
  color: #cc0000;
}

div#contactform div.row.error#name:after {
  content: "Der Name ist nicht korrekt";
}

div#contactform div.row.error#email:after {
  content: "Die E-Mail Adresse ist nicht korrekt";
}

div#contactform div.row.error#text:after {
  content: "Der Text ist nicht korrekt";
}

div#contactform div.row.error#chkPrivacy:after {
  content: "Die Datenschutzerklärung wurde nicht akzeptiert";
}

div#contactform textarea {
  resize: vertical;
  height: 200px;
}

div#contactform input[type=submit],
div#contactform input[type=reset] {
  width: auto;
  font-family: Overpass;
  border: none;
  font-weight: 200;
  border-radius: 5px;
  height: auto;
  color: #ffffff;
  background-color: #0e6a8c;
  -webkit-appearance: none;
  font-size: 1em;
  padding: 0.25em 0.75em;
}

@media screen and (min-width: 520px) and (max-width: 699px) {
  div#contactform {
    width: 100%;
  }
}
@media screen and (min-width: 760px) {
  div#contactform {
    width: 100%;
    margin: 0 auto;
  }

  div#contactform label {
    display: inline-block;
    width: 190px;
    vertical-align: top;
  }

  div#contactform div.row#name input,
  div#contactform div.row#email input,
  div#contactform div.row#text textarea {
    display: inline-block;
    max-width: 500px;
    vertical-align: top;
  }

  div#contactform input[type=submit],
  div#contactform input[type=reset] {
    margin: 0.5em 0;
  }

  div#contactform div.row.error:after {
    padding: 0.25em 0 0.25em 190px;
  }
}
body.project {
  height: 100%;
}

@media print {
  body.project div.bg {
    background: none transparent;
    position: static;
    height: auto;
  }
}
div.projectdetail picture,
div.projectdetail img {
  display: block;
  margin: 0 0 10px 0;
  max-width: 100%;
  height: auto;
}
div.projectdetail figure.gallery {
  display: block;
  margin: 0 0 10px 0;
  position: relative;
  height: auto;
  width: auto;
}
div.projectdetail figure.gallery picture,
div.projectdetail figure.gallery img {
  display: block;
  margin: 0;
  max-width: 100%;
  height: auto;
  width: 100%;
}
div.projectdetail figure.gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
}

@media screen and (min-width: 800px) {
  div.projectdetail picture,
  div.projectdetail img {
    float: right;
    margin: 0 0 10px 10px;
  }
  div.projectdetail figure.gallery {
    float: right;
    margin: 0 0 10px 10px;
    position: relative;
    height: auto;
    width: auto;
  }
  div.projectdetail figure.gallery picture,
  div.projectdetail figure.gallery img {
    float: none;
    display: block;
    margin: 0;
    max-width: 100%;
    height: auto;
    width: 100%;
  }
  div.projectdetail figure.gallery figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
  }
}
body.me #imgme {
  float: right;
  margin: 0 0 10px 10px;
  height: auto;
  width: 200px;
}

body.me div.bg {
  background-image: url(../images/me-768.jpg);
  background-position: right 50%;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  body.me div.bg {
    background-image: url(../images/me-992.jpg);
  }
}
@media screen and (min-width: 1920px) {
  body.me div.bg {
    background-image: url(../images/me-1920.jpg);
  }
}
@font-face {
  font-family: 'Overpass';
  src: url("https://dev.mh-cdn.de/mh/fonts/Overpass-Thin.eot");
  src: url("https://dev.mh-cdn.de/mh/fonts/Overpass-Thin.eot?#iefix") format("embedded-opentype"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Thin.woff2") format("woff2"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Thin.woff") format("woff"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Thin.ttf") format("truetype"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Thin.svg#Overpass-Thin") format("svg");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Overpass';
  src: url("https://dev.mh-cdn.de/mh/fonts/Overpass-ExtraLightItalic.eot");
  src: url("https://dev.mh-cdn.de/mh/fonts/Overpass-ExtraLightItalic.eot?#iefix") format("embedded-opentype"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-ExtraLightItalic.woff2") format("woff2"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-ExtraLightItalic.woff") format("woff"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-ExtraLightItalic.ttf") format("truetype"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-ExtraLightItalic.svg#Overpass-ExtraLightItalic") format("svg");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Overpass';
  src: url("https://dev.mh-cdn.de/mh/fonts/Overpass-Regular.eot");
  src: url("https://dev.mh-cdn.de/mh/fonts/Overpass-Regular.eot?#iefix") format("embedded-opentype"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Regular.woff2") format("woff2"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Regular.woff") format("woff"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Regular.ttf") format("truetype"), url("https://dev.mh-cdn.de/mh/fonts/Overpass-Regular.svg#Overpass-ExtraLightItalic") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/**
@font-face {
    font-family: 'Overpass';
    src: url($cdnhost + '/fonts/Overpass-Bold.eot');
    src: url($cdnhost + '/fonts/Overpass-Bold.eot?#iefix') format('embedded-opentype'),
        url($cdnhost + '/fonts/Overpass-Bold.woff2') format('woff2'),
        url($cdnhost + '/fonts/Overpass-Bold.woff') format('woff'),
        url($cdnhost + '/fonts/Overpass-Bold.ttf') format('truetype'),
        url($cdnhost + '/fonts/Overpass-Bold.svg#Overpass-ExtraLightItalic') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display:swap;
}
**/
div.bg {
  padding: 0;
  background-position: 100% auto;
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  position: fixed;
  top: 0px;
  z-index: -1;
  height: 100%;
  width: 100%;
}

div.teaser {
  line-height: 36px;
  font-size: 24px;
  font-family: Overpass, Arial;
  font-weight: 400;
  font-style: normal;
  color: #333333;
  max-width: calc(100% - 20px);
  background-position: inherit;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-attachment: fixed;
  background-color: transparent;
  z-index: 2;
  width: auto;
  padding: 0;
  border-radius: 0;
  visibility: visible;
}

body.error div.teaser {
  bottom: 50px;
}

body.projectmain div.teaser {
  bottom: 50px;
  cursor: pointer;
}

@media only screen and (min-width: 920px) {
  div.teaser {
    bottom: 30px;
    left: 60px;
    max-width: 800px;
  }
}
@media only screen and (min-width: 800px) {
  div.bg {
    height: 100%;
  }

  body.errormain div.teaser,
  body.projectmain div.teaser {
    bottom: 70px;
  }
}
div.glossy {
  position: relative;
  padding: 0px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  /* border:solid 1px #04a0eb; */
  box-shadow: 5px 3px 30px black;
  background-position: inherit;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-attachment: inherit;
  overflow: hidden;
  z-index: 1;
}

div.glossy:before {
  content: " ";
  background-position: inherit;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  background-attachment: inherit;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  filter: blur(5px);
  z-index: -1;
}

div#update {
  background-color: #34393f;
  color: #cccccc;
  position: absolute;
  top: 120px;
  left: 50%;
  width: 90%;
  height: auto;
  max-width: 400px;
  transform: translateX(-50%);
  padding: 0.5em;
  line-height: 1.5em;
  font-family: Overpass, Arial;
  font-size: 20px;
  font-weight: 200;
  display: none;
}

div#update.show {
  display: block;
}

/* ----------- iPhone 6, 6S, 7 and 8 Portrait and Landscape ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  div.teaser {
    background-image: none;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  div.glossy {
    background: unset;
  }

  div.glossy:before {
    background: unset;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 3) {
  div.glossy {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  div.glossy:before {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
div.glossybg {
  width: 100%;
  height: 100%;
  background-color: rgba(204, 204, 204, 0.6);
}

div.glossypadding {
  padding: 20px;
}

@media print {
  div.bg {
    padding: 151px 0 0 0;
    margin: 1cm 2cm;
    position: static;
    height: auto;
    color: #333333;
  }

  div.teaser {
    position: static;
    height: auto;
    margin: 0 1cm 0 0;
    max-width: calc(100% - 5cm);
    width: auto;
  }
  div.teaser h1 {
    position: running(title);
    font-size: 26px;
  }

  div.glossy {
    background: none transparent;
    box-shadow: none;
    border-radius: 0;
    border-bottom: solid 1px #0e6a8c;
  }
  div.glossy div.glossybg {
    background: none transparent;
  }
}
@keyframes showactive {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
div#keypad {
  position: fixed;
  display: none;
  z-index: 4;
  width: 160px;
  height: 200px;
  background-color: #34393f;
  bottom: 10px;
  right: 10px;
  padding: 5px;
  border-radius: 10px;
  text-align: center;
}
div#keypad button {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #555555;
  margin: 5px;
  border-radius: 10px;
  border: none;
  color: #cccccc;
  line-height: 40px;
  font-size: 24px;
  text-align: center;
}
div#keypad button:disabled {
  opacity: 0.5;
}

div#keypad.active {
  display: block;
}

header {
  height: 60px;
  width: 100%;
  position: fixed;
  background-color: #333333;
  margin: 0;
  padding: 0;
  text-align: center;
  z-index: 11;
  visibility: visible;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
header div.share {
  position: absolute;
  overflow: hidden;
  top: 60px;
  right: 0;
  width: 350px;
  height: 0;
  z-index: 4;
  background-color: rgba(51, 51, 51, 0.9);
  transition: height ease 0.3s;
  visibility: visible;
}
header div.share figure {
  position: absolute;
  top: 10px;
  right: 10px;
}
header div.share figure figcaption {
  display: none;
}
header div.settings {
  position: absolute;
  overflow: hidden;
  top: 60px;
  right: 0;
  width: 350px;
  height: 0;
  z-index: 4;
  background-color: rgba(51, 51, 51, 0.9);
  transition: height ease 0.3s;
}
header span.logo {
  position: absolute;
  left: calc(50% - 20px);
  top: 10px;
  height: 40px;
  width: 40px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  /* background-position:-0px -1650px; */
  background-position: 0px -160px;
  margin: 0;
  visibility: visible;
  /* transition: left linear 0.3s, top linear 0.3s; */
}
header span.burger {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 15px;
  top: 6px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -201px -1px;
  transform: scale(0.8);
  z-index: 4;
}
header span.share {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 10px;
  top: 10px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -401px -81px;
  transform: scale(0.8);
  cursor: pointer;
}
header span.share:hover {
  background-position: -401px -121px;
}
header span.settings {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 60px;
  top: 10px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -481px -81px;
  transform: scale(0.8);
  cursor: pointer;
}
header span.settings.tab {
  /* animation: showactive 0.82s cubic-bezier(.36,.07,.19,.97) both; */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
header span.settings:hover {
  background-position: -481px -121px;
}
header nav {
  position: absolute;
  top: 60px;
  left: 0;
  height: 0;
  width: 192px;
  visibility: visible;
  padding: 0;
  background-color: rgba(51, 51, 51, 0.9);
  overflow: hidden;
  transition: height linear 0.2s;
}
header nav ul {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  text-align: left;
}
header nav ul li {
  padding: 0 16px;
  margin: 0;
  width: 160px;
  height: 40px;
  list-style: none;
  display: block;
  position: relative;
  /* https://codepen.io/AmJustSam/pen/ModORY */
}
header nav ul li span {
  display: inline-block;
  height: 40px;
  line-height: 40px;
}
header nav ul li a {
  font-size: 20px;
  margin: 0;
  text-decoration: none;
  color: #ffffff;
  font-family: Overpass, Arial;
  font-weight: 100;
  font-style: normal;
  /* transition: color linear 0.1s; */
  padding: 0px 0 0 50px;
  display: inline-block;
  height: 40px;
}
header nav ul li a:before {
  content: " ";
  width: 40px;
  height: 40px;
  position: absolute;
  left: 10px;
  top: 0px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  transform: scale(0.8);
}
header nav ul li:last-child {
  padding: 0 16px;
}
header nav ul li#home.active span a:before,
header nav ul li#home:focus span a:before,
header nav ul li#home:hover span a:before {
  background-position: -1px -41px;
}
header nav ul li#vita span a:before {
  background-position: -40px -1px;
}
header nav ul li#vita:hover span a:before,
header nav ul li#vita:focus span a:before,
header nav ul li#vita.active span a:before {
  background-position: -40px -41px;
}
header nav ul li#contact span a:before {
  background-position: -80px -1px;
}
header nav ul li#contact:hover span a:before,
header nav ul li#contact:focus span a:before,
header nav ul li#contact.active span a:before {
  background-position: -80px -41px;
}
header nav ul li#project span a:before {
  background-position: -120px -1px;
}
header nav ul li#project:hover span a:before,
header nav ul li#project:focus span a:before,
header nav ul li#project.active span a:before {
  background-position: -120px -41px;
}
header nav ul li#me span a:before {
  background-position: -160px -1px;
}
header nav ul li#me:hover span a:before,
header nav ul li#me:focus span a:before,
header nav ul li#me.active span a:before {
  background-position: -160px -41px;
}

header.shareOpen div.share {
  height: auto;
}

header.settingsOpen div.settings {
  height: auto;
}

@media only screen and (max-width: 874px) and (min-height: 425px) {
  header div.share {
    width: 192px;
  }
  header div.share figure {
    position: static;
    top: auto;
    right: auto;
  }
  header div.settings {
    width: 192px;
  }
}
@media only screen and (min-width: 875px) and (min-height: 445px) {
  header div.share {
    width: 192px;
  }
  header div.share figure {
    position: static;
    top: auto;
    right: auto;
  }
  header div.settings {
    width: 192px;
  }
}
header nav ul li span:hover a,
footer nav ul li span:hover a {
  color: #04a0eb;
}

footer nav ul li.active,
header nav ul li.active {
  /* animation: showactive 0.82s cubic-bezier(.36,.07,.19,.97) both; */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  border-radius: 5px;
}

header.open span.burger,
header span.burger:hover {
  background-position: -201px -41px;
}

header.open nav {
  padding: 16px 0;
  height: auto;
}

@media only screen and (min-width: 945px) {
  header {
    height: 80px;
    width: 100%;
    text-align: left;
  }
  header span.logo {
    height: 60px;
    width: 60px;
    left: 10px;
    top: 10px;
    background-position: -40px -160px;
    background-repeat: no-repeat;
    margin: 0;
  }
  header span.share {
    top: 20px;
  }
  header span.settings {
    top: 20px;
  }
  header span.burger {
    display: none;
  }
  header div.share {
    top: 80px;
  }
  header div.settings {
    top: 80px;
  }
  header nav {
    height: 100%;
    width: 100%;
    margin: auto;
    position: static;
    max-width: 720px;
    padding: 0;
  }
  header nav ul {
    height: 80px;
    text-align: center;
  }
  header nav ul li {
    margin: 20px 0 0 0;
    padding: 0px 25px 0 0;
    width: auto;
    display: inline-block;
  }
  header nav ul li a:before {
    left: 0px;
  }
  header nav ul li:last-child {
    padding: 0;
  }

  header.open nav {
    height: 100%;
    padding: 0;
  }
}
footer {
  height: 40px;
  width: 100%;
  background-color: #333333;
  margin: -40px 0 0 0;
  padding: 0;
  text-align: center;
  z-index: 11;
  visibility: visible;
  font-family: 'Overpass',Arial;
  font-weight: 200;
  font-style: normal;
  display: block;
}
footer nav {
  visibility: visible;
  padding: 0;
  overflow: hidden;
}
footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
footer nav ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  display: inline-block;
  margin-right: 10px;
  line-height: 40px;
  font-size: 14px;
}
footer nav ul li a {
  color: #cccccc;
}
footer nav ul li:last-child {
  margin-right: 0;
}

body.error footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 11;
}

@media print {
  footer {
    display: none;
  }

  main {
    position: static;
    top: auto;
    margin: 0 1.5cm 0 2.5cm;
    padding: 0;
  }

  header {
    width: calc(100% - 2.5cm);
    height: 131px;
    background: #ffffff;
    position: static;
    top: auto;
    left: auto;
    border-bottom: solid 1px #0e6a8c;
    margin: 0 0 0 1.25cm;
  }
  header span.logo {
    left: 1cm;
    top: 0;
    height: 120px;
    width: 120px;
    background-position: -80px -320px;
    background-size: 1520px 440px;
  }
  header span.burger {
    display: none;
  }
  header span.share {
    display: none;
  }
  header nav {
    width: 100%;
    height: 100%;
    position: static;
    background-color: transparent;
  }
  header nav ul li {
    display: none;
  }
  header nav ul li.active {
    display: inline-block;
    margin: 47px 0 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  header nav ul li.active a {
    font-family: Overpass, Arial;
    font-weight: 400;
    font-size: 26px;
    padding: 0;
    color: #333333;
  }
  header nav ul li.active a:before {
    background: none;
  }
  header nav ul li.active a:after {
    content: "";
  }
  header div.share {
    display: block;
    right: 2.25cm;
    top: 10px;
    height: 111px;
    width: 111px;
    background-color: #cc0000;
  }
  header div.share ul.further {
    display: none;
  }
  header div.share figure {
    height: 111px;
    width: 111px;
    position: static;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
  }
  header div.share figure picture {
    padding: 0;
    margin: 0;
  }
  header div.share figure figcaption {
    display: none;
  }
}
ul.further {
  padding: 0.5em;
  height: auto;
}
ul.further li {
  padding: 0;
  margin: 0;
  max-width: 200px;
  height: 40px;
  background-color: transparent;
  list-style: none;
  position: relative;
  line-height: 40px;
  text-align: left;
}
ul.further li a {
  font-size: 20px;
  margin: 0;
  text-decoration: none;
  color: #cccccc;
  font-family: Overpass, Arial;
  font-weight: 100;
  font-style: normal;
  /* transition: color linear 0.1s; */
  padding: 0px 0 0 50px;
  display: inline-block;
  height: 40px;
}
ul.further li a:before {
  content: " ";
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 0px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  transform: scale(0.8);
}
ul.further li a:hover {
  color: #04a0eb;
}
ul.further li#xing a:before,
ul.further li#shareXing a:before {
  background-position: -80px -120px;
}
ul.further li#linkedin a:before,
ul.further li#shareLinkedin a:before {
  background-position: -120px -120px;
}
ul.further li#twitter a:before,
ul.further li#shareTwitter a:before {
  background-position: -40px -120px;
}
ul.further li#facebook a:before,
ul.further li#shareFacebook a:before {
  background-position: 0px -120px;
}
ul.further li#stackoverflow a:before,
ul.further li#shareStackoverflow a:before {
  background-position: -200px -120px;
}
ul.further li#github a:before,
ul.further li#shareGithub a:before {
  background-position: -240px -120px;
}
ul.further li#threema a:before,
ul.further li#shareThreema a:before {
  background-position: -280px -120px;
}
ul.further li#whatsapp a:before,
ul.further li#shareWhatsapp a:before {
  background-position: -440px -120px;
}
ul.further li#mail a:before,
ul.further li#shareMail a:before {
  background-position: -80px -1px;
}

@media not all and (hover: none) {
  /* Hier die normalen Hover Styles */
  ul.further li#whatsapp a:before,
  ul.further li#shareWhatsapp a:before {
    background-position: -440px -80px;
  }
  ul.further li#whatsapp:hover a:before,
  ul.further li#shareWhatsapp:hover a:before {
    background-position: -440px -120px;
  }
  ul.further li#threema a:before,
  ul.further li#shareThreema a:before {
    background-position: -280px -80px;
  }
  ul.further li#threema:hover a:before,
  ul.further li#shareThreema:hover a:before {
    background-position: -280px -120px;
  }
  ul.further li#github a:before,
  ul.further li#shareGithub a:before {
    background-position: -240px -80px;
  }
  ul.further li#github:hover a:before,
  ul.further li#shareGithub:hover a:before {
    background-position: -240px -120px;
  }
  ul.further li#stackoverflow a:before,
  ul.further li#shareStackoverflow a:before {
    background-position: -200px -80px;
  }
  ul.further li#stackoverflow:hover a:before,
  ul.further li#shareStackoverflow:hover a:before {
    background-position: -200px -120px;
  }
  ul.further li#facebook a:before,
  ul.further li#shareFacebook a:before {
    background-position: 0px -80px;
  }
  ul.further li#facebook:hover a:before,
  ul.further li#shareFacebook:hover a:before {
    background-position: 0px -120px;
  }
  ul.further li#twitter a:before,
  ul.further li#shareTwitter a:before {
    background-position: -40px -80px;
  }
  ul.further li#twitter:hover a:before,
  ul.further li#shareTwitter:hover a:before {
    background-position: -40px -120px;
  }
  ul.further li#linkedin a:before,
  ul.further li#shareLinkedin a:before {
    background-position: -120px -80px;
  }
  ul.further li#linkedin:hover a:before,
  ul.further li#shareLinkedin:hover a:before {
    background-position: -120px -120px;
  }
  ul.further li#xing a:before,
  ul.further li#shareXing a:before {
    background-position: -80px -80px;
  }
  ul.further li#xing:hover a:before,
  ul.further li#shareXing:hover a:before {
    background-position: -80px -120px;
  }
  ul.further li#mail a:before,
  ul.further li#shareMail a:before {
    background-position: -80px -1px;
  }
  ul.further li#mail:hover a:before,
  ul.further li#shareMail:hover a:before {
    background-position: -80px -41px;
  }
}
/* https://stackoverflow.com/questions/32614321/detect-hover-capability */
/*
#imgme {
	display:block;
	transition: filter 0.3s ease 0.3s;
}

#imgme:active {
  filter: drop-shadow(0 0 10px steelblue);
  transition: filter 0s;
}

#btnControl {
    display: none;
}

#btnControl:checked ~ div.gallery {
	display:block;
}
*/
html.nojs div.gallery {
  display: block;
  position: relative;
  background-color: rgba(52, 59, 63, 0.9);
}
html.nojs div.gallery div.ratio {
  display: block;
  position: static;
  width: 1005;
  padding-bottom: calc(56.25% + 46px);
}
html.nojs div.gallery div.gallery-links {
  display: block;
  height: 36px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
}
html.nojs div.gallery div.gallery-links a {
  display: inline-block;
  width: 2em;
  height: 20px;
  line-height: 20px;
  background-color: #0e6a8c;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 200;
  padding: 0.5em;
  text-align: center;
}
html.nojs div.gallery div.gallery-wrapper {
  display: block;
  height: calc(100% - 46px);
  position: absolute;
  left: 0;
  top: 46px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
html.nojs div.gallery div.gallery-wrapper div.gallery-item {
  display: block;
  height: auto;
  opacity: 1;
  position: static;
}
html.nojs div.gallery div.gallery-wrapper div.gallery-item div.gallery-item-wrapper:before {
  display: none;
}
html.nojs div.gallery div.gallery-wrapper div.gallery-item figure {
  max-width: 100%;
  max-height: 100%;
}
html.nojs div.gallery div.gallery-wrapper div.gallery-buttons {
  display: none;
}

picture.gallery,
img.gallery {
  cursor: pointer;
}

div.gallery {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  background-color: rgba(0, 0, 0, 0.6);
}
div.gallery div.gallery-links {
  display: none;
}
div.gallery div.ratio {
  display: none;
}

div.gallery.open {
  display: block;
}

div.gallery-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

div.gallery-item.video figure figcaption {
  opacity: 0;
  transform: translateY(40px);
}

div.gallery-item {
  overflow: hidden;
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all 0.3s ease-out;
  opacity: 0;
  text-align: center;
  z-index: 3;
}
div.gallery-item div.gallery-item-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
div.gallery-item div.gallery-item-wrapper:before {
  content: '\200B';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
div.gallery-item figure.mouseover figcaption,
div.gallery-item figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}
div.gallery-item figure[data-info="true"].mouseover div.info-area,
div.gallery-item figure[data-info="true"]:hover div.info-area {
  transform: translate(0);
}
div.gallery-item figure.video {
  position: relative;
}
div.gallery-item figure.video video {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: contain;
}
div.gallery-item figure {
  margin: 0 auto;
  padding: 0;
  width: auto;
  max-width: calc(100% - 20px);
  max-height: calc(100vh - 20px);
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
}
div.gallery-item figure div.info-area {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  position: absolute;
  right: 0px;
  top: 0;
  bottom: 0;
  width: 50%;
  height: calc(100% - 40px);
  max-width: 100%;
  transition: transform 0.3s ease;
  transform: translate(100%);
  text-align: left;
  font-family: Overpass;
  overflow-x: hidden;
  overflow-y: auto;
}
div.gallery-item figure div.info-area h4 {
  padding: 1em;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}
div.gallery-item figure div.info-area p {
  padding: 1em;
  margin: 0;
  font-size: 14px;
  font-weight: 200;
}
div.gallery-item figure div.playbig {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  height: 60px;
  width: 60px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -320px -80px;
}
div.gallery-item figure div.playbig:hover {
  background-position: -320px -160px;
}
div.gallery-item figure figcaption {
  transition: all 0.3s ease;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0;
  height: auto;
  color: #ffffff;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.7);
}
div.gallery-item figure figcaption p {
  padding: 0.5em 1em;
  font-family: Overpass;
}
div.gallery-item figure figcaption p.gallery-title {
  font-weight: 700;
  font-size: 20px;
}
div.gallery-item figure figcaption p.gallery-description {
  font-weight: 200;
  font-size: 16px;
}
div.gallery-item figure figcaption div.video-controls {
  background-color: rgba(0, 0, 0, 0.7);
  width: 40px;
  height: 40px;
  position: absolute;
  bottom: 0;
}
div.gallery-item figure figcaption div.prev {
  left: 0;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -400px 0px;
}
div.gallery-item figure figcaption div.prev:hover {
  background-position: -400px -40px;
}
div.gallery-item figure figcaption div.next {
  display: none;
  left: 120px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -360px 0px;
}
div.gallery-item figure figcaption div.next:hover {
  background-position: -360px -40px;
}
div.gallery-item figure figcaption div.prev ~ div.next {
  display: block;
}
div.gallery-item figure figcaption div.playpause {
  left: 0px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -440px 0px;
}
div.gallery-item figure figcaption div.playpause:hover {
  background-position: -440px -40px;
}
div.gallery-item figure figcaption div.prev ~ div.playpause {
  left: 40px;
}
div.gallery-item figure figcaption div.mute {
  left: 40px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -560px 0px;
}
div.gallery-item figure figcaption div.mute:hover {
  background-position: -560px -40px;
}
div.gallery-item figure figcaption div.prev ~ div.mute {
  left: 80px;
}
div.gallery-item figure figcaption div.volume {
  left: 40px;
  height: 160px;
  display: none;
  opacity: 0;
  bottom: 40px;
  transition: opacity	0.3s ease;
  background: none transparent;
}
div.gallery-item figure figcaption div.volume div.inner {
  width: 40px;
  height: 160px;
  margin-bottom: 0px;
  background-color: rgba(0, 0, 0, 0.5);
}
div.gallery-item figure figcaption div.volume div.inner input[type=range] {
  position: absolute;
  left: -60px;
  top: 60px;
  height: 40px;
  margin: 0 10px;
  width: 140px;
  z-index: 4;
  opacity: 1;
  transform: rotate(270deg);
}
div.gallery-item figure figcaption div.volume div.inner input[type=range]::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  background-color: #04a0eb;
  transform: translateY(-5.5px);
}
div.gallery-item figure figcaption div.volume div.inner input[type=range]::-webkit-slider-runnable-track {
  width: 120px;
  height: 4px;
  cursor: pointer;
  background: #ffffff;
}
div.gallery-item figure figcaption div.volume div.inner input[type=range]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background: #04a0eb;
}
div.gallery-item figure figcaption div.volume div.inner input[type=range]::-moz-range-track {
  background: #ffffff;
  width: 120px;
  height: 4px;
}
div.gallery-item figure figcaption div.prev ~ div.volume {
  left: 80px;
}
div.gallery-item figure figcaption div.mute:hover ~ div.volume,
div.gallery-item figure figcaption div.volume:hover {
  transition: opacity	0.3s ease;
  display: block;
  opacity: 1;
}
div.gallery-item figure figcaption div.info {
  right: 40px;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -720px 0px;
}
div.gallery-item figure figcaption div.info:hover {
  background-position: -720px -40px;
}
div.gallery-item figure figcaption div.fullscreen {
  right: 0;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -640px 0px;
}
div.gallery-item figure figcaption div.fullscreen:hover {
  background-position: -640px -40px;
}
div.gallery-item figure figcaption div.time {
  right: 80px;
  width: 100px;
  line-height: 40px;
  text-align: center;
}
div.gallery-item figure figcaption div.scrubbar {
  right: 120px;
  left: 80px;
  width: calc(100% - 260px);
}
div.gallery-item figure figcaption div.scrubbar input[type=range] {
  position: absolute;
  left: 10px;
  height: 20px;
  margin: 10px 0;
  width: calc(100% - 20px);
  z-index: 5;
  opacity: 1;
}
div.gallery-item figure figcaption div.scrubbar input[type=range]::-webkit-slider-thumb {
  height: 4px;
  width: 4px;
  background-color: #04a0eb;
  transition: all 0.3s ease;
  border-radius: 0;
}
div.gallery-item figure figcaption div.scrubbar input[type=range]:hover::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  background-color: #04a0eb;
  border-radius: 50%;
}
div.gallery-item figure figcaption div.scrubbar input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0px;
  cursor: pointer;
  background: transparent;
}
div.gallery-item figure figcaption div.scrubbar input[type=range]::-moz-range-thumb {
  height: 4px;
  width: 4px;
  background-color: #04a0eb;
  transition: all 0.3s ease;
  border-radius: 0;
}
div.gallery-item figure figcaption div.scrubbar input[type=range]:hover::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background: #04a0eb;
  border-radius: 50%;
}
div.gallery-item figure figcaption div.scrubbar input[type=range]::-moz-range-track {
  background: none transparent;
}
div.gallery-item figure figcaption div.scrubbar progress {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: absolute;
  height: 4px;
  left: 10px;
  bottom: 18px;
  width: calc(100% - 20px);
  border: none;
  background-size: auto;
}
div.gallery-item figure figcaption div.scrubbar progress[value].buffer {
  z-index: 3;
}
div.gallery-item figure figcaption div.scrubbar progress[value].played {
  z-index: 4;
}
div.gallery-item figure figcaption div.scrubbar progress[value].buffer::-webkit-progress-bar {
  background-color: #888888;
}
div.gallery-item figure figcaption div.scrubbar progress[value].buffer::-webkit-progress-value {
  background-color: #ffffff;
}
div.gallery-item figure figcaption div.scrubbar progress[value].buffer::-moz-progress-bar {
  background-color: #888888;
}
div.gallery-item figure figcaption div.scrubbar progress[value].buffer::-moz-progress-value {
  background-color: #ffffff;
}
div.gallery-item figure figcaption div.scrubbar progress[value].played::-webkit-progress-bar {
  background-color: rgba(255, 255, 255, 0);
}
div.gallery-item figure figcaption div.scrubbar progress[value].played::-moz-progress-bar {
  background-color: #04a0eb;
}
div.gallery-item figure figcaption div.scrubbar progress[value].played::-webkit-progress-value {
  background-color: #04a0eb;
}
div.gallery-item figure figcaption div.scrubbar progress[value].played::-moz-progress-value {
  background-color: #04a0eb;
}
div.gallery-item figure figcaption div.prev ~ div.scrubbar {
  left: 160px;
  width: calc(100% - 340px);
}
div.gallery-item figure figcaption div.scrubbar-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}
div.gallery-item figure[data-play="true"] figcaption div.playpause {
  background-position: -480px 0px;
}
div.gallery-item figure[data-play="true"] figcaption div.playpause:hover {
  background-position: -480px -40px;
}
div.gallery-item figure[data-play="true"] div.playbig {
  display: none;
}
div.gallery-item figure[data-muted="true"] figcaption div.mute {
  background-position: -600px 0px;
}
div.gallery-item figure[data-muted="true"] figcaption div.mute:hover {
  background-position: -600px -40px;
}
div.gallery-item figure[data-info="true"] div.info {
  background-position: -720px -40px;
}
div.gallery-item img,
div.gallery-item picture {
  max-width: 100%;
  max-height: calc(100vh - 20px);
  height: auto;
  width: auto;
}

div.gallery-item.first {
  display: block;
  transform: translate(-100%, 0);
}

div.gallery-item.second {
  display: block;
  transform: translate(0, 0);
  opacity: 1;
}

div.gallery-item.third {
  display: block;
  transform: translate(100%, 0);
}

@media only screen and (min-width: 820px) and (min-height: 470px) {
  div.gallery-item figure {
    position: relative;
  }
  div.gallery-item figure figcaption {
    background-color: rgba(0, 0, 0, 0.8);
  }

  div.gallery-item {
    box-sizing: border-box;
    border: solid 10px transparent;
  }
}
/* Chrome, Safari and Opera syntax */
:-webkit-full-screen div.gallery {
  background-color: #34393f;
}
:-webkit-full-screen div.gallery div.gallery-item.no-cursor {
  cursor: none;
}
:-webkit-full-screen div.gallery div.gallery-item {
  border: none;
}
:-webkit-full-screen div.gallery div.gallery-item figure.video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
:-webkit-full-screen div.gallery div.gallery-item figure.video img {
  display: none;
}
:-webkit-full-screen div.gallery div.gallery-item figure.video video {
  object-fit: contain;
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: 100vw;
  height: 100vh;
}
:-webkit-full-screen div.gallery div.gallery-item figure.video div.fullscreen {
  background-position: -680px 0px;
}
:-webkit-full-screen div.gallery div.gallery-item figure.video div.fullscreen:hover {
  background-position: -680px -40px;
}
:-webkit-full-screen div.gallery div.gallery-item ~ div.gallery-left {
  transform: translate(-100%, -50%);
}
:-webkit-full-screen div.gallery div.gallery-item ~ div.gallery-right {
  transform: translate(100%, -50%);
}
:-webkit-full-screen div.gallery div.gallery-item:hover ~ div.gallery-left,
:-webkit-full-screen div.gallery div.gallery-item:hover ~ div.gallery-right {
  transform: translate(0, -50%);
}

div.gallery-item:nth-child(2) ~ div.gallery-left,
div.gallery-item:nth-child(2) ~ div.gallery-right {
  display: block;
}

div.gallery-buttons {
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 11;
  border-radius: 2px;
  cursor: pointer;
}

div.gallery-close {
  right: 20px;
  top: 20px;
  line-height: 40px;
  color: #ffffff;
  font-size: 30px;
  font-family: Arial;
  font-weight: 400;
  text-align: center;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  background-position: -320px 0px;
}

div.gallery-close:hover {
  background-position: -320px -40px;
}

div.gallery-left,
div.gallery-right {
  top: 50%;
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  transform: translate(0px, -50%);
  transition: transform 0.3s ease;
  display: none;
}

div.gallery-left {
  left: 0;
  background-position: -280px 0px;
}

div.gallery-left:hover,
div.gallery-left:focus {
  background-position: -280px -40px;
}

div.gallery-right {
  right: 0;
  background-position: -240px 0px;
}

div.gallery-right:hover,
div.gallery-right:focus {
  background-position: -240px -40px;
}

div.gallery.ios div.gallery-item figure.video figcaption {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(0);
  opacity: 1;
  height: 40px;
}
div.gallery.ios div.gallery-item figure.video figcaption div.playpause,
div.gallery.ios div.gallery-item figure.video figcaption div.mute,
div.gallery.ios div.gallery-item figure.video figcaption div.volume,
div.gallery.ios div.gallery-item figure.video figcaption div.scrubbar,
div.gallery.ios div.gallery-item figure.video figcaption div.time,
div.gallery.ios div.gallery-item figure.video figcaption div.fullscreen {
  display: none;
}
div.gallery.ios div.gallery-item figure.video figcaption div.info {
  right: 0;
  background-color: transparent;
}

@media only screen and (max-width: 450px) {
  div.gallery-item figure div.info-area {
    width: 100%;
  }
}
@media print {
  div.gallery {
    position: static;
    background-color: transparent;
    display: block;
    height: auto;
    width: 100%;
  }
  div.gallery div.gallery-wrapper {
    position: static;
    background-color: transparent;
    display: block;
    height: auto;
    width: 100%;
  }
  div.gallery div.gallery-wrapper div.gallery-buttons {
    display: none;
  }
  div.gallery div.gallery-wrapper > a {
    display: none;
  }
  div.gallery div.gallery-wrapper div.gallery-item.first,
  div.gallery div.gallery-wrapper div.gallery-item.second,
  div.gallery div.gallery-wrapper div.gallery-item.third {
    transform: translate(0, 0);
  }
  div.gallery div.gallery-wrapper div.gallery-item {
    position: static;
    background-color: transparent;
    page-break-inside: avoid;
    display: block;
    height: auto;
    width: 100%;
    opacity: 1;
  }
  div.gallery div.gallery-wrapper div.gallery-item div.gallery-item-wrapper {
    position: static;
    background-color: transparent;
    display: block;
    height: auto;
    width: 100%;
  }
  div.gallery div.gallery-wrapper div.gallery-item div.gallery-item-wrapper figcaption {
    position: static;
    background-color: transparent;
    color: #000000;
    text-align: left;
    left: auto;
    bottom: auto;
    width: 100%;
    text-align: right;
    margin: 0 0 20px 0;
  }
  div.gallery div.gallery-wrapper div.gallery-item div.gallery-item-wrapper figcaption p {
    padding: 0;
  }
}
html.nojs div.projects {
  visibility: visible;
}

input[type=range] {
  -webkit-appearance: none;
  margin: 7.5px 0;
  width: 100%;
  background: none transparent;
  height: 35px;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  animate: 0.2s;
  background: #ffffff;
}

input[type=range]::-webkit-slider-thumb {
  border: none;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background: rgba(204, 204, 204, 0.7);
  cursor: pointer;
  -webkit-appearance: none;
  transform: translateY(-50%);
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background-color: transparent;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  animate: 0.2s;
  background: #cccccc;
}

input[type=range]::-moz-range-thumb {
  border: none;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background: rgba(204, 204, 204, 0.7);
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}

input[type=range]:focus::-ms-fill-upper {
  background: #00aa00;
}

/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
  width: 300px;
  border: solid 10px transparent;
  font-family: Overpass;
  font-weight: 200;
  margin: 0 auto;
  z-index: 10;
}
.custom-select select {
  display: none;
  /*hide original SELECT element: */
}

.select-selected {
  background-color: #ffffff;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #333333 transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #333333 transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
  color: #333333;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #ffffff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

main.scroller {
  height: calc(100% - 100px);
  top: 60px;
  left: 0;
  right: 0;
  position: absolute;
  padding: 0;
  display: none;
}
main.scroller .custom-select {
  margin: 0;
}
main.scroller div.projects {
  overflow: hidden;
  background-size: cover;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bdd7ed+0,294e57+100 */
  background-attachment: fixed;
  background: #294e57;
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, #bdd7ed 0%, #294e57 60%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, #bdd7ed 0%, #294e57 60%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, #bdd7ed 0%, #294e57 60%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdd7ed', endColorstr='#294e57',GradientType=1 );
  /* IE6-9 fallback on horizontal gradient */
}
main.scroller div.projects div.innerscroller {
  position: relative;
  width: 100%;
  height: 100%;
}
main.scroller div.projects .slider-wrapper {
  display: block;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 10;
}
main.scroller div.projects button {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  background-image: url("https://dev.marc-hoffrichter.de/images/spritesheet.svg");
  border-radius: 2px;
  color: #ffffff;
  font-weight: 200;
  font-family: Overpass;
  border: none;
  display: block;
  line-height: 35px;
  font-size: 25px;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-17.5px);
  z-index: 10;
}
main.scroller div.projects div.project {
  opacity: 0;
  width: 320px;
  height: 180px;
  position: absolute;
  visibility: hidden;
  transform: rotate3d(2, -1, -1, 60deg) scale(0.3);
  transition: all 0.3s ease-out;
  margin: 0;
  filter: grayscale(100%);
}
main.scroller div.projects div.project.first {
  bottom: 0;
  left: 0;
  visibility: hidden;
  transform: rotate3d(2, -1, -1, 45deg) translate(-100%, 100%) scale(0);
  opacity: 0;
  z-index: 1;
}
main.scroller div.projects div.project.second {
  bottom: 70px;
  left: 5vw;
  visibility: visible;
  transform: rotate3d(0, 0, 0, 0) scale(1);
  opacity: 1;
  z-index: 5;
  filter: grayscale(0%);
}
main.scroller div.projects div.project.second:hover,
main.scroller div.projects div.project.second:focus {
  transform: scale(1.1);
}
main.scroller div.projects div.project.third {
  bottom: 30%;
  left: 30%;
  visibility: visible;
  transform: rotate3d(2, -1, -1, 15deg) scale(0.8);
  opacity: 0.8;
  z-index: 4;
}
main.scroller div.projects div.project.fourth {
  bottom: 40%;
  left: 40%;
  visibility: visible;
  transform: rotate3d(2, -1, -1, 30deg) scale(0.6);
  opacity: 0.6;
  z-index: 3;
}
main.scroller div.projects div.project.fifth {
  bottom: 50%;
  left: 50%;
  visibility: visible;
  transform: rotate3d(2, -1, -1, 45deg) scale(0.5);
  opacity: 0.3;
  z-index: 2;
}
main.scroller div.projects div.project.sixt {
  bottom: 60%;
  left: 60%;
  visibility: visible;
  transform: rotate3d(2, -1, -1, 60deg) scale(0.4);
  opacity: 0.2;
  z-index: 1;
}
main.scroller div.projects div.radio {
  position: static;
  padding-bottom: 56.25%;
}
main.scroller div.projects div.teasertext {
  width: 100%;
  height: auto;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  z-index: 2;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
}
main.scroller div.projects div.teasertext p {
  display: none;
}

main.scroller ~ footer {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
}

main.scroller ~ div.bg div.teaser {
  z-index: 3;
}

main.scroller ~ div.bg {
  z-index: 0;
}

main.scroller.visible {
  z-index: 3;
  display: block;
}

body.project div.teaser.invisible {
  display: none;
}

div.projects {
  position: static;
  width: 100%;
  height: auto;
  margin: 60px 0 40px 0;
  padding: 20px 0 0 0;
  text-align: center;
  visibility: visible;
  background: rgba(52, 59, 63, 0.9);
}
div.projects .slider-wrapper {
  display: none;
}
div.projects .slider-wrapper label {
  display: none;
}
div.projects .slider-wrapper input {
  width: calc(100% - 90px);
}
div.projects button {
  display: none;
}

button#scrollerbwd {
  left: 0;
  background-position: -280px 0px;
}

button#scrollerbwd:hover,
button#scrollerbwd:focus {
  background-position: -280px -40px;
  cursor: pointer;
}

button#scrollerfwd {
  right: 0;
  background-position: -240px 0px;
}

button#scrollerfwd:hover,
button#scrollerfwd:focus {
  background-position: -240px -40px;
  cursor: pointer;
}

div.project {
  opacity: 1;
  width: 320px;
  height: 180px;
  display: inline-block;
  transition: all 0.3s ease-out;
  margin: 15px;
}

div.innerproject {
  width: 100%;
  height: 100%;
  position: relative;
}

div.teaserimage {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  background-color: #e8e8e8;
}
div.teaserimage img,
div.teaserimage picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
div.teaserimage img.svg,
div.teaserimage picture.svg {
  object-fit: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
}
div.teaserimage img.rpr1,
div.teaserimage picture.rpr1 {
  height: 90px;
}
div.teaserimage img.bigfm,
div.teaserimage picture.bigfm {
  height: 175px;
}
div.teaserimage img.regenbogen,
div.teaserimage picture.regenbogen {
  height: 300px;
}

div.teasertext {
  width: 100%;
  height: auto;
  min-height: 30px;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  z-index: 2;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: "Overpass";
}
div.teasertext h2 {
  padding: 8px;
  margin: 0;
  text-align: left;
  border-bottom: none;
}
div.teasertext p {
  padding: 16px;
  margin: 0;
  display: none;
  text-align: left;
}

@media only screen and (min-width: 945px) {
  main.scroller {
    top: 80px;
    height: calc(100% - 120px);
  }
}
@media only screen and (min-width: 886px) and (min-height: 505px) and (max-height: 612px) {
  main.scroller div.projects div.project {
    width: 612px;
    height: 344px;
  }
  main.scroller div.projects div.teasertext h2 {
    padding: 16px;
  }
}
@media only screen and (min-width: 886px) and (min-height: 613px) {
  main.scroller div.projects div.project {
    width: 800px;
    height: 450px;
  }
  main.scroller div.projects div.teasertext {
    width: 45%;
    height: 100%;
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
    z-index: 2;
    position: absolute;
  }
  main.scroller div.projects div.teasertext p {
    display: block;
  }
  main.scroller div.projects div.teasertext h2 {
    border-bottom: dashed 1px #0e6a8c;
    padding: 16px 0 8px 16px;
  }
}
@media only screen and (min-width: 680px) and (max-width: 886px) and (min-height: 490px) {
  main.scroller div.projects div.project {
    width: 612px;
    height: 344px;
  }
}
@media print {
  body.projectmain main {
    position: static;
    height: auto;
    top: auto;
  }
  body.projectmain main div.projects {
    display: block;
    position: static;
    height: auto;
    background: none transparent;
  }
  body.projectmain main div.projects div.custom-select {
    display: none;
  }
  body.projectmain main div.projects button#scrollerbwd,
  body.projectmain main div.projects button#scrollerfwd,
  body.projectmain main div.projects div.slider-wrapper {
    display: none;
  }
  body.projectmain main div.projects div.project:nth-child(3n + 1) {
    padding: 0 0 0.5cm 0;
    margin: 0 auto 0.5cm auto;
    page-break-after: always;
  }
  body.projectmain main div.projects div.project:nth-child(3n + 2) {
    padding: 151px 0 0.5cm 0;
    margin: 0 auto 0.5cm auto;
  }
  body.projectmain main div.projects div.project:nth-child(3n + 0) {
    padding: 0 0 0.5cm 0;
  }
  body.projectmain main div.projects div.project:nth-child(even) div.teaserimage {
    float: left;
  }
  body.projectmain main div.projects div.project:nth-child(even) div.teasertext {
    padding: 0 0 0 340px;
  }
  body.projectmain main div.projects div.project:nth-child(even) a:after {
    padding: 0 0 0 340px;
  }
  body.projectmain main div.projects div.project:nth-child(odd) div.teaserimage {
    float: right;
  }
  body.projectmain main div.projects div.project:nth-child(odd) div.teasertext {
    padding: 0 340px 0 0;
  }
  body.projectmain main div.projects div.project:nth-child(odd) a:after {
    padding: 0 340px 0 0;
  }
  body.projectmain main div.projects div.project {
    position: static;
    width: 100%;
    height: auto;
    min-height: 180px;
    transform: none;
    visibility: visible;
    filter: none;
    display: block;
    opacity: 1;
    page-break-inside: avoid;
    margin: 0 auto 0.5cm auto;
    border-bottom: solid 1px #0e6a8c;
    padding: 0;
  }
  body.projectmain main div.projects div.project div.innerproject {
    position: relative;
    width: 100%;
    height: 100%;
  }
  body.projectmain main div.projects div.project div.teaserimage {
    position: static;
    float: left;
    width: 320px;
    height: 180px;
    top: 0;
    left: 0;
    z-index: 1;
  }
  body.projectmain main div.projects div.project div.teasertext {
    position: static;
    width: calc(100% - 340px);
    padding: 0 0 0 340px;
    bottom: auto;
    left: auto;
    height: auto;
    z-index: 2;
    background-color: transparent;
  }
  body.projectmain main div.projects div.project div.teasertext h2 {
    color: #333333;
    background-color: transparent;
    padding: 0 0 16px 0;
  }
  body.projectmain main div.projects div.project div.teasertext p {
    color: #333333;
    background-color: transparent;
    display: block;
    padding: 0;
  }
  body.projectmain main div.projects a:after {
    content: "https://www.marc-hoffrichter.de/projects/" attr(href) "";
    position: static;
    display: block;
    width: auto;
    bottom: auto;
    left: auto;
    height: auto;
    font-size: 14px;
    line-height: 1.25em;
    padding: 0.5em 0 0 0;
    z-index: 2;
    text-align: left;
    color: #333333;
    background-color: #ffffff;
    font-family: "Overpass";
  }
  body.projectmain main div.projects div.first,
  body.projectmain main div.projects div.second,
  body.projectmain main div.projects div.third,
  body.projectmain main div.projects div.fourth,
  body.projectmain main div.projects div.fifth,
  body.projectmain main div.projects div.sixt {
    opacity: 1;
  }

  body.projectmain main ~ div.bg {
    display: none;
  }

  div.teaserimage img.svg,
  div.teaserimage picture.svg {
    object-fit: none;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 340px;
    margin: 10px;
  }
}
main.cube {
  height: calc(100% - 100px);
  top: 60px;
  left: 0;
  right: 0;
  position: absolute;
  display: none;
}
main.cube div.projects {
  overflow: hidden;
  background-size: cover;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bdd7ed+0,294e57+100 */
  background-attachment: fixed;
  background: #294e57;
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, #bdd7ed 0%, #294e57 60%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, #bdd7ed 0%, #294e57 60%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, #bdd7ed 0%, #294e57 60%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdd7ed', endColorstr='#294e57',GradientType=1 );
  /* IE6-9 fallback on horizontal gradient */
}
main.cube div.projects div.innerscroller {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-100px);
  transition: transform 1s;
}
main.cube div.projects div.innerscroller.show-front {
  transform: translateZ(-100px) rotateY(0deg);
}
main.cube div.projects div.innerscroller.show-right {
  transform: translateZ(-100px) rotateY(-90deg);
}
main.cube div.projects div.innerscroller.show-back {
  transform: translateZ(-100px) rotateY(-180deg);
}
main.cube div.projects div.innerscroller.show-left {
  transform: translateZ(-100px) rotateY(90deg);
}
main.cube div.projects div.innerscroller.show-top {
  transform: translateZ(-100px) rotateX(-90deg);
}
main.cube div.projects div.innerscroller.show-bottom {
  transform: translateZ(-100px) rotateX(90deg);
}
main.cube .project {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 2px solid black;
  line-height: 320px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  text-align: center;
  opacity: 0;
}
main.cube .project.second {
  transform: rotateY(0deg) translateZ(100px);
  opacity: 1;
}
main.cube .project.third {
  transform: rotateY(90deg) translateZ(100px);
  opacity: 1;
}
main.cube .project.fourth {
  transform: rotateY(180deg) translateZ(100px);
  opacity: 1;
}
main.cube .project.first {
  transform: rotateY(-90deg) translateZ(100px);
  opacity: 1;
}
main.cube .project.fifth {
  transform: rotateX(90deg) translateZ(100px);
  opacity: 1;
}
main.cube .project.sixt {
  transform: rotateX(-90deg) translateZ(100px);
  opacity: 1;
}
main.cube .project.second {
  transform: translateZ(-100px) rotateY(0deg);
}
main.cube .project.third {
  transform: translateZ(-100px) rotateY(-90deg);
}
main.cube .project.fourth {
  transform: translateZ(-100px) rotateY(-180deg);
}
main.cube .project.first {
  transform: translateZ(-100px) rotateY(90deg);
}
main.cube .project.fifth {
  transform: translateZ(-100px) rotateX(-90deg);
}
main.cube .project.sixt {
  transform: translateZ(-100px) rotateX(90deg);
}

main.cube.visible {
  z-index: 3;
  display: block;
}

body.imprint div.teaser {
  color: #ffffff;
}

body.copyright div.teaser {
  color: #ffffff;
}

body.copyright.no-webp div.bg {
  background-image: url("https://dev.mh-cdn.de/mh/mh/images/imprint-768.jpg");
  background-position: center 50%;
}

body.copyright.webp div.bg {
  background-image: url("https://dev.mh-cdn.de/mh/mh/images/imprint-768.webp");
  background-position: center 50%;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  body.copyright.no-webp div.bg {
    background-image: url("https://dev.mh-cdn.de/mh/mh/images/imprint-992.jpg");
  }

  body.copyright.webp div.bg {
    background-image: url("https://dev.mh-cdn.de/mh/mh/images/imprint-992.webp");
  }
}
@media screen and (min-width: 1920px) {
  body.copyright.no-webp div.bg {
    background-image: url("https://dev.mh-cdn.de/mh/mh/images/imprint-1920.jpg");
  }

  body.copyright.webp div.bg {
    background-image: url("https://dev.mh-cdn.de/mh/mh/images/imprint-1920.webp");
  }
}
body.privacy div.teaser {
  color: #ffffff;
}
body.privacy div.content ul {
  margin: 0 0 0 2em;
  /*
  			li {
  				padding:0 0 0.25em 0;
  			}
  */
}
body.privacy span.label {
  font-weight: 700;
  color: #ffffff;
  margin: 0 0.5em 0 0;
}

div.content p.skill {
  padding: 0 0.5em;
}

p.skill a span,
p.skill span.tag {
  display: inline-block;
  padding: 5px 10px;
  color: #ffffff;
  background-color: #0e6a8c;
  margin: 5px;
  border-radius: 4px;
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
}

p.skill a span {
  cursor: pointer;
}

ul.disc li::before {
  content: "\2022";
  color: #44a9ff;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin: 0;
}

@media print {
  p.skill a:after {
    content: "";
  }
  p.skill a:after a span {
    display: inline-block;
    padding: 5px 10px;
    color: #ffffff;
    background-color: #0e6a8c;
    margin: 5px;
    border-radius: 4px;
    border: solid 1px #34393f;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
  }
}
body.error div.teaser {
  color: #ffffff;
}

html, body {
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1 {
  line-height: 1.5em;
}

h2 {
  font-weight: 200;
  padding: 0.75em 0.25em 0.25em 0;
  margin: 0 0 0.25em 0;
  color: #ffffff;
  border-bottom: dashed 1px #0e6a8c;
}

h3 {
  font-weight: 200;
  margin: 0.5em 0;
  color: #ffffff;
  padding: 0;
}

h4 {
  font-weight: 200;
  margin: 0.5em 0 0 0;
  color: #ffffff;
  padding: 0 0 0 0.5em;
}

h5 {
  font-weight: 200;
  margin: 0.5em 0 0 0;
  color: #ffffff;
  padding: 0 0 0 0.5em;
}

a {
  font-weight: 200;
  text-decoration: underline;
  color: #44a9ff;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.clr:after {
  content: "";
  display: table;
  clear: both;
}

div.content p {
  padding: 0.5em;
  line-height: 1.5em;
}

@media only screen and (min-width: 800px) {
  div.content {
    /* margin-top:100vh; */
  }
}
div.detail {
  width: 100%;
  margin: 0 auto 0px auto;
  padding: 0 0 60px 0;
}
div.detail nav.breadcrumb {
  visibility: visible;
}
div.detail nav.breadcrumb ul {
  padding: 10px 0;
  list-style: none;
}
div.detail nav.breadcrumb ul li {
  display: inline;
  font-size: 16px;
}
div.detail nav.breadcrumb ul li + li:before {
  padding: 8px;
  content: "/\00a0";
}
div.detail ul {
  height: auto;
  padding: 0.5em;
}
div.detail ul li {
  padding: 0;
  margin: 0;
  width: auto;
  list-style: none;
}

div.detail:after {
  content: ".";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0px;
}

@media only screen and (min-width: 870px) {
  div.detail {
    max-width: 930px;
  }
}
@media print {
  /* styles go here */
  @page {
    size: A4 portrait;
    margin: 1cm 1cm 1cm 1cm;
    padding: 150px 0 0 0;
  }
  /* https://stackoverflow.com/questions/9729461/creating-page-headers-and-footers-using-css-for-print */
  @top-center {
    content: element(heading);
  }
  body {
    background: none #ffffff;
  }

  .noprint {
    display: none;
  }

  a:after {
    content: "( " attr(href) ") ";
  }

  h2, h3 {
    color: #34393f;
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  div.detail nav.breadcrumb {
    display: none;
  }

  div.content {
    position: static;
    padding: 0 20px;
    line-height: 30px;
    font-size: 20px;
    font-family: 'Overpass';
    font-weight: 200;
    font-style: normal;
    color: #34393f;
    visibility: visible;
    background: none transparent;
    margin: 0;
  }
}
