/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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
   ========================================================================== */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

/* general */

body {
    font-family: 'Roboto Slab', serif;
    color: #333;
    font-weight: 300;
}

h1 {
    font-size: 1.6em;
    font-weight: 400;
 }

h2 {
    font-size: 1.2em;
}

h4 {
    font-size: 1em;
    margin: .5em 0;
}

p {
    line-height: 1.68em;
}

strong {
    font-weight: 400;
}

/* menu */

#menu {
  display: none;
}

/* content:brand */

#brand {
  background: url("../img/landschaft_web.jpg");
  background-size: cover;
  background-position: center;
}

#brand h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 2.6em;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin: 0;
    padding-top: 45vh;
}

i.hiddenLetter {
    font-style: normal;
}

/* contentwrapper*/
.content {
  top: 15vh;
  position: relative;
}

.content > section {
  margin-bottom: 3em;
}

/* content:about */

#about {
  padding: 0 1em;
  margin-top: -6em;
  position: relative;
}

#about strong.salute {
  font-size: 2em;
  text-align: center;
  display: block;
  margin-bottom: .5em;
}

#about figure {
  margin: 1.5em 0;
}

#about figure .profilePic {
  width: 50%;
  border-radius: 50%;
  margin: 0 25%;
}

/* content:work */

#work {
  margin-top: 2em;
}

#work header {
  text-align: center;
}

/* styles for modernizr generated elements */
summary { cursor: pointer; }
.no-details details > * { display: none; }
.no-details details summary { display: block; }

/* gallery */
.accordionGallery details {
  height: 3em;
  -webkit-transition: height .3s ease-in;
  -moz-transition: height .3s ease-in;
  transition: height .3s ease-in;
  overflow: hidden;
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 0 .2em 3px .2em;
}

.accordionGallery details[open],
.accordionGallery details.open {
  height: 19em;
}

.accordionGallery summary {
  font-size: 1em;
  line-height: 3em;
  padding: 0 1em;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
}

.accordionGallery summary:focus {
  outline: none;
}

.accordionGallery summary::-webkit-details-marker {
  display: none
}

.accordionGallery summary:after {
  content: "+";
  float: left;
  color: #fff;
  font-size: 1.5em;
  width: 20px;
}

.accordionGallery details[open] summary:after,
.accordionGallery details.open summary:after {
  content: "-";
}

.accordionGallery details[open] .info,
.accordionGallery details.open .info {
  font-size: .8em;
  line-height: 1em;
  padding: 1em 1em 1em 2.8em;
  background-color: rgba(0,0,0,0.4);
  color: #fff;
  margin: 0;
  border-top: 2px solid rgba(0,0,0,0.4);
}

.accordionGallery .info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.accordionGallery .info ul li{
  display: inline-block;
  margin-right: 1em;
}

.accordionGallery .info ul li:before{
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  content: "\ea10";
  margin-right: .5em;
}

.accordionGallery .info a.customerLink {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  margin-top: 1em;
  font-weight: bold;
}

/* gallery entries */

.entry-1 {
  background-image: url("../pictures/work_elf_600.jpg");
}

.entry-2 {
  background-image: url("../pictures/work_bund_600.jpg");
}

.entry-3 {
  background-image: url("../pictures/work_ni_600.jpg");
}

.entry-4 {
  background-image: url("../pictures/work_nais_600.jpg");
}


/* content:contact */

#contact header {
  text-align: center;
}

#contact address, #contact aside {
  margin-bottom: .5em;
  text-align: center;
}

 #contact aside {
  margin-top: 2em;
 }

ul.social {
  list-style: none;
  padding: 0;
  margin: 0 35%;
  width: 30%;
  overflow: visible;
  text-align: left;
}

ul.social a {
  text-decoration: none;
  color: inherit;
}

[class^="icon-"], [class*=" icon-"] {
  margin-right: .5em;
}

/* footer */
footer {
  text-align: center;
  font-size: .8em;
  margin-bottom: 3em;
}

/* detailsPage */
body.detailsPage {
  display: none;
}

.detailsPage figure img {
  width: 100vw;
}

/* modal */

.modal {
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1em;
  text-align: center;
  z-index: 500;
  width: 100%;
  height: 100%;
}

.modal section {
  width: 90%;
  margin: 3em auto;
}

.modal h1 {
  font-size: 2em;
  color: inherit;
}

.modal p, .modal span.siganture {
  text-align: justify;
  font-size: 0.9em;
}

.closeModal {
  cursor: pointer;
  display: block;
  margin-top: 1em;
  font-size: 2em;
  font-weight: 800;
  color: #bbb;
}

.closeModal .icon {
  margin-left: .5em;
  font-size: .8em;
}

/* big arrow down */

  .bigArrow {
    position: relative;
    top: -15vh;
    width: 100%;
    height: 15vh;
    overflow: hidden;
    left: 0px;
    display: block; 
  }

  .bigArrow .part1, .bigArrow .part2 {
    height: 100%;
    background-color: #fff;
    position: absolute;
    display: inline-block;
    top: 25%;
    width: 100vw;
  }

  .bigArrow .part1 {
    -ms-transform: rotate(7deg);
    -webkit-transform: rotate(7deg);
    transform: rotate(7deg);
    left: -45%;
  }

  .bigArrow .part2 {
    -ms-transform: rotate(-7deg);
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg);
    right: -45%;
  }

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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 */

    /* menu */

    #menu{
        display: block;
        position:fixed;
        top:0;
        left:0;
        height: 40px;
        z-index: 1;
        width: 100%;
        padding: 0;
        margin:0;
        text-align: right;
    }

    #menu li {
        display:inline-block;
        margin: 5px;
        width: auto;
        text-align: right;
    }

    #menu li.active{
        color: #333;
    }
    #menu li a{
        text-decoration:none;
        color: #333;
        font-weight: 600;
    }
    #menu li.active a:hover{
        color: #333;
    }

    #menu.white li.active, #menu.white li a, #menu.white li.active a:hover{
        color: #fff;
    }


    #menu li a,
    #menu li.active a{
        padding: 6px 8px;
        display:block;
        font-size: .8em;
    }
    #menu li.active a{
        text-decoration: line-through;
    }

/*    #fullpage > .section {
      padding: 0;
    }*/

    /* max width for content section on desktop screens */
    #about, #work, #contact, footer {
      max-width: 600px;
      margin: 0 auto 3em;
    }

    /* content:brand; */

    header#brand {
      /*margin-bottom: 150px;*/
    }

    #brand h1 {
      font-size: 8.6em;
      /*padding-top: 350px;*/
    }

    /* content:contact */
    ul.social {
      margin: 0 40%;
      width: 20%;
    }

    /* modal */

    .modal {
      padding: 5% 3em;
    }

    .modal section {
      padding: 0 25%;
    }

    .modal h1 {
      font-size: 3em;
    }

    .modal h1 {
      font-size: 4em;
    }

    .modal p {
      font-size: 1em;
    }

    .modal p.m-01 {
      text-transform: uppercase;
      font-size: 1.2em;
      text-align: center;
    }

    .closeModal {
      top: 1em;
      right: 1em;
    }

}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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