/*uvod new */



/* Sekce v headeru zůstane viditelná a bez animace */
header section {
    opacity: 1;
    transform: none;
}


.home {
    position: relative;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    /* důležité */
    margin-bottom: 2rem;
}

.home .container {
    justify-content: center;
    align-items: center;
}

.home::before {
    content: "";
    position: absolute;
    /* místo fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url('/graphic/header.jpg') no-repeat center center;
    background-size: cover;

    z-index: -1;
}

.header_back {
    color: var(--primary-color);
    padding: 2em;
    border-radius: 0.3em;

    background-color: rgba(255, 255, 255, 0.6);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    max-width: 610px;
    margin-left: 2em;
}

.header_back h1 {
    color: var(--dark-color);
    padding: 0em 0em 0.1em 0em;
    font-size: 3em;
    text-align: center;
}

.header_back p {
    color: var(--dark-color);
    text-align: center;
}

.citat {
    margin-bottom: 0.5em;
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    /* z pseudo backgroundu uděláme normální blok nahoře */
    .home::before {
        position: relative;
        display: block;
        width: 100%;
        height: 220px;
        z-index: 0;
    }

    .header_back {
        margin: 0;
        padding: 0.5em, 0, 0, 0;
    }

    .header_back h1 {
        padding: 0em;
        font-size: 2em;
        text-align: left;
    }

    .header_back p {
        text-align: left;
        font-size: 1.3em;
    }
}