/* KONTAKT */

/* nav */

nav {
    background: #3D5890;
    height: 55px;
    margin: -8px -8px 0px;
}

nav ul {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    height: 30px;
    margin-top: -9px;
    padding: 0 5px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a h1 {
    font-size: 25px;
    border: medium solid white;
    border-radius: 9px;
    padding: 2px 4px;
}

[aria-current="page"] h1 {
    color: #3D5790;
    background-color: white;
}

nav ul li:hover:not(:has(a[aria-current="page"])) {
    margin-top: -13px;
}

nav ul li:hover a:not([aria-current="page"]) h1 {
    font-size: 29px;
}

/*body*/

body {
    background-color: white;
}

main div.p {
    margin: 50px auto 0;
    width: 75%;
    justify-content: center;
}

main div.p h2 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 20px;
    text-decoration: underline;
}

main div.p p {
    text-align: center;
    font-size: 25px;
    margin-top: 0;
}

main a {
    color: #656D40;
}

/*footer*/

footer div {
    background-color: #3D5790;
    display: flex;
    flex-direction: column;
    margin: 0px -8px -8px;
    height: fit-content;
    align-items: center;
}

footer div ul {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    width: 335px;
    justify-content: center;
}

footer div ul li {
    list-style: none;
    margin: 0px auto;
}

footer div ul li a {
    text-decoration: none;
    color: white;
}

footer div ul li a h2 {
    font-size: 18px;
    font-weight: lighter;
    font-family: Arial, Helvetica, sans-serif;
    margin: 30px 0;
}

footer div ul li a:hover {
    text-decoration: underline;
}

footer div h1 {
    width: fit-content;
    margin: 0;
    margin-bottom: 30px;
    color: white;
    font-size: 18px;
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
}