
body {
    background-color: #f6edef;
}

/*Der obere grosse Bildbereich vom Beitrag*/
.post_kopf {

    height: 420px;

    /*Bild + dunkler Verlauf damit weisser Text besser lesbar ist*/

    background-size: cover; 
    background-position: center; /*Bild bleibt mittig*/

    display: flex; /*bezieht sich nur auf das direkte kind: kopf_text*/
    /*Text horizontal mittig*/
    justify-content: center;
    /*Text vertikal mittig*/
    align-items: center;
    padding: 50px;
    text-align: center; /*Text mittig ausrichten*/
}

/*Text innerhalb vom bildbereich*/
.post_kopf_text {

    color: white;
    max-width: 650px;
    /*schiebt den Text etwas nach oben*/
    margin-bottom: 60px;
}

/*Das kleine outdoor feld*/
.outdoor_kategorie {

    background-color: #c9ebff;
    color: #1c1e65;
    padding: 8px 14px;
    border-radius: 20px; 
    font-weight: bold;
}

.indoor_kategorie {
    background-color: #ffe0c9;
    color: #65371c;
    padding: 8px 14px;
    border-radius: 20px; 
    font-weight: bold;
}

.post_kopf_text h1 {
    font-size: 56px;
    margin-top: 18px;
    margin-bottom: 10px;
    word-break: break-word;
}

.post_kopf_text p {

    font-size: 20px;
    line-height: 1.5;
}

/*Der Steckbrief unter dem Bild*/
.steckbrief_leiste {

    max-width: 1000px;

    /*negativer margin damit der Steckbrief leicht im Bild "hängt" und auto rechts/links damit mittig*/
    margin: -45px auto 0 auto;
    background-color: white;
    border-radius: 18px;
    padding: 25px;
    display: grid;

    /*4 gleich grosse spalten. 1fr: alle gleich groß*/
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.steckbrief_leiste div {
    
    text-align: center;
}

/*die grünen titel wie licht, pflege usw*/
.steckbrief_leiste strong {

    color: #27651c;
}

.steckbrief_leiste p {

    margin-top: 8px; /*Abstand zum strong*/
}

.post_inhalt {

    width: 100%;

    max-width: 800px;
    margin: 50px auto 70px auto;
    background-color: white;
    padding: 40px;
    border-radius: 18px;
    overflow-wrap: break-word;
}

/*Überschrift im textbereich*/
.post_inhalt h2 {

    color: #27651c;
    margin-bottom: 20px;
    font-size: 32px;
    overflow-wrap: break-word;
}

.kurzbeschreibung {

    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #6d505f;
}

.fließtext{
    font-size: 15px;
}


.post_inhalt p {

    line-height: 1.8;
    margin-bottom: 22px;
}

.favorit_button {
    font-size: 30px;
    border: none;
    background: none;
    cursor: pointer;
}


@media screen and (max-width: 800px) {

    .post_kopf {

        height: 330px;
    }

    .post_kopf_text {

        /*weniger Abstand nach unten auf kleineren Geräten*/
        margin-bottom: 40px;
    }

    .post_kopf_text h1 {

        font-size: 40px;
    }

    .steckbrief_leiste {

        margin: -30px 30px 40px 30px;

        /*nur noch 2 gleichgroße spalten statt 4*/
        grid-template-columns: repeat(2, 1fr);
    }

    .post_inhalt {

        margin: 0 20px 60px 20px;
        padding: 25px;
    }
}

/*Handy Ansicht*/
@media screen and (max-width: 450px) {

 

    .post_kopf_text h1 {

        font-size: 25px;
    }

    .post_kopf_text p {

        font-size: 15px;
    }

    .steckbrief_leiste div {
    font-size: 12px;
    }

    .post_inhalt h2 {

    font-size: 25px;    
    }

    .kurzbeschreibung {
        font-size: 14px;
    }

    .fließtext{
        font-size: 13px;
    }
}