html {
  box-sizing: border-box;
  font-family: -apple-system, sans-serif;
}

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

body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em;
    background: rgba(255,255,252,1);
}

p {
	line-height: 1.4;
}

html, a, a:visited {
    color: #111;
}


a {
    font-weight: bold;
}

.text a {
    text-shadow: 0.03em 0 #fffff8, -0.03em 0 #fffff8, 0 0.03em #fffff8, 0 -0.03em #fffff8, 0.06em 0 #fffff8, -0.06em 0 #fffff8, 0.09em 0 #fffff8, -0.09em 0 #fffff8, 0.12em 0 #fffff8, -0.12em 0 #fffff8, 0.15em 0 #fffff8, -0.15em 0 #fffff8;
    background: linear-gradient(#fffff8, #fffff8), linear-gradient(#fffff8, #fffff8), linear-gradient(#333, #333);
    background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
    background-repeat: no-repeat, no-repeat, repeat-x;
    background-position: 0% 93%, 100% 93%, 0% 93%;
    text-decoration: none;
}

.title {
    margin: 0;
    font-family: 'superclarendon', 'helvetica neue', sans-serif;
    font-weight: 700;
}

.text {
    width: 100%;
    padding: 0em 1em 1em 0;
    text-align: center;
}

.text p:nth-child(1) {
    margin-top: 0;
}

.text p:last-child {
    margin-bottom: 0;
}

.flex-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
            align-content: stretch;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.flex-item {
    -webkit-box-ordinal-group: 1;
    -webkit-order: 0;
        -ms-flex-order: 0;
            order: 1;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    -webkit-align-self: auto;
        -ms-flex-item-align: auto;
            align-self: auto;
}

.bilder {
    width: 100%;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
}

.bilder .sample {
    width: 50%;
    padding: 2px 4px;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.bilder .big {
    cursor: auto;
}

figcaption {
    display: none;
}

.big figcaption {
    display: block;
    position: absolute;
    bottom: 7px;
    left: 5px;
    background: rgba(255,255,255,.7);
    padding: .8em 1em;
    font-size: .8em;    
}

.bilder .big {
    width: 100% !important;
    order: 0;
}

.sample img {
    width: 100%;
    border: 1px solid #D4D4C6;
}

@media (min-width: 730px) {

    body {
        margin: 2em auto;
    }

    .flex-container {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
            -ms-flex-direction: row;
                flex-direction: row;
    }

    .text {
        width: 25%;
        text-align:right;
     }

    .bild {
        width: 66%;
    }

    .bilder .sample {
        width: 25%;
    }    
}

@media (max-width: 1220px) {
    body {
        margin: 0 auto;
    }
}
