/* navbar */

.nav ul{
    display: inline;
    background-color: rgb(61, 57, 108);
    list-style: none;
    padding: 16px;
    text-align: center;
    border-radius: .5cm;
    padding-left: 0;
    padding-right: 0;
    font-size: 20px;
}


.nav li{
    display: inline-flex;
    margin-top: 10px;
}

.nav li a{
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

.nav li a:hover:not(.active){
    background-color: rgb(32, 100, 76);
    padding: 16px;
    border-radius: .5cm;
    transition: .3s;
}

.nav li a.active{
    background-color: rgb(32, 100, 76);
    border-radius: .5cm;
}

.nav{
    margin-right: auto;
    margin-left: auto;
    width: fit-content;
    font-weight: 600;
}

/* end navbar */

@media only screen and (max-width: 600px){
    .nav{
        display: inline-flex;
        width: 100%;
    }

    .nav ul{
        display: inline;
        padding: 0;
        top: 0;
        font-size: 14px;
        width: 100%;
        margin: 0;
        margin-right: 5px;
        border-radius: 0;
        border-bottom: 1px solid black;
    }

    .nav li{
        margin-top: auto;
    }

    .nav li a.active{
        border-radius: 0;
    }

    .nav li a:hover:not(.active){
        background-color: rgb(61, 57, 108);
    }

    .logo{
        margin-top: 35px;
        max-width: 350px;
    }

    .box_zeiten{
        display: flex;
    }

    article{
        background-color: rgb(32, 100, 76);
        border-radius: .5cm;
        color: white;
        list-style: circle;
        width: 90vw;
        margin-inline: auto;
    }

    .abereich_boxen{
        display: table;
        margin-left: auto;
        margin-right: auto;
    }

    .containerZeiten{
        background-color: rgb(32, 100, 76);
        border-radius: .5cm;
        display: grid;
        grid-row: 1;
    }
    
    .table tr{
        font-size: 16px;
    }

    .adresse{
        display: none;
        font-size: 14px;
    }

    .email-left{
        display: none;
    }

    .email-right{
        display: none;
    }
}

body{
    color: white;
    font-size: max(18px, calc(.1rem + 1vw));
    text-shadow:  2px 2px 5px black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow-x: hidden;
}


.hgbild{
    background-image: linear-gradient(rgba(176, 176, 176, 0.5), rgba(175, 175, 175, 0.5)), url(/Medien/HG.png);
    background-size: cover;
    margin: -10px;
}

.textUlogo{
    text-align: center;
    text-shadow: rgb(0, 0, 0) 1px 1px 5px;
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    color: white;
}

#containertable{
    background-color: rgb(32, 100, 76);
    border-radius: 0.5cm;
    margin-inline: auto;
    width: max-content;
}

.table table{
    margin-inline: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;

}

.table th{
    text-align: left;
    padding-inline: 1rem;
}

.table td{
    text-align: center;
    padding-inline: 1rem;
}

h1{
    text-align: center;
    font-size: 22px;
    margin: 0;
}

h2{
    text-align: center;
    padding-top: 10px;
}

h3{
    font-size: calc(1rem + 1vw);
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

article{
    background-color: rgb(32, 100, 76);
    border-radius: .5cm;
    width: min(1200px, 80%);
    margin-inline: auto;
    padding: 1rem;
}


.headline h2{
    text-align: center;
    font-size: calc(2rem + 1vw);
    font-weight: 600;
    color: rgb(61, 57, 108);
    border-radius: .5cm;
    width: max-content;
    font-style: oblique;
    text-transform: uppercase;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: white 2px 2px 3px;
    text-shadow: none;
}

.headline p{
    background-color: rgb(32, 100, 76);
    margin-inline: auto;
    font-size: 24px;
    width: max-content;
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
}

.logo{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1cm;
    padding-bottom: .5cm;
    
}

.infobox{
    background-color: rgb(32, 100, 76);
    border-radius: 1rem;
    margin-inline: auto;
    width: min(1200px, 80%);
    padding-inline: 1rem;
    padding-top: .1rem;
    padding-bottom: .1rem;
    text-align: center;
}

.adresszeile{
    display: flex;
    height: 500px;
    width: min(800px, 80%);
    margin-inline: auto;
    border-radius: .5cm;
}

.adresse{
    display: block;
    background-color: rgb(32, 100, 76);
    text-align: center;
    font-size: calc(.8rem + 1vw);
    border-radius: .5cm;
    margin-inline: auto;
    width: min(800px, 80%);
    padding: 1rem;
}


/* Personal */

.container-personal{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: rgb(32, 100, 76);
    border-radius: 1rem;
    margin-inline: auto;
    width: min(1500px, 90%);
    padding: 1rem;
    padding-top: 3rem;
    text-align: center;
}

.container-personal img{
    width: min(450px, 100%)
}

.container-personal h3{
    font-size: calc(1rem + 1vw);
}

.container-personal p{
    padding-bottom: 5%;
    font-size: calc(.8rem + 1vw);
}

.container-mitarbeiter{
    padding-bottom: 3rem;
    padding-inline: .5rem;
}

.email-left{
    width: 100%;
    margin-top: -3rem;
    overflow: hidden;
}

.email-left p{
    animation: 3s email 1s forwards;
    transform: translateX(-100%);
}

@keyframes email{
    to{
        transform:translateX(0);
    }
}

.email-right{
    width: 100%;
    margin-top: -3rem;
    overflow: hidden;
}

.email-right p{
    animation: 3s email 1s forwards;
    transform: translateX(100%);
}

.fa{
    padding: 10px;
    font-size: 25px;
    text-align: center;
    width: 35px;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: .5cm;
}

.fa:hover{
    opacity: 0.7;
}

.fa-instagram{
    background: #bb0099;
    color: white;
    
}


/* Grüne Box, Text rechts, Bild links */

.containerGeschichtegreen{
    background-color: rgb(32, 100, 76);
    display: grid;
    grid-template-columns: 650px 1fr 300px;
    justify-content: space-evenly;
    border-radius: .5cm;
}

.containerGeschichtegreen img{
    width: 650px;
}

.h3rechts h3{
    font-size: calc(1rem + 3vw);
    margin: 0;
    padding-right: 2rem;
    padding-top: 1rem;
    float: right;
}

.untertext{
    font-size: calc(1rem + 1vw);
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}



/* Blaue Box, Text links, Bild rechts */

.containerGeschichteblue{
    background-color: rgb(61, 57, 108);
    display: grid;
    grid-template-columns: 300px 1fr 600px;
    width: 100%;
    justify-content: space-evenly;
    border-radius: .5cm;
}

.h3links h3{
    font-size: 80px;
    margin: 0;
    padding-left: 2rem;
    float: left;
    padding-top: 1rem;
}

/* Ende Geschichte */

a:link{
    color: orange;
    text-decoration: underline;
}

a:visited{
    color: orange;
    text-decoration: underline;
}

a:hover{
    color: yellow;
}

a:active{
    color: yellow;
}

/* Footer */

footer{
    font-size: 11px;
    color: white;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 1px;
    background-color: rgb(61, 57, 108);
    color: white;
}

