* {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: grey;
    font-size: 16px;

    text-decoration: none;
}

header{
display: flex;
align-items: center;
}

.logo{
    flex: 1;
}

.nav_links{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    
    list-style: none;
}

.nav_links li a {
    display: block;
    box-sizing: border-box;
    height: 40px;
    padding: 10px 15px 0px 15px;
}

.nav_links li a:hover, .aktiver_menulink{
    color:var(--blue);
    border-bottom-style: solid;
    border-bottom-width: 5px;
    border-bottom-color:var(--blue);
}

:root{
    --blue: rgb(13,40,128);
    --blue_low_opacity: rgba(13,40,128,0.8);
}

.grosse_nachricht, .kleine_nachricht, .grosse_nachricht_vertikal{
    box-sizing:border-box;
    height: 70vm;
    margin-bottom: 10px;
    position: relative;
}

.nachrichtenbild_titelseite {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zwei_ueberschriften {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.marker, .mini_marker{
    background-color: var(--blue_low_opacity);
    color:white;
    padding: 3px;
    line-height: 150%;
}

.marker {
    font-size: 22px;
}

.mini_marker {
    background-color: #00004d;
}

.grosse_nachricht h2, .kleine_nachricht h2, .grosse_nachricht_vertikal h2 {
    margin: 5px 0px 10px 0px;
}

footer{
    width: 100%;
    background-color: var(--blue);
    color: white;
    text-align: center;

    padding-top: 15px;
    padding-bottom: 15px;
}

.container_einzelner_nachricht {
    border: 3px solid #f1f1f1;
    padding: 10px;
    margin-top: 10px;
}

.datum_einzelner_nachricht {
    text-align: right;
    font-size: 13px;
}

.titel_einzelner_nachricht {
    font-size: 30px;
    color: var(--blue);
    margin-top: 10px;

}

.bild_einzelner_nachricht {
    height: 50vm;
    margin-top: 10px;
}

.bild_einzelner_nachricht img {
    margin-top: 10px;
    width: 100%;
    height: 100%;
}

.inhalt_einzelner_nachricht{
    margin-top: 10px;
}

.rechtes_banner{
    display: none;
}

.horizontales_banner{
    height: 30vw;
}

.horizontales_banner img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/*------------Sticky-------------*/
nav{
    position: sticky;
    top: 0;
    background-color: white;

    z-index: 100;
 
}

.rechtes_banner{
    position: sticky;
    top: 0;
}

/*__________Schritt 10 Fotter unten positionieren__________*/
html, body {
    height: 100%;
}

body{
    display: flex;
    flex-direction: column;
}
main{
    flex: 1;
}
/*__________Schritt 10 Fotter unten positionieren__________*/


@media (min-width: 1000px) {
    .alle_nachrichten_uebersicht {
        display: grid;

        grid-template-columns:49% 49%;

        grid-auto-rows:50vm;

        grid-column-gap: 10px;
        grid-row-gap: 10px;

        justify-content: center;
    }   

    .grosse_nachricht{
        height: auto;
    }

    .kleine_nachricht{
        height: auto;
    }

    .grosse_nachricht_vertikal{
        height: auto;
    }

    .nachricht_und_rechter_banner_container{
        display: flex;
        justify-content: center;
    }

    .rechtes_banner{
        display: block;
        margin-left: 10px;
        width: 200px;
        height: 500px;
    }

    .oberstes_banner_und_nachricht{
        box-sizing: border-box;
        width: 750px;
    }
    .bild_einzelner_nachricht{
        height: 500px;
    }

    .grosse_nachricht {
        height: auto;
        grid-column: 1/3;
    }

    .kleine_nachricht {
        height: auto;
    }

    .grosse_nachricht_vertikal {
        height: auto;
        grid-row: 3/5;
    }
    .horizontales_banner{
        height: 200px;
    }
}
      

@media (min-width: 1260px){
    .alle_nachrichten_uebersicht{
        grid-template-columns: 32% 32% 32%;

        grid-auto-rows: 32vw;
    }
    .grosse_nachricht_vertikal{
        grid-column: 3/4;
        grid-row: 2/4;
    }

    body{
        width: 1260px;
        margin: auto;
    }


}