body{
    margin: 0 auto;
    font-family: Tahoma;
    font-size: 11pt;
    overflow-x: hidden;
}

.headerimg{
    width: 100%;
}

.navpc ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7em;

    list-style: none;
    height: 4em;
}

.navpc a{
    transition: transform 0.5s ease-in-out;
    text-decoration: none;
    color: #275070;
    font-weight: bold;
}

.navpc a:hover{
    cursor: pointer;
    transform: scale(1.2);
    color: #3b79a9;
}

.active{
    background-color: #275070;
    color: white !important;
    padding: 0.5em;
    border-radius: 10px;
}

section{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, minmax(100px, auto));

    border-top: 2px solid #3b79a9;
    background-color: #d1e2ef;
}

section img{
    width: 90%;
    grid-column: 5/6;
    grid-row: 1/2;
    padding: 5em 2em 0 0; 
}

article{
    grid-column: 1/5;
    grid-row: 1/2;

    padding: 1em 0 0 4.5em;
}

.kartesection{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, minmax(10px, auto));
}

.karte{
    grid-column: 2/5;
    grid-row: 1/2;
}

.asidekarte{
    grid-column: 1/2;
    grid-row: 1/4;
}

.karte img{
    width: 25%;
    height: 45%;
    margin-right: 2em;
    transition: transform 1.2s ease-in-out;
}

.karte img:hover{
    transform: scale(1.2);
    cursor: pointer;
}

article h1, article h2{
    color: #275070;
}

article a{
    color: #79a93b;
    text-decoration: none;
}

aside{
    background-color: #3b79a9;
    grid-column: 6/7;
    grid-row: 1/4;
}

aside h1, aside h2{
    color: white;
    text-align: center;
}

footer{
    background-color: #275070;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 12em;
}

footer p{
    color: white;
}

footer a{
    color: #79a93b;
    font-weight: 100 !important;
}

.menu-container{
    display: none;
}

header h1{
    display: none;
}

@media only screen and (max-width: 500px){
    header h1{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    article h1{
        display: none;
    }

    .headerimg{
        display: none;
    }

    nav{
        display: none;
    }

    body {
        margin: 0;
        font-family: Arial, sans-serif;
    }
    
    .menu-container {
        display: block;
        position: relative;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 100;
    }
    
    .bar {
        width: 30px;
        height: 5px;
        background-color: #275070;
        transition: 0.3s;
    }
    
    .side-menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background-color: #3b79a9;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 99;
    }
    
    .side-menu ul {
        list-style-type: none;
        padding: 0;
    }
    
    .side-menu ul li {
        margin: 20px 0;
    }
    
    .side-menu ul li a {
        color: white;
        text-decoration: none;
        font-size: 18px;
    }

    .menu-toggle:checked + .hamburger .bar1 {
        transform: rotate(45deg);
        position: absolute;
        top: 0;
    }
    
    .menu-toggle:checked + .hamburger .bar2 {
        opacity: 0;
    }
    
    .menu-toggle:checked + .hamburger .bar3 {
        transform: rotate(-45deg);
        position: absolute;
        top: 20px;
    }
    
    .menu-toggle:checked ~ .side-menu {
        right: 0;
    }
    
    .active1{
        background-color: #ffffff;
        color: #3b79a9 !important;
        padding: 0.5em;
        border-radius: 10px;
    }

    section{
        display: block;
    }

    .kartesection{
        display: block;
    }

    .karte img{
        margin: auto;
        transition: none;
        margin-top: 2em;
        margin-bottom: 2em;
    }

    .karte img:hover{
        transform: none;
    }

    article{
        padding: 0.5em; 
    }

    article h2{
        display: flex;
        justify-content: center;
        align-items: center; 
    }

    section img{
        padding: 0;
        display: block;
        margin: auto;
        width: 50%;
        margin-bottom: 1em;
    }

    aside{
        min-height: 24em;
        margin: 0;
        padding-top: 1.5em;
    }

    
    footer{
        margin:0;
    }

    article img{
        margin-top: 1em;
        width: 40% !important;
    }
}