/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/* font converted using font-converter.net. thank you! */
@font-face {
  font-family: "embb";
  src: url("emptystreets-webfont.eot"); /* IE9 Compat Modes */
  src: url("emptystreets-webfont.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("emptystreets-webfont.otf") format("opentype"), /* Open Type Font */
  url("emptystreets-webfont.svg") format("svg"), /* Legacy iOS */
  url("emptystreets-webfont.ttf") format("truetype"), /* Safari, Android, iOS */
  url("emptystreets-webfont.woff") format("woff"), /* Modern Browsers */
  url("emptystreets-webfont.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}


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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldsets.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   body {
    font-family: 'Yantramanav', sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
   }

   .mountains, .fog {
    position: fixed;
    top:185px;
    left:0;
    right:0;
    bottom:0;
    background: url(../img/background_1.gif) no-repeat center top transparent;
    background-size: cover;
    transition: top 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .fog {
    top:0;
    left:0;
    right:0;
    min-height: 100%;
    position: fixed;
    background: url(../img/background_2.png) no-repeat center top transparent;
    background-size: cover;
    transition: top 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  @media (max-width: 1441px) {
    .mountains {     transform: translateY(25px);}
    .fog { transform: translateY(25px); }
  }

  .headerWrap {
    left: 0;
    right: 0;
    top: 0;
    position: fixed;
    background-color: rgba(255,255,255,.8);
    -webkit-box-shadow: 0 0 112px 50px rgb(255 255 255);
    box-shadow: 0 0 112px 50px rgb(255 255 255);
    z-index: 100;
  }
  .header {
    padding: 12px 0;
    width: 1024px;
    max-width: 90vw;
    margin: 0 auto;
    border-bottom: 1px solid #246FB6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }

  .header img {
    height: 30px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .burgerMenu {
    display: none;
  }

  .header .navLinks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 15px;
  }

  .header a {
    display: inline-block;
    color: #246FB6;
    text-decoration: none;
    margin: 0;
    padding: 8px 15px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 300ms ease-in-out;
  }
  .header a:hover {
    background-color: #246fb629;
  }
  .header a.active, .header a.active:hover {
    font-weight: 600;
    background-color: #246FB6;
    color: #fff;
  }

  .headline {
    text-transform: uppercase;
    text-align: center;
    width:1024px;
    max-width: 90vw;
    left:0;
    right:0;
    position:fixed;
    margin: 0 auto;
    color:#246FB6;
    font-size:60px;
    margin-top:130px;
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
  }
  .headline.hide {
    opacity:0;
    pointer-events: none;
    transform: translateY(-20px);
  }
  
  .content {
    opacity:0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    width:1024px;
    max-width: calc(100vw - 40px);
    margin:0 auto;
    left:0;
    right:0;
    top: 75px;
    bottom: 0;
    background: transparent;
    padding-top: 45px;
    padding-bottom: 80px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
    transform: translateY(25px);
    z-index: 16;
    display: flow-root;
    scrollbar-width: thin;
    scrollbar-color: rgba(36, 111, 182, 0.35) transparent;
  }
  .content.show {
    opacity:1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 17;
  }
  .content::after {
    content: "";
    display: table;
    clear: both;
  }
  .content::-webkit-scrollbar {
    width: 6px;
  }
  .content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }
  .content::-webkit-scrollbar-thumb {
    background: rgba(36, 111, 182, 0.35);
    border-radius: 3px;
  }
  .content::-webkit-scrollbar-thumb:hover {
    background: rgba(36, 111, 182, 0.7);
  }

  .content h2 {
    font-size:60px;
    font-weight:100;
    color:#246FB6;
    margin-bottom:0;
    padding-bottom:0px;
  }

  .content p {
    font-size:18px;
  }

  .markenWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
  }

  .markeDiv {
    border-radius: 300px;
    height: 123px;
    width: 123px;
    border: 20px solid #fff;
    box-sizing: content-box;
    background-size: cover;
    background-position: center;
    transition: all 200ms ease-in-out;
  }
  .markeDiv:hover {
    cursor: pointer;
    height: 143px;
    width: 143px;
    border: 10px solid #fff;
  }



  .vitaWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px 20px;
    width: 100%;
    margin-top: 20px;
  }

  .vita {
    flex: 0 0 45%;
    max-width: 48%;
    padding: 0 10px;
    box-sizing: border-box;
    display: block;
  }
  .vita.small {
    flex: 0 0 28%;
    max-width: 32%;
    padding: 0 5px;
  }
  .vita h3{
    display:block;
    text-align: center;
    margin:0;
    padding:0;
    margin-top: 20px;
    font-size:36px;
    font-weight:200;
  }
  .vita.small h3{
    font-size:30px;
  }
  .vita h4{
    display:block;
    text-align: center;
    margin:0;
    padding:0;
    font-weight:400;
  }
  .vita p.quote{
    font-style: italic;
    text-align: center;
    font-weight:200;
  }
  .personen {
    border-radius:300px;
    height:200px;
    width:200px;
    margin:0 20px 20px 20px ;
    background-size: cover;
    margin:0 auto;
  }



















  .icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
  top:90%;
  transition: all 50ms ease-in-out, height 1s ease-in;
}
 

.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  top: 90vh;
  margin-top: -35px;
  box-shadow: inset 0 0 0 2px #246FB6;
  border-radius: 25px;
  cursor: pointer;
  z-index: 20;
  transition: opacity 400ms ease-in-out;
}

.icon-scroll.hide {
  opacity: 0;
  pointer-events: none;
}


.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #246FB6;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}
 

@keyframes scroll {
  0%
    {opacity: 1}
  100%
    {opacity: 0;transform: translateY(46px)}
  }



@media (max-width: 1025px) {
    .content, .header {
          width: calc(100vw - 40px);
          max-width: calc(100vw - 40px);
          margin-left: auto;
          margin-right: auto;
          box-sizing: border-box;
    }
    .header .navLinks {
          gap: 6px 12px;
    }
    .header a {
          padding: 6px 12px;
    }
  }


@media (max-width: 800px) {
    .header {
        gap: 10px;
    }
    .header .navLinks {
        gap: 6px 8px;
    }
    .header a {
        margin: 0;
        padding: 5px 10px;
        font-size: 14px;
    }
    .vita, .vita.small {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .markenWrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 25px;
        max-width: 340px;
        margin: 30px auto 0 auto;
    }
    .markeDiv {
        width: 120px;
        height: 120px;
        border: 10px solid #fff;
        box-sizing: border-box;
    }
    .markeDiv:hover {
        width: 120px;
        height: 120px;
        border: 10px solid #fff;
        transform: scale(1.06);
    }
}


@media (max-width: 600px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        box-sizing: border-box;
    }
    .header img {
        height: 28px;
        position: relative;
        z-index: 105;
    }
    .burgerMenu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 105;
        padding: 2px 0;
        box-sizing: border-box;
        position: relative;
    }
    .burgerMenu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #246FB6;
        border-radius: 3px;
        transition: all 300ms ease-in-out;
        transform-origin: center;
    }
    .burgerMenu.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .burgerMenu.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .burgerMenu.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .header .navLinks {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 100;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 0;
        padding: 60px 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 300ms ease-in-out, visibility 300ms ease-in-out;
    }
    .header.menuOpen .navLinks,
    .header .navLinks.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .header .navLinks a {
        display: inline-block;
        width: auto;
        min-width: 220px;
        max-width: 85%;
        text-align: center;
        margin: 0;
        font-size: 22px;
        font-weight: 300;
        padding: 12px 24px;
        border-radius: 50px;
        color: #246FB6;
        transition: all 250ms ease-in-out;
    }
    .header .navLinks a:hover,
    .header .navLinks a.active {
        background-color: #246FB6;
        color: #fff;
        font-weight: 400;
    }

    .mountains {
        transform: translateY(140px);
    }
    .fog {
        transform: translateY(125px);
    }
    .headline {
        font-size: 45px;
    }
    .content.show {
        padding-top: 50px;
    }
    .content h2 {
        font-size: 40px;
        line-height: 37px;
    }
    .content {
        margin: 0 auto;
        width: calc(100% - 30px);
        max-width: 100%;
        top: 85px;
        bottom: 0;
        padding: 15px;
        padding-bottom: 70px;
        overflow-y: auto;
    }
}





.bubble {
    display: inline-block;
    width: auto;
    padding: 10px 20px;
    border: 3px solid #246FB6;
    border-radius: 32px;
    margin: 10px;
    font-size: 19px;
    background: #246fb6cc;
    color: #fff;
}








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

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

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

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

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

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

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

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

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

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

