/* Aussehen und Funktionalität von Titel, Menü und Fußzeile. Die Inhalte werden jeweils über separate css-Dateien gesteuert */

/*Definition Farben*/
:root{
    --mint: #88f0d8;
    --hellgrau: #f3f3f3;
    --grau: #999999;
    --schwarz: #000000;
} 
/* Reset */
*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body{
    background-color: var(--hellgrau);
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: scroll;
    overflow-x: auto;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}
h2 {
    font-size: 18px;
    font-weight: bold;
}
h3 {
    font-size: 16px;
    font-weight: bold;
}
h4 {
    font-size: 15px;
    font-weight: bold;
}
p {
    font-size: 13px;
}
a {
    text-decoration: none;
}

/* Titel */
.titel{
    width: 100%;
	background-color: var(--mint);
    position: sticky;
    z-index: 99;
    top: 0px;
    height: 140px;
}

/* Menü */
.header{
    background-color: var(--grau);
    width: 100%;
    position: sticky;
    z-index: 99;
    top: 140px;
    height: 54px;
}

/* Logo */
.logo{ 
    display: inline-block;
    margin-left: 20px;
}

/* Nav menu */
.nav {
    width: fit-content;
    display: inline;
    top: 190px;
    right: 5px;
    position: fixed;
    z-index: 99;
    padding-top: 10px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease-out;
}
/* Aussehen vom kleinen Menü */

.menu {
    list-style: none;
}
.menu a {
    background: var(--grau);
    display: block;
    padding: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--schwarz);
    font-weight: bold;
}
/* Hover vom kleinen Menü */
.menu a:hover {
    background-color: var(--hellgrau);
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 25px 20px;
}
/* Style label tag */
.hamb-line {
    background: var(--schwarz);
    display: block;
    height: 3px;
    position: relative;
    width: 30px;

} /* Style span tag */
.hamb-line::before,
.hamb-line::after{
    background: var(--schwarz);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 8px;
}
.hamb-line::after{
    top: -8px;
}
/* Hide checkbox */
.side-menu {
    display: none;
}

/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

section#content {
    background-color: var(--hellgrau);
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px 35px;
}

.footer {
	clear: both;
    display: flex;
    align-items: center;
    justify-content: center;
	background-color: var(--mint);
    color: var(--schwarz);
    width: 100%;
    height: 35px;
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
}

/* Responsiveness */
@media (min-width: 1240px) { /* bis zu dieser Breite werden die Texte anständig dargestellt*/
    .nav{
        max-height: none;
        top: 0;
        right: 0;
        position: relative;
        float: right;
        background-color: transparent;
        margin-right: 0;
    }
    .menu li {
        float: left;
    }
    .menu a {
        background: var(--grau);
        display: block;
        padding: 25px;
        padding-top: 10px;
        padding-bottom: 10px;
        color: var(--schwarz);
        font-weight: bold;
    }
    .menu a:hover{
        background-color: transparent;
        color: var(--hellgrau);
    }
    .hamb{
        display: none;
    }
}



