﻿/* --------------------------------------------------
        Allgemeine Grundeinstellungen
 ----------------------------------------------------*/
body {
    font-family: Arial;
    margin: 0;
    padding: 0;
    background-color: grey;
    display: flex; 
    justify-content: center; 
    align-items: center;
}
header {
    background-color: #000e36;
    margin: auto;
}
.header {
    margin: auto;
    display: table;
    text-align: center;
    padding: 20px 0;
    background-color: #000e36;
    font-family: Arial;
    width: 1060px;
}
.displaynone {
    display: none;
}


nav {
    height: 48px;
    background-color: lightblue;
    width: 100%;
    text-align: center;
    display: inline;
}

hr {
    margin-block-start: 0;
    margin-block-end: 0;
}

container {
    background-color: white;
}
.content {
    background-color: white;
    padding: 10px;
}
.content div{
    padding: 10px;
    word-break: normal;
}

button {
    background-color: none;
}

.wrapper {
    width: 1060px;
    font-family: Arial;
}

.dropdown-content {
    position: relative;
    margin-top: 14px;
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    background-color: white;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20%;
    transform: translateX(-50%);
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}


#steuerung {
    float: right;
}

    #steuerung ul {
        margin: 5px 0;
    }

    #steuerung li {
        list-style: none;
        display: inline-grid;
        text-align: center;
    }

    #steuerung a {
        display: block;
        height: 100%;
        width: 100%;
        /*padding: 0.5em;*/
        text-decoration: none; /* keine Unterstreichung */
        color: white; /* Schriftfarbe weiß */
        background-color: gray; /* Hintergrundfarbe grau */
        border-radius: 5px;
    }

        #steuerung a:hover {
            color: black;
            background: orange;
        }

ul {
    padding: 0;
}

.menue-button {
    display: none;
}

.login {
    margin: auto;
    width: 100px;
    border-radius: 8px;
}

button[type=submit]:hover, [type=button]:hover {
    background-image: linear-gradient(to top, #82b6ee 0%, #2b4c71 100% );
    color: white;
    /*
    border-top: 2px solid grey;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    border-left: 2px solid grey;
    */
}

.buttonStyle {
    background-image: linear-gradient(to bottom, #82b6ee 0%, #2b4c71 100%);
    color: white;
    font-size: 11pt;
    font-weight: bold;
    text-align: center;
    width: auto; /*128px;*/
    border-radius: 5px;
    border-top: 2px solid white;
    border-right: 2px solid grey;
    border-bottom: 2px solid grey;
    border-left: 2px solid white;
    margin: 4px 2px;
}

    .buttonStyle:hover {
        background-image: linear-gradient(to top, #82b6ee 0%, #2b4c71 100%);
        color: black;
        border-radius: 5px;
        border-top: 2px solid grey;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        border-left: 2px solid grey;
    }

.buttonActiv {
    background-image: linear-gradient(to top, #82b6ee 0%, #2b4c71 100% );
    color: lightblue;
    font-size: 11pt;
    font-weight: bold;
    text-align: center;
    height: 30px;
    width: auto; /*128px;*/
    border-radius: 5px;
    border-top: 2px solid grey;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    border-left: 2px solid grey;
    margin: 4px 2px;
}

nav .submenu {
    visibility: hidden;
    z-index: 1000;
    display: inline-grid;
    width: min-content;
}

    nav .submenu li {
        display: block;
    }

nav li:hover .submenu,
nav li:active .submenu,
nav li:focus .submenu {
    visibility: visible;
    height: auto;
}

nav li:focus-within .submenu {
    visibility: visible;
    height: auto;
}
/*--------------------------------------------------------*/
@media only screen and ( min-width: 1060px ) {
    .content {
        display: grid;
        grid-template-columns: calc(1060px / 3) calc(1060px / 3) calc(1060px / 3);
       
    }
}
@media only screen and ( max-width: 1060px ) {
    img {
        width: 100%;
        height: auto;
    }

    .header, .wrapper {
        width: 100%;
    }
    .content {
        display: grid;
        grid-template-columns: calc(100% / 2) calc(100% / 2) ;
    }

}

