:root {
    --blue: rgba(13, 40, 128, 1);
    --blue_low_opacity: rgba(13, 40, 128, 0.8);
}

* {
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: grey;
    margin: 0;
    padding: 0;
}

body {
    margin: 0px 10px;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.logo {
    flex: 1;
}

.nav_links {
    list-style: none;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

.nav_links li {
    gap: 15px;
}

.nav_links li a {
    display: block;
    box-sizing: border-box;
    height: 40px;
    padding: 10px 10px 0px 10px;
}

.nav_links li a:hover,
.aktiver_menuelink {
    color: var(--blue);
    border-bottom-style: solid;
    border-bottom-width: 5px;
    border-bottom-color: var(--blue);
}

main {
    margin-top: 20px;
}

.markers {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.marker,
.mini_marker {
    background-color: var(--blue_low_opacity);
    color: white;
    margin-bottom: 10px;
    padding: 3px;

    line-height: 150%;
}

.marker {
    font-size: 22px;
}

.mini_marker {
    background-color: #00004d;
}

.teaser {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.grosse_nachricht,
.grosse_nachricht_vertikal,
.kleine_nachricht {
    box-sizing: border-box;
    height: 70vw;
    margin-bottom: 10px;
    position: relative;
}

.grosse_nachricht h2,
.kleine_nachricht h2,
.grosse_nachricht_vertikal h2 {
    margin: 5px 0 10px 0;
}


footer {
    margin-top: 10px;
    background-color: var(--blue);
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer div p,
footer div a {
    color: white;
}

footer div a {
    text-decoration: 1px solid underline white;
}

footer div a:hover {
    color: grey;
    text-decoration: 1px solid underline grey;
}

.login_form {
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 40%;
}

.login_form label {
    font-size: 30px;
}

.login_form input {
    height: 30px;
    color: var(--blue);
    box-sizing: border-box;
    padding-left: 5px;
}

.login_form button {
    margin-top: 10px;
    border: 2px solid var(--blue);
    padding: 10px;
    background-color: white;
    color: var(--blue)
}

.login_form button:hover {
    background-color: var(--blue);
    color: white;
    border-color: white;
    cursor: pointer;
}

.body_login {
    margin: 0px 10px;
}

html,
body {
    height: 100%;
}

.login_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.counter_div {
    margin-bottom: 50px;
}

@media(min-width: 768px) {
    .grid {
        display: grid;
        grid-template-columns: 49% 49%;
        grid-auto-rows: 50vw;
        grid-gap: 10px;
    }

    .grosse_nachricht,
    .grosse_nachricht_vertikal,
    .kleine_nachricht {
        margin-bottom: 0;
        height: auto;
    }

    .grosse_nachricht {
        grid-column: 1 / 3;
    }

    .grosse_nachricht_vertikal {
        grid-column: 2;
        grid-row: 3 / 5;
    }
}

@media(min-width: 1200px) {
    .grid {
        grid-template-columns: 33% 33% 33%;
        grid-auto-rows: 32vw;
    }

    .grosse_nachricht {
        grid-column: 1 / 3;
    }

    .grosse_nachricht_vertikal {
        grid-column: 3;
        grid-row: 2 / 4;
    }
}