/*! 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
   ========================================================================== */
@font-face {
    font-family: 'League Gothic';
    src: url('../font/leaguegothic-regular-webfont.eot');
    src: url('../font/leaguegothic-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/leaguegothic-regular-webfont.woff') format('woff'),
         url('../font/leaguegothic-regular-webfont.ttf') format('truetype'),
         url('../font/leaguegothic-regular-webfont.svg#league_gothic_condensed-Rg') format('svg');
    font-weight: normal;
    font-style: normal;

}


html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    height:100%;
}


body {
    font-family: League Gothic, sans-serif;
    letter-spacing:0.1em;
    height:100%;
}

p {
    margin:1em 0;
}
a {
    text-decoration: none;
}

/*
 * 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
   ========================================================================== */

#logo {
    height:560px;
    width:560px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image:url(../img/logo.png);
    background-image:url(../img/duckduck_logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10000;
}
h2.headline {
    text-align: center;
    text-shadow: 1px 1.8px 10px rgba(35,24,14,.44);
    font-size: 72px;
    font-weight: normal;
    color:#fff;
    text-transform: uppercase;
    letter-spacing:0.1em;
    display: table-cell; 
    width: 100%;
    vertical-align: middle;
}
h3 {
    color:#f1af01;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: normal;
}
.textblock {
    position: absolute;
    top:25%;
    right:10%;
    width:35%;
    max-width: 450px;
    font-size: 22px;
}
.textblock p {
    color:#274898;
    margin: .5em 0;
}
.textblock a {
    color:#274898;
    text-decoration: underline;
}
.textblock.daten {
    position: static;
    margin: 150px 0 0 60%;
}
.textblock.daten2 {
    position: static;
    margin: 25px 0 0 65%;
}
.textblock.daten h3, .textblock.daten2 h3 {
    margin: 0;
}
.textblock.shop {
    right:auto;
    left:53%;
}
.textblock.kontakt {
    right: 0;
    width: auto;
}
.zentriert {
    position: relative;
    margin: 10% auto;
    width:905px;
    height: auto;
}

.skrollr-desktop body {
    height:100% !important;
}


.parallax-image-wrapper {
    position:fixed;
    left:0;
    width:100%;
    overflow:hidden;
}

.parallax-image-wrapper-50 {
    height:50%;
    top:-50%;
}

.parallax-image-wrapper-100 {
    height:100%;
    top:-100%;
}

.parallax-image {
    display:none;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}

.parallax-image-50 {
    height:200%;
    top:-50%;
}

.parallax-image-100 {
    height:100%;
    top:0;
}

.parallax-image.skrollable-between {
    display:block;
}

.no-skrollr .parallax-image-wrapper {
    display:none !important;
}

#skrollr-body {
    height:100%;
    overflow:visible;
    position:relative;
}

.board-gap {
    position: relative;   
}
.gap {
    background:transparent center no-repeat;
    background-size:cover;
    overflow: hidden;
}

.skrollr .gap {
    background:transparent !important;
}

.gap-50 {
    height:50%;
}

.gap-100 {
    height:100%;
}
.trenner {
    height:0;
    background:transparent;
    padding:0;

    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.board-flyin {
    position:absolute;
    width: 800px;
}
.board-flyin img {
    width: 100%;
}
.board2 {
    width: 375px;
}
.board3 {
    width: 700px;
}
.board4 {
    width: 720px;
}
.boards {
    position:absolute;
    left: 0;
    top:0;
}


.header, .content {
    background:#fff;
    padding:1em;

    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.header {
    display: none;
    position:fixed;
    width:100%;
    height:100px;
    background:rgba(255,255,255,.5);
    text-align: right;
    text-transform: uppercase;
    z-index: 1000;
}
.header a {
    color:#004d93;
    text-decoration: none;
    font-size: 22px;
    margin-left:1.2em;
}
.header a:hover {
    color:#F1AF01;
}
.header .links a:hover::before {
    background-color: #F1AF01;
}
.header a.active {
    color:#F1AF01;
}
.header .links a.active::before {
    background-color: #F1AF01;
}
.header-logo {
    background-image:url(../img/logo.png);
    background-image:url(../img/duckduck_logo.svg);
    width:150px;
    height:150px;
    position: absolute;
    top: 25px;
    left: 25px;
    background-repeat: no-repeat;
    background-size: cover;
    text-indent: 10000px;
}
.header .links {
    position: absolute;
    bottom:15px;
    right:40px;
    width: 100%;
}
.header .links a {
    position: relative;
}
.header .links a::before {
    content: ' ';
    position: absolute;
    top:-5px;
    left:0px;
    height:3px;
    background-color: #004d93;
    width:24px;
}

#overlay {
    width:100%;
    height: 100%;
    position: fixed;
    background-color: #fff;
    background-image:url(../img/img_dd_sec_1.jpg);
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    z-index: 2;
}

.content-full {
    height:100%;
}

#done {
    height:100%;
}
.next {
    text-indent: -10000px;
    width:90px;
    height: 52px;
    position: absolute;
    bottom:5%;
    left:50%;
    background-image: url(../img/btn_arrow_down.png);
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 100;
}
.nav_dots {
    position: absolute;
    top:50%;
    right:25px;
    width: 21px;
    height:104px;
    transform: translate(-50%, -50%);
}
.nav_dots div {
    width:21px;
    height: 21px;
    margin-bottom: 5px;
    background-image: url(../img/navigation_dots.png);
    background-repeat: no-repeat;
    background-position: top;
}
.nav_dots div.inactive {
    background-position: bottom;
}
.nav_dots div.inactive:hover {
    background-position: top;
}


/* Flexbox */
.flexslider {
    max-height: 100%;
    margin:0;
    border: none;
    overflow: hidden;
    -webkit-transform: translateZ(0);
}
.flex-control-nav {
    display: none;
}
.flex-viewport {
    max-height: 100%;
}
.flex-direction-nav a {
    width:52px;
    height:90px;
    margin: -45px 0 0;
}
.flex-direction-nav a:before {
    content: '';
    width:52px;
    height:90px;
}
.flex-direction-nav a.flex-next:before {
    content: '';
}
.flex-prev:before {
    background-image: url(../img/btn_arrow_left.png);
}
.flex-next:before {
    background-image: url(../img/btn_arrow_right.png);
}
.flexslider:hover .flex-prev {
left: 35px;
}
.flexslider:hover .flex-next {
right: 35px;
}

/* Contact Form */
.contact_form {
    position: absolute;
    top:25%;
    right:50%;
    width:470px;
    margin: 105px 0;
}
textarea, input[type="text"] {
    width: 390px;
    margin: 0 10px 10px 10px;
    padding: 15px;
    color: #999;    
    border-radius: 2px;
    background: #fff;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
textarea {
    width: 420px;
    height:100px;
}
input[type="text"] {
    padding-left: 45px;
}
#note{
    background: #f8b322;
    padding: 5px 15px;
    color:#fff;
}

#fields {
    position: relative;
    background: #f8b322;
    width: 100%;
}
#fields::before {
    content: "";
    background-image: url(../img/icn_email.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left:25px;
    top:75px;
    width:18px;
    height: 14px;
}
#fields::after {
    content: "";
    background-image: url(../img/icn_name.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left:25px;
    top:16px;
    width:18px;
    height: 14px;
}
#submit_btn {
    position: relative;
    background: #f8b322;
    float:right;
    width:190px;
    height:48px;
}
.contact_btn {
    position:absolute;
    right:10px;
    top:0;
    display: block;
    cursor: pointer;
    width: 170px;
    padding: 10px 0;
    border: 0;
    border-radius: 2px;
    -webkit-box-shadow: 0;
    box-shadow: 0;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    color: #605f5d;
    background-color: #f9e25d;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}


.logo-animation {
  animation: animationFrames linear 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: animationFrames linear 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animationFrames linear 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: animationFrames linear 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: animationFrames linear 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@-moz-keyframes animationFrames{
  0% {
    -moz-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -moz-transform:  translate(-50%,-50%)  scaleX(1.30) scaleY(1.30) ;
  }
  100% {
    -moz-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -webkit-transform:  translate(-50%,-50%)  scaleX(1.30) scaleY(1.30) ;
  }
  100% {
    -webkit-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
}

@-o-keyframes animationFrames {
  0% {
    -o-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -o-transform:  translate(-50%,-50%)  scaleX(1.30) scaleY(1.30) ;
  }
  100% {
    -o-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
}

@-ms-keyframes animationFrames {
  0% {
    -md-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -ms-transform:  translate(-50%,-50%)  scaleX(1.40) scaleY(1.40) ;
  }
  100% {
    -ms-transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
}

@keyframes animationFrames{
  0% {
    transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    transform:  translate(-50%,-50%)  scaleX(1.30) scaleY(1.30) ;
  }
  100% {
    transform:  translate(-50%,-50%)  scaleX(1.00) scaleY(1.00) ;
  }
}







/* ==========================================================================
   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 */
}

@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;
    }
}


/* ==========================================================================
   Responsive styles.
   ========================================================================== */

@media  only screen and (max-width: 767px),
        only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 767px),
        only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 767px),
        only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 767px),
        only screen and (        min-device-pixel-ratio: 2)      and (max-width: 767px),
        only screen and (                min-resolution: 192dpi) and (max-width: 767px),
        only screen and (                min-resolution: 2dppx)  and (max-width: 767px) {
    
    .header {
        height: 75px;
    }
    .header a {
        font-size: 16px;
    }
    .header-logo {
        width: 75px;
        height: 75px;
        top: 35px;
    }
    
    .gap {
        position: relative;
    }
    .gap-100 {
        height: auto;
        min-height: 100%;
    }
    #galerie ~ .gap-100 {
        min-height: 0;
    }
    #shop ~ .gap-100 {
        min-height: 100%;
    }
    .flexslider .next {
        display: none;
    }
    .flex-direction-nav {
        /*display: none;*/
    }
        
    h2.headline {
        font-size: 48px;
    }
    
    .next{
		display:none;
    }
        
    .board-flyin {
        position: static;
        width:100%;
    }
    .board-flyin img {
        display: block;
        width: auto;
        max-height: 450px;
        max-width: 450px;
        margin: 100px auto 0 auto;
    }

    .textblock {
        position: static;
        width: 95%;
        margin: 0 auto 25px auto;
		font-size: 16px;
    }
    .textblock p {
        margin: 0;
    }
    .textblock.shop {
        margin-top: 100px;
    }
    .textblock.daten, .textblock.daten2 {
        width:90%;
        margin: 20px auto ;
    }
        
    .contact_form {
        position: static;
        width: 100%;
        margin: 0;
    }
    input[type="text"], textarea {
        display: block;
        width: 90%;
        margin: 0 auto 10px auto;
        padding-left: 15px;
    }
    #note {
        margin-top: 150px;
    }
    #fields {
        padding-bottom: 5px;
    }
    #fields::before, #fields::after {
        display: none;
    }
    .contact_btn {
        right: 5%;
    }

    .zentriert {
        width: 100%;
        margin-top:70px;
    }
    .boards {
        position: static;
        width: 100%;
        margin-top: 150px;
    }
    .boards img {
        display: block;
        width:90%;
        margin: 0 auto;
    }
    .zentriert .textblock {
        width: 100%;
        text-align: center;
    }
        
    .nav_dots {
        display: none;
    }
        
    #logo {
        height:350px;
        width:350px;
    }


@media  only screen and (max-width: 450px),
        only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 450px),
        only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 450px),
        only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 450px),
        only screen and (        min-device-pixel-ratio: 2)      and (max-width: 450px),
        only screen and (                min-resolution: 192dpi) and (max-width: 450px),
        only screen and (                min-resolution: 2dppx)  and (max-width: 450px) {

    .header a {
        font-size: 12px;
    }

    .header-logo {
        left: 2%;
    }

    .board-flyin img {
        max-height: 300px;
        max-width: 300px;
    }
            
}