@charset "UTF-8";
/*
*
*   SECONDRED Boilerplate
*   Example CSS
*   Author: SECONDRED Newmedia GmbH - www.secondred.de
*
*/
:root {
    --font-size: 1em;
    --line-height: 1.2em;
    --border-radius: 10px;
    
    --dark-color: #00152B;
    --blue-color: #002A55;
    --light-color: #E2E2E2;
    --lighter-color: #F7F7FF;
    --red-color: #FE5F55;
    --gradient: linear-gradient(to top, #314755, #26a0da);
}

.container {
    background: var(--dark-color);
    background-size: cover;
    height: 100vh;
    position: relative;
}
.logo { padding: 60px; position: absolute; left: 0; top: 0; margin:0; z-index: 20 }
.logo a { background-image: url("../gfx/logo-brandstaetter-light.svg")}

.intro {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: stretch;
    align-items: center;
    height: inherit;
    color: #fff;
}
.intro h1 {
    text-transform: uppercase; font-weight: normal;
    font-size: 4.375em; text-align: center;
    position: relative; z-index: 4; opacity: 0;
    -webkit-animation: textFadein 10s cubic-bezier(.22, 1, .36, 1) 2s 1;
    animation: textFadein 10s cubic-bezier(.22, 1, .36, 1) 2s 1;
    animation-fill-mode: forwards;
}
.intro a.btn {
    border: 0; color: #fff; position: relative; z-index: 2; opacity: 0;
    -webkit-animation: buttonFadein 10s cubic-bezier(.22, 1, .36, 1) 4s 1;
    animation: buttonFadein 10s cubic-bezier(.22, 1, .36, 1) 4s 1;
    animation-fill-mode: forwards;

}
.intro a.btn::before {
    background: #002A55; position: absolute; 
    left:0; top: 0;content:"";
    width: 100%; height: 100%;
    z-index: -1;
}
.overlay {
    left: 0; top: 0; height: 100%; width: 100%; position: absolute;
    /*-webkit-mask-image: url(../gfx/intro-overlay_mask.png);
    mask-image: url(../gfx/intro-overlay_mask.png); */
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 0 70%, #000 0%, transparent 70%);
     mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); 
    -webkit-mask-size: 300% 250%;
    -webkit-mask-position: left bottom;
    -webkit-mask-repeat: no-repeat;
    -webkit-animation: overlayFadein 7s cubic-bezier(.22, 1, .36, 1) 0s 1;
    animation: overlayFadein 7s cubic-bezier(.22, 1, .36, 1) 0s 1;
    animation-fill-mode: forwards;
    mask-position: left bottom;
    mask-repeat: no-repeat;
    mask-size: 300% 250%;
    background: url(../gfx/intro-bg.jpg) no-repeat;
    background-size: cover;
    opacity: 0;
}
@-webkit-keyframes overlayFadein {
    0%{-webkit-mask-size: 0 0;mask-size: 0 0; opacity: 0;}
    100%{-webkit-mask-size: 300% 250%; mask-size: 300% 250%;opacity: 1;}
}

@-webkit-keyframes textFadein {
    0%{ opacity: 0;}
    100%{opacity: 1;}
}
@-webkit-keyframes buttonFadein {
    0%{ opacity: 0;}
    100%{opacity: 1;}
}

@media only screen and (max-width: 768px) {
    .intro h1 {font-size: 3em}
}