#obsah-pribeh {
    background-color: antiquewhite;
    border-top: solid black;
    padding: 8vh 5vw;
}
.celek {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6vh;
    margin-bottom: 10vh;
}
.pulka {
    flex: 1;
    padding: 0 5%;
}
.pulka.foto img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

}
.pulka.text h1 {
    font-size: 6vh;
    margin-bottom: 3vh;
    line-height: 1.2;
}
.pulka.text p {
    font-size: 2.8vh;
    margin-bottom: 3vh;
    line-height: 1.6;
}
.tucny {
    font-weight: bold;
}
@media screen and (min-width: 1024px)
{
    #obsah-pribeh .celek:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    #obsah-pribeh .celek:nth-of-type(odd) {
        flex-direction: row;
    }
}
@media screen and (max-width: 1024px)
{
    #obsah-pribeh .celek {
        flex-direction: column;
        text-align: center;
        gap: 4vh;
    }
    /* Vždy zobrazit text nad obrázkem */
    #obsah-pribeh .celek .pulka.text {
        order: -1;
    }
    .pulka {
        padding: 0;
    }
    .pulka.foto img {
        max-width: 90%;
        margin: 0 auto;
    }
    .pulka.text h1 {
        font-size: 4.5vh;
        margin-top: 2vh;
    }
    .pulka.text p {
        font-size: 2.5vh;
        padding: 0 5vw;
    }
}