
/*
 * Toni Püschel Illustration
 */

/* source-sans-pro-300 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    src: url('res/fonts/source-sans-pro-v9-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
    url('res/fonts/source-sans-pro-v9-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('res/fonts/source-sans-pro-v9-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('res/fonts/source-sans-pro-v9-latin-300.woff') format('woff'), /* Modern Browsers */
    url('res/fonts/source-sans-pro-v9-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('res/fonts/source-sans-pro-v9-latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

html
{
    font-family: "Source Sans Pro", sans-serif;
    color: #202122;
    background: #f0f2f1 url("img/collage-pueschel.jpg") 50% calc(50% + 350px) no-repeat;
}
html, body {
    width: 100%;
    height: 100%;
    display: table;
    line-height: 1.55;
}
    a {
        color: inherit;
    }
    body > section {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }
    body > section .inner {
        width: 1200px;
        height: 1200px;
        display: inline-block;
        text-align: left;
        position: relative;
    }
    header
    {
    }
    header h1,
    header h2
    {
        font-size: 2em;
        font-weight: 300;
        line-height: 1.55;
        margin: 0;
        padding: 0;
    }
    #nav {
        position: absolute;
        top: 142px;
        left: 22px;
    }
        #nav a {
            text-decoration: none;
        }
        #nav nav
        {
            position: relative;
            top: 2em;
            font-size: 1.5em;
        }
            #nav nav a.active
            {
                text-decoration: underline;
            }
            ul, li
            {
                margin: 0;
                padding: 0;
                border: 0;
                font: inherit;
                font-size: 100%;
                vertical-align: baseline;
                list-style: none;
            }
            ul ul
            {
                margin-left: 2em;
                margin-bottom: .5em;
            }
        address
        {
            position: fixed;
            top: 92vh;
            display: inline-block;
            width: auto;
            padding: .5em 1em;
            left: 50%;
            margin-right: -50%;
            transform: translate(-50%, -50%);
            text-align: center;
            background-color: rgba(240, 242, 241, 0.5);
            font-style: normal;
            box-shadow: rgba(240, 242, 241, 0.5) 0 0 10px;
        }
        address a
        {
            margin: 0 2em;
        }

    article {
        position: absolute;
        top: 142px;
        left: 362px;
        display: none;
        opacity: 0;
        transition: opacity .5s ease;
        padding-bottom: 4em;
        margin-bottom: 4em;
    }

article h2 {
    font-size: 2em;
    font-weight: 300;
    line-height: 1.55;
    margin: 0;
    padding: 0;
}

/* gallery */
article img {
    margin: 3em;
    box-shadow: rgba(224, 226, 225, 0.5) 0 0 5px;
    transition: box-shadow .2s ease;
    vertical-align: middle;
}

article span {
    margin: 3em;
    display: inline-block;
    width: 140px;
    vertical-align: middle;
}

article a:hover img {
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
}

article section.important a {
    display: none;
}

article section.important a.important {
    display: inline;
}

article section.gallery h3 {
    display: none;
}

article#biografie p {width: 30%; text-align: justify; hyphens: manual; float: left;}
article#biografie aside {margin-left: 40%;}
article#biografie aside img {margin: 1em 0;}

article#ausstellungen ul {width: 30%; text-align: justify; hyphens: manual; float: left;}
article#ausstellungen ul li {margin: 1em 0;}
