@import url('https://fonts.googleapis.com/css?family=Italianno|Open+Sans:300,300i,400,600,600i,700i');

html {
    background-color: #FFF;
    -webkit-font-smoothing: antialiased;

}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0 auto;
    padding: 0 0 0 0;
    max-width: 100%;
    height: 100%;
    font-size: 1em;
    color: #3d3d3d;
    background-color: #ffffff;
    min-width: 750px;
    display: block;
}

h1 {
    font-weight: 600;
    font-style: italic;
    font-size: 4em;
    display: inline;
}

h2{
    font-family: 'Italianno', cursive;
    loat: left;
    font-size: 8em;
    display: inline;
}

h3{
    font-family: "Lucida Grande", sans-serif;
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    margin-top: 0.0em;
}

h4{
    font-weight: 600;
    display: inline;
}

h5, h6 {
    color: #3d3d3d;  
    font-weight: 600;
    line-height: 1.3em;
}

.logo{
    display: inline-block;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    ms-transform: translate(-50%, -50%); 
    webkit-transform: translate(-50%,-50%); 
    transform: translate(-50%,-50%); 
}

.footer {
    position:fixed;
    bottom: 0px;
    font-size: 0.8em;
    line-height: 1.4em;
    width: 100%;
    padding: 1.4em 1.4em 1.4em 1.4em;
    min-width: 750px;
    display: flex;
}

.box-top{
 
}

.box-left{
    display: inline-block;
    padding-right: 25px;
}

.box-bottom{
    
}

.extra-height{
    margin-top: 2.8em;
    height: 51px;
}

.box-right{
    display: inline-block;
    margin-left: 25px;
    margin-right: 40px;
    flex-grow: 100;
    height: 49px;
    margin-top: 1.4em;
}

.border-extra {
    border-right: 1px solid #3d3d3d; 
    padding-right: 30px;
}

#mm-checkbox{
    display: none;
}

.impressum{
    max-width:0%;
    position: fixed;
    margin-right: 1.8em;
    bottom: 7.0em;
    top: 0;
    border-bottom: solid 1px;
    border-top: solid 1px;
    margin-top: 1.4em;
    padding: 0.7em 0em 0em 0em;
   
    display: block;
    overflow: scroll;
    background-color: rgba(255,255,255,0.7);

    -webkit-transition: all 1000ms cubic-bezier(0.605, 0.055, 0.430, 0.920); 
    -moz-transition: all 1000ms cubic-bezier(0.605, 0.055, 0.430, 0.920); 
    -o-transition: all 1000ms cubic-bezier(0.605, 0.055, 0.430, 0.920); 
    transition: all 1000ms cubic-bezier(0.605, 0.055, 0.430, 0.920); 
}

input[type="checkbox"]:checked ~ .impressum {
    max-width:100%;
     padding: 0.7em 0.7em 0.7em 0.7em;
}

.impressum-btn{
    display: block;
    text-align: center;
    border: solid 1px;
    border-radius: 6px;
    -webkit-filter: 
        drop-shadow( 2px 2px 3px rgba(0,0,0,.5) );
    -ms-filter: 
        drop-shadow( 2px 2px 3px rgba(0,0,0,.5) );
    filter: 
        drop-shadow( 2px 2px 3px rgba(0,0,0,.5) );
   
    transition: all 0.2s;
    webkit-transition: all 0.2s;
    ms-transition: all 0.2s;
    height: 51px;
}


.close-button {
    height: 20px;
    width: 20px;
    box-sizing: border-box;
    position: absolute;
    margin-left: 15px;
    margin-top: 34px;
    
    transition: all 0.25s ease-out;
}

/*.close-button::before, .close-button::after {
        transform: rotate(-45deg);
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
    
        margin-top: 0px;
        margin-left: -12.5px;
        display: block;
        height: 1px;
        width: 25px;
        background-color: #3d3d3d;        
}
*/

input[type="checkbox"]:checked ~ .close-button:before {
    transform: rotate(45deg);
    width: 25px;
    top: 50%;
    left: 50%;
}

input[type="checkbox"]:checked ~ .close-button:after { 
    transform: rotate(-45deg);
    width: 25px;
    top: 50%;
    left: 50%;
}

.close-button::before, .close-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    
    height: 1px;

    
    display: block;
    background-color: #3d3d3d;
    
    transition: all 0.25s ease-out;
}

.close-button:after {
    transform: rotate(-135deg);
    width: 10px;
    left: 19px;
    
    transition: all 0.25s ease-out;
}

.close-button:before{
    transform: rotate(135deg);
    width: 10px;
    left: 12px;
    
    transition: all 0.25s ease-out;
}

.icon{
    width: 51px;
    height: 51px;
    margin-bottom: -4px;
    margin-left: 25px;
    -webkit-filter: 
        drop-shadow( 2px 2px 3px rgba(0,0,0,.5) );
    -ms-filter: 
        drop-shadow( 2px 2px 3px rgba(0,0,0,.5) );
    filter: 
        drop-shadow( 2px 2px 3px rgba(0,0,0,.5) );
   
    transition: all 0.2s;
    webkit-transition: all 0.2s;
    ms-transition: all 0.2s;
}



.icon:hover, .impressum-btn:hover{
    -webkit-filter: 
        drop-shadow( 1px 1px 1px rgba(0,0,0,.7) );
    filter: 
        drop-shadow( 1px 1px 1px rgba(0,0,0,.7) );
}