@font-face {
    font-family: "San Francisco";
    font-weight: 100;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2");
}

/** Thin */
@font-face {
    font-family: "San Francisco";
    font-weight: 200;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-thin-webfont.woff2");
}

/** Medium */
@font-face {
    font-family: "San Francisco";
    font-weight: normal;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-medium-webfont.woff2");
}

/** Semi Bold */
@font-face {
    font-family: "San Francisco";
    font-weight: 500;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-semibold-webfont.woff2");
}

/** Bold */
@font-face {
    font-family: "San Francisco";
    font-weight: bold;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff2");
}
*{
    height: 100%;
    width: 100%;
    margin:0;
    padding:0;
}
html, body{
    min-height:100%;
    width:100%;
    padding:0;
    margin:0;
    background-color: whitesmoke;
    font-family:'San Francisco';
    font-weight:200;
    overflow-x: hidden;
}
body{
    background-image: url("../res/img/pritschitzold.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
header{
    height:auto;
}
header h1{
    text-shadow: 0px 0px 10px rgba(245, 245, 245, 0.8);
    font-size:4em;
font-weight: 300;
    padding-top:0.5em;
    padding-bottom:0.5em;
    padding-left:1em;
}
header h1 a{
    text-decoration: none;
    color: black;
}
.collapse-menu, #inputtogglemenu{
    display: none;
}
@media screen and (max-width: 800px) {

    #togglemenu{
        height:60px;
        position:absolute;
        top:0;
        right:0;
        width:auto;
        z-index: 100;
    }
    #togglemenu:focus ~ #nav {
        display: block;
    }

    .collapse-menu{
        font-size: 31px;
        display:block;
        height:60px;
        position:absolute;
        top:0;
        right:0;
        width:auto;
    }
    .collapse-menu + input{
        display:none;
    }
    .collapse-menu + input + #nav{
        display:none;
    }
    .collapse-menu+ input:checked + #nav{
        display:block;
    }
}
nav{
    font-size: 1.5em;
    height:2em;
    position:relative;
}
nav ul{
    border-top: 1px solid lightgray;
}
nav ul li{
    width:10em;
    float:left;
    position: relative;
    list-style: none;
    padding-top: 0.75em;
    //text-shadow: 0px 0px 23px rgba(245, 245, 245, 1);

}
nav ul li a{
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
    text-decoration: none;
    color: whitesmoke;
    padding-left:1em;

}
nav ul li a:hover{
    color: black;
}

section{
    border-top: 1px solid lightgray;
    display: flex;
    flex-wrap: wrap;
    align-items:stretch;

    text-align:center;
}

.article-link{
    text-decoration: none;
    color:black;
   // flex-basis: 25%; /* default auto */
    margin:2em;
    flex-grow: 1;
    min-width:9em;
    width:25%;
    padding:1em;

    height:auto;
    background-color: rgba(245,245,245,0.5);
    position:relative;
    float:left;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.article-link:nth-of-type(2n+0) {
    background-color: rgba(10,10,10,0.3);
    color:whitesmoke;
}
article{
    position:relative;
}
article *{
    height: auto;
}
article h1{

}
article p{
    text-align: justify;
    margin-bottom: 2em;
}
article img{
    height:auto;
    max-height:10em;
    width:auto;
    max-width: 100%;
}
article footer a{
    height:auto;
    position: absolute;
    bottom:0;
}
.article-link:hover{
    cursor:pointer;
    -ms-transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

form{
    height:auto;
}
input{
    border:none;
    height:2.5em;
    margin:0.2em;
    width:30%;
    min-width:10em;
    font-size:1.5em;
    background-color: rgba(245,245,245,0.4);
}
textarea{
    height:10em;
    border:none;
    margin:0.2em;
    font-size:1.5em;
    width:30%;
    min-width:12.2em;
    background-color: rgba(245,245,245,0.6);
}
form img{
    height:10em;
    width:auto;
}
.checkbox{
    width:auto;
    height:auto;
}


/*
** Login
*/
.all{

    text-align:center;

}
.all form#login{

}
#section_id{

}
#login input{
    border:none;
    height:2.5em;
    margin:0.2em;
    width:30%;
    min-width:10em;
    font-size:1.5em;
    background-color: rgba(245,245,245,0.2);
}
#submit_login{
    background-color: rgba(0,245,150,0.2);
}
#meldung{
    background-color: rgba(245,245,245,0.2);
    text-align: center;
    height:auto;
    font-size: 2em;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.75);
    position: relative;
}
.error{
    color:#E51212;
}
#togglemeldung{
    height:2em;
    position:absolute;
    top:0;
    right:1em;
    width:auto;
    z-index: 100;
}
#togglemeldung:focus ~ #meldung {
    display: block;
}

.collapse-meldung{
    height: 2em;
    display:block;
    position:absolute;
    top:0;
    right:0;
    width:auto;
}
.collapse-meldung + input{
    display:none;
}
.collapse-meldung + input + #meldung{
    display:block;
}
.collapse-meldung+ input:checked + #meldung{
    display:none;
}
