@import url('https://fonts.googleapis.com/css?family=Assistant:300,400,700');

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, input,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* end reset */

.d-block {
    display: block;
}
.col-xs-full {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
}
.col-xs-half {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
}
.d-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
body {
    font-family: 'Assistant', sans-serif;
    --content-color: #595346;
    color: var(--content-color);
    --main-green-color: #9CDC9E;
    --dark-green-color: #4abf4e;
}
h1 {
    font-size: 2em;
}
h2 {
    text-transform: uppercase;
    margin: 10px 0;
}
.text-center {
    text-align: center;
}
.weight-light {
    font-weight: 300;
}
.bg-main-color {
    background-color: var(--main-green-color);
    color: white;
}
.bg-white-color {
    background-color: white;
}
.bg-repeated {
    background: #FFE9E2 url(bg.jpg) repeat;
    background-size: 50%;
}
.padding20 {
    padding: 20px;
}
.nowrap {
    white-space: nowrap;
}
strong {
    font-weight: 700;
}
p + p {
    margin-top: 20px;
}
p {
    line-height: 1.5em;
}

.main-color {
    color: var(--main-green-color);
}
.white-color,
.white-color:visited {
    color: white;
}

header {
    padding: 10px;
}
section {
    padding-top: 20px;
}
.layout-container {
    padding-left: 5%;
    padding-right: 5%;
}

.cover-image-container {
    position: relative;
    overflow: hidden;
}
.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    background: url(img/svenja-munster.jpg);/* copyright https://unsplash.com/ */
    background-size: cover;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}
.header-logo {
    max-width: 300px;
}


/* FORM */
input[type='text'],
input[type='email'],
input[type='search']
input[type='button'],
input[type='submit'],
.button-main,
.button-transparent
{
    display: inline-block;
    font-size: 16px;
    padding: 0.7em;
    border-radius: 2px;
    text-decoration: none; -webkit-transition: all 200ms ease; transition: all 200ms ease;
}
input[type='text'],
input[type='email'],
input[type='search']
{
    border: 1px solid #EEE;
}
input[type='button'],
input[type='submit'],
.button-main
{
    border: 1px solid  var(--main-green-color);
    background:  var(--main-green-color);
    color: white;
}
.button-transparent {
    border: 1px solid  currentColor;
    background:  rgba(255, 255, 255, 0);
}
.button-transparent:hover {
    background:  rgba(255, 255, 255, 1);
    color: var(--dark-green-color);
}
.full-width-inputs input {
    width: 100%;
}
.panel-container {
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}
.panel {
    background: #F9F9F9;
    color: var(--content-color);
    position: relative;
    overflow: hidden;
}
.panel-input {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    padding: 0;
    opacity: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.panel .panel-paragraph {
    line-height: 1.5em;
    padding: 20px;
}
.panel .button-transparent {
    display: none;
}
.panel ~ .panel {
    border-top: 1px solid #FFFFFF ;
}



@media screen and (min-width: 768px) {
    .col-sm-full {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        max-width: 100%;
    }
    .col-sm-half {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        max-width: 50%;
    }
    .layout-thin {
        -ms-flex-preferred-size: 66%;
        flex-basis: 66%;
        width: 66%;
        margin: 20px auto;
    }
    .layout-container {
        padding-left: 20%;
        padding-right: 20%;
    }
}
@media screen and (min-width: 1024px) {
    .panel-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        min-height: 24vw;
    }
    .panel {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
        /* Safari transitionend event.propertyName === flex */
        /* Chrome + FF transitionend event.propertyName === flex-grow */
        -webkit-transition: background 0.2s,
        -webkit-box-flex 0.4s ease-out;
        transition: background 0.2s,
        -webkit-box-flex 0.4s ease-out;
        transition: flex 0.4s ease-out,
        background 0.2s;
        transition:
                flex 0.4s ease-out,
                background 0.2s,
                -webkit-box-flex 0.4s ease-out,
                -ms-flex 0.4s ease-out;
        background-size: cover;
        background-position: center;

    }
    .panel svg {
        fill: currentColor;
    }
    .panel .button-transparent {
        display: inline-block;
    }
    .panel .panel-paragraph {
        opacity: 0;
        width: 300px;
        max-height: 0;
        overflow: hidden;
    }
    .panel ~ .panel {
        border-top: none;
        border-left: 1px solid #FFFFFF ;
    }
    .panel-label {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 20px;
        cursor: pointer;
        -webkit-transition: -webkit-box-flex 0.7s ease-out;
        transition: -webkit-box-flex 0.7s ease-out;
        transition: flex 0.7s ease-out;
        transition:
                flex 0.7s ease-out, -webkit-box-flex 0.7s ease-out, -ms-flex 0.7s ease-out;
    }
    .panel-input:checked + .panel,
    .panel:hover {
        background: var(--main-green-color);
        -webkit-box-flex: 3;
        -ms-flex: 3;
        flex: 3;
        color: white;
    }
    .panel-input:checked + .panel .panel-paragraph {
        opacity: 1;
        -webkit-transition: opacity 0.5s ease-out;
        transition: opacity 0.5s ease-out;
        max-height: 100%;
    }
    .panel-input:checked + .panel .button-transparent {
        display: none;
    }
}
