/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  font-size: 1.5em;
  font-family: "Pragati Narrow", sans-serif;
}

main {
  max-width: 1000px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

.wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
}

.chip {
  line-height: 2.4;
  background-color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
}

.section {
  padding: 0 2rem;
}

.section--header {
  background-color: #eae7dc;
  font-family: "Cabin Condensed", sans-serif;
}

.section--header h1 {
  margin-bottom: 0;
}

.section--header h2 {
  margin-top: 0;
  font-size: 1.2em;
}

.section--about {
  background-color: rgb(250, 248, 248);
}

.img-markus {
  object-fit: contain;
  float: right;
  display: none;
}

.portrait-markus {
  width: 100%;
}

.section--tech {
  background-color: #eae7dc;
}

.section--contact {
  background-color: #d8c3a5;
}

.section--portrait {
  padding: 0;
}

.datenschutz {
  font-size: 0.8em;
}


#badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eded87;
  border-bottom: 1px solid black;
  font-size: smaller;
  height: 50px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 435px) {
  .section--portrait {
    display: none;
  }

  .section--contact .img-markus {
    display: inherit;
    width: 200px;
    height: 200px;
  }
}

@media only screen and (min-width: 550px) {
  .section--contact .img-markus {
    display: none;
  }

  .section--about .img-markus {
    display: inherit;
    width: 250px;
    height: 250px;
  }
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {

  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html {
    font-size: 0.9em;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .section--about .img-markus {
    display: inherit;
    width: 4cm;
    padding-left: 1em;
  }

  .section--portrait {
    display: none;
  }
}