/* CSS für alle Shidigital Seiten */

/* breakpoints 
 --> 600px, 900px, 1200px, and maybe 1800px
*/

/* Normalize */

* {
    margin: 0;
    padding: 0;
}




/* ALGEMEIN */

body {
    font-size: 1.05em;
    font-family: "Open Sans", sans-serif;
    background: #f9f9f9;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
}

.textlink {
    color: #2786EA;
}

.textlink:hover {
    text-decoration: underline;
    color: #FFB342;
}

hr {
    margin: 10px 0;
    border: 1px dashed #4C9CF1;
}

h1, h2, h3 {
    font-family: 'Averia Serif Libre', cursive;
    text-align: center;
    color: #2262AD;
}

h4 {
    color: #2262AD;  
}


/* HEADER */

header {
    width: 100%;
    height: 1.5em;
    padding: 1em 0;
    border-bottom: 4px solid #4C9CF1;
    z-index: 100;
    text-align: center;
    margin-bottom: 10px;
}

#logo {
    font-family: 'Averia Serif Libre', cursive;
    font-weight: bold;
    font-size: 1.5em;
    letter-spacing: 1.6px;
    color: #2262AD;
    
    margin-top: -6px;
    padding: 2px;
    width: 25%;
    float: left;   
}

#logo span {
    color: #f9f9f9;
    background: #2262AD;
    font-size: 110%;
    padding: 3px 6px;
}

nav {
    width: 60%;
    float: right;
    margin-right: 30px;
}

nav ul {
    list-style: none;
    width: 100%;
    margin: 0 auto;
}
    
.menulink {
    width: 25%;
    font-size: 110%;
    margin: 0 10px;
    
    float: left;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    
    color: #4C9CF1;
    font-weight: bold; 
    border: 1px dotted #4C9CF1;
    border-radius: 20px;    
}

    
.menulink:hover, :focus {
      color: #f9f9f9;
      background: #4C9CF1;
      border-top: 1px solid powderblue;
      border-bottom: 1px solid #2262AD;
}
  
.current {
    color: #2262AD;
}
  
#menu-icon {
    display: hidden;
    width: 40px;
    height: 40px;
    background: #4C9CF1 url(../img/menu-icon.png) center;
}

@media only screen and (max-width: 1000px) {
    
    #menu-icon {
        display: inline-block;
        float: right;
        margin-right: 20px;
        margin-top: -5px;
    }
    
    #menu-icon:hover {
        background-color: #4C9CF1; 
    }
    
    nav ul, nav:active ul {
        display: none;
        position: absolute;
        padding: 20px;
        right: 20px;
        top: 60px;
        width: 50%;
        background: #f9f9f9;
        border: 2px solid #4C9CF1;
    }
    
    .menulink {
        text-align: center;
        width: 100%;
        padding: 10px 0;
        margin: 5px;
    }
    
    nav:hover ul {
        display: block;
    }
}


/* FOOTER */

footer {
    width: 100%;
    height: 8em;
    clear: both;
    margin-bottom: 0;
    margin-top: 10px;
}

.foot {
   width: 100%;
   margin: 0 auto;
   padding-left: 100px;
   clear: both;
   
   border-top: 4px solid #4C9CF1;
}

.end {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    height: 2em;
    border-top: 2px solid #4C9CF1;
}

.footer{
    float: left;
    width: 25%;
    height: 8em;
    margin-left: 20px;
    text-align: left;
    padding: 30px 20px;  
}

.footer ul {
    list-style-type: none;
}

.footer a {
    color: black;
    margin: 14px;
    padding: 2px;
    font-size: 14px;
}

.footer a:hover {
    background: #4C9CF1;
    color: #f9f9f9;
    font-weight: bold;
}


@media only screen and (max-width: 1000px) {
    .footer{
        width: 80%;
        margin: 0 auto;
        padding: 10px;
    }
}