@font-face {
  font-family: 'LibreCaslon';
  src: url('../fonts/librecaslondisplay-regular-webfont.woff') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

body {
  background: #fafafa;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  max-height: 100%;
}

html {
  max-height: 100%;
}

.caslon {
  font-family: 'LibreCaslon', Helvetica, Arial, sans-serif !important;
}

img {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
img.logo{
  width: 200px;
  margin: 0;
  display: inline-block;

}
a {
  color: #333;
}

#about {
  background: rgb(245, 245, 245);
  padding: 1.5rem;
}


#imprint {
  background-color: rgba(125, 132, 145, 1);
  display: grid;
  align-items: center;
  /* padding: 1rem; */
}

#home {
  padding: 1.5rem;
  font-size: 1.7rem;
  height: 100vh;
  display: grid;
  align-items: center;
}

#works {
  padding: 1.5rem;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

nav {
  overflow: hidden;
  background: #fafafa;
  position: fixed;
  /* Set the navbar to fixed position */
  top: 0;
  /* Position the navbar at the top of the page */
  width: 100%;
  z-index: 99;
  /* Full width */
}

#mainContainer {
  margin-top: 70px;
}

#menuLogo {
  max-width: 19em;
}

.pure-g {
  justify-content: center;
}

/* // Pure CSS mods */
.pure-g>div[class*="pure-u-"] {
  padding: 1.4em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.pure-menu-link {
  color: #333;
}

#puremenu {
  display: flex;
  justify-content: left;
  align-items: center;
  min-height: 1em;
}

.pure-menu-item,
.pure-menu-list {
  margin-left: auto;
  margin-right: 1em;
}

#puremenu-mobile {
  display: none;
  justify-content: right;
  align-items: center;
  min-height: 1em;
}

#puremenu-mobile>a {
  float: left;
}

#puremenu-mobile>ul {
  padding: 0.5em;
}

#puremenu-mobile>ul>li {
  line-height: 0.5em;
  font-size: 1.2em;
}

#LogoMenuBurger {
  vertical-align: middle;
  max-width: 32px;
  width: 32px;
}

#mmenuOverlay {
  height: 100%;
  width: 100%;
  position: fixed;
  display: none;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0, 0, 0);
  /* Black fallback color */
  background-color: rgba(255, 255, 255, 0.9);
  /* Black w/opacity */
  overflow-x: hidden;
  /* Disable horizontal scroll */
  transition: 0.5s;
  font-size: 2em;
  /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.mmenuOverlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.closeButton {
  font-size: 1.5em;
  cursor: pointer;
  float: right;
  padding: 0.25em;
}

.pure-menu-link:hover,
.pure-menu-link:focus {
  background-color: transparent;
}

#logoP1,
#logoP2,
#logoC1,
#logoC2,
#logoC1m,
#logoP1m,
#logoF {
  fill: #111;
  transition-timing-function: ease-in-out;
  transition: 2.5s;
}

#logoSVG {
  width: 300px;
  padding: 1rem;
  height: auto;
  margin-left: 0;
  margin-right: 0;
}

#logoSVGmenu {
  width: 14.5em;
  height: auto;
}

#logoSVGmobile {
  width: 7.25em;
  height: auto;
}

/* RESPONSIVE */
/* // Small */
@media screen and (max-width: 30em) {
  #weare {
    padding: 0.2rem;
    font-size: 1rem;
  }

  #works {
    padding: 0rem;
    margin-top: 70px;
  }

  #imprint {
    padding-top: 70px;
  }

  .fp-slide {
    margin-top: 70px;
  }

  #puremenu-mobile {
    display: flex;
  }

  .pure-menu-list {
    display: none;
  }

  #puremenu {
    /* display: none; */
  }
  #logoSVG {
    width: 200px;
 
  }
  #menuLogo {
    max-width: 10em;
  }

  #home h1 {
    font-size: 2rem;
  }

  #weare {
    padding: 0.2rem;
    font-size: 1rem;
  }

  .pure-menu-item,
  .pure-menu-list {
    margin-left: auto;
    margin-right: 0.1em;
  }

  .pure-g>div[class*="pure-u-"] {
    padding: 1em;
  }

  .fp-controlArrow {
    top: 95%;
  }
}

/* // Medium */
@media screen and (min-width: 48em) {
  #puremenu {
    display: flex;
  }

  #puremenu-mobile {
    display: none;
  }
}

/* // Large */
@media screen and (min-width: 64em) {
  #puremenu-mobile {
    display: none;
  }

  img {
    height: 60vh;
    width: auto;
  }
}

/* // Large */
@media screen and (min-width: 90em) {
  #puremenu-mobile {
    display: none;
  }

  #weare {
    padding: 0.2rem;
    font-size: 3rem;
  }

  .weare {
    display:flex;
    max-width: 50vw;
  }
  #imprint {
    font-size: 3rem;
  }
}
