/* web fonts */

@font-face {
    font-family: 'Scala SC';
    font-style: normal;
    src: url('../fonts/ScalaSC/400/ScalaScWebProd41d.html?#iefix') format('embedded-opentype'),
         local('☺︎'),
         url('../fonts/ScalaSC/400/ScalaScWebPro.html') format('woff');
}

@font-face {
    font-family: 'Scala SC';
    font-style: italic;
    src: url('../fonts/Scala/400-Italic/ScalaWebPro-Itad41d.html?#iefix') format('embedded-opentype'),
         local('☺︎'),
         url('../fonts/Scala/400-Italic/ScalaWebPro-Ita.html') format('woff');
}

/* minnimal reset */

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.45;
    font-size: 16px;
    margin: 0;
}

/* block headline */

.headline h1 {
    display: table-cell;
    vertical-align: middle;
    text-transform: lowercase;
    font-family: 'Scala SC', Georgia, Times, 'Times New Roman', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1;
    margin: 0 0 0 12px;
    max-width: 610px;
}

.headline h1 span {
    background-color: #fff;
    -webkit-box-shadow: 12px 0 0 #fff,-12px 0 0 #fff;
    box-shadow: 12px 0 0 #fff, -12px 0 0 #fff;
    box-decoration-break: clone;
}


.container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 24px;
}


/* image background "stage" */

.stage {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.stage img {
    width: 100%;
    z-index: -10;
}

.stage:after {
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(70%,rgba(255,255,255,1)));
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
}

.headline {
    height: 280px;
    padding: 0 24px;
    max-width: 700px;
    display: table;

}

.main {
    background-color: #fff;
    padding: 24px;
    min-height: calc(100vh - 280px);
}

p {
    margin: 0 0 18px 0;
}

@media screen and (max-width: 959px) {
    .headline {
        max-width: 540px;
    }
}

@media screen and (max-width: 639px) {
    .container {
        padding: 0;
    }

    .headline {
        height: 240px;
        max-width: 340px;
    }

}

@media screen and (max-width: 479px) {

    .headline h1 {
        text-align: center;
        margin: 0;
        font-size: 32px;
    }

    .headline h1 span {
        background-color: inherit;
        box-shadow: none;
    }

    .stage img {
        opacity: 0.4;
    }

    .stage:after {
        background: inherit;
    }

    .headline {
        height: 180px;
        margin: 0 auto;
        max-width: 420px;
    }
}



