html, html *{
    font: helvetica, sans-serif;
    color: rgb(9, 10, 20);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background: white;
    font-size: 100%;
    margin: 0em;
    padding: 0em;
}
p{
    font-size: 1em;
    line-height: 1.25em;
    text-align: left;
    padding: 1.25;
    margin: 0px;
}

header{
    display: block;
    background: #DCDCDC;
    text-align: center;
    font-size: 1.5em;
    padding: 0.5em;
    color: darkred;
}


/*Messages*/
#message1{
    width: 90%;
    height: 90px;
}
.AdminMessageBox{
    background-color: rgb(248, 238, 225);
    font-family: Helvetica, sans-serif;
    font-size: 13px;
    text-align: left;
    border-radius: 10px;
    border: 5px rgb(248, 238, 225) solid;
    padding-left: 5px;
    padding-right: 5px;
} 
.UserMessageBox{
    background-color: rgb(212, 163, 151);
    font-family: Helvetica, sans-serif;
    font-size: 13px;
    text-align: left;
    border-radius: 10px;
    border: 5px rgb(212, 163, 151) solid;
    padding-left: 5px;
    padding-right: 5px;
} 
.case {
    display:block;
    width: 100%;
    max-width: 1000px;
    padding: 1em 4em 0em 4em;
    margin-left:auto;
    margin-right: auto;
    align-items: center;
}

/*Navigation*/
#nav {
    background:#DCDCDC;
    height: 2em;
    width: 100%;
    text-align: center;   
}
#nav ul li {
    display: inline-block;
    line-height: 1em;
    position: relative;
    padding: 0em 1em 0em 1em;
    background: #DCDCDC;
}
#nav ul li a{
    color: black;
    font-size: 1em;
    float: inherit;
    min-width: 4em;
    cursor: pointer;
}
#nav a.active,a:hover{
    font:darkred;
    font-weight:bolder;
    border-bottom: 0.1em solid darkred;
    transition: .3s;
}
#nav ul li ul{
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transition: 300ms all;
    max-height: 0;
    background: #DCDCDC;
}
#nav ul li:hover > ul{
    max-height: 700px;
}
#nav ul li ul li{
    font-size: 0.9em;
    padding: 0.4em 0em 0.4em 0em;
}
#nav ul li ul li a.active, a:hover{
    font:darkred;
    font-weight:bolder;
    border-bottom: 0.1em solid darkred;
    transition: .3s;
}
#FormButtonsShow {
    display: block;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    transition: 300ms all;
    max-height: 0;
    width: 30em;
    background: #DCDCDC;
}
#FormButtonsShow li {
    font-size: 0.9em;
    padding: 0.4em 0em 0.4em 0em;
    display: block;

}
#FormButtonsShow li a{
    font-size: 0.9em;
}
#FormButtonsShow a.active, a:hover{
    font-size:0.9em;
    color: darkred;
}
.checkbtn{
    font-size: 1.2em;
    color: white;
    float: right;
    line-height: 1.2em;
    margin-right: 10px;
    cursor: pointer;
    display: none;
}
#check {
    display: none;
}

#Auswahl {
    display:block;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    padding: 0em 4em 2em 4em;
}
.jsonBox{
    display:block;
    width: 100%;
    max-width: 1000px;
    min-height: 250px;
    padding: 1.5em 4em 1em 4em;
    margin-left:auto;
    margin-right: auto;
    align-items: center;
}

/*footer*/
footer{
    display: block;
    background: lightgray;
    text-align:center;
    position: fixed;
    bottom:0;
    width: 100%
}
footer ul{
    display:block;
    width: 100%;
    max-width: 980px;
    text-align: center;
    margin: 0px auto;
}
footer ul li{
    display: inline;
    font-size: 0.8em;
    line-height: 2.8em;
    color:white;
    padding: 0em 0.625em 0em 0.625em;
}


@media (max-width:999px){    
    #nav ul li a{
        font-size:0.85em;
    }
}

@media (max-width:700px){
    body{
        font-size: 85%;
    }
    .checkbtn{
        display: block;
    }
    ul:target > ul{
        background-color: red;
    }
    #nav ul{
        position: fixed;
        width: 10em;
        height: 100vh;
        background: rgb(133, 133, 133);
        top: 5.7em;
        left:-100%;
        text-align: center;
        transition: all .3s;       
    }
    #nav ul li{
        display: block;
        margin:50px 0;
        line-height: 30px;
        font: Helvetica, sans-serif;
        font-size: 1em;
        background-color: rgb(133, 133, 133);
    }
    #nav ul li a {
        font-size: 1em;
        color:white;
    }
    #nav a.active,a:hover{
        background: none;
        color: darkred;
    }
    #check:checked~ul{
        left:0;
    }    
    #nav ul li ul{
        transition: all 500ms;
        max-height: 0;
        overflow: hidden;
        float: top;
        left: 10em;
        top: -3.7em;
        background-color: rgb(133, 133, 133);
    }
    #nav ul li ul li {
        line-height: 5px;
    }
    #nav ul li:hover > ul{
        max-height: 500px;
    }
    .jsonBox{
        padding: 1.5em 1em 1em 1em;
    }.case {
        padding: 1em 2em 0em 2em;
    } 
    #message1{
        margin-top: 2em;
    }
    #Auswahl {
        padding: 0em 2em 2em 2em;
    }
}