body {
    background-color: black;
    
}



header {
    background-size: 100% auto;
    /* šířka 100% headeru, výška automaticky v poměru k šířce */
    background-repeat: no-repeat;
    /* neopakovat obrázek ve zbytku headeru */
    background-position: left bottom;
    /* umístění dolů */
    background-color: black;
    /* zbytek headeru vyplněn barvou - zvolte vhodnou barvu podle horní plochy obrázku */
    padding: 0px;
    display: flex;
    margin: 0px;
    background-color: #353044;
    color: white;
    background-image: linear-gradient(rgba(5, 8, 11, 0.8)), url(css/pozadi2_1920.jpg);
    padding-bottom: 40%;
    background-position: left top;
    background-size: cover;

}

img {
    width: 100%;
    max-width: max-content;
}



.top {
    position: fixed;
    width: 100%;
    /* roztažení do celé šířky - fixed nastaví minimální šířku */
    box-sizing: border-box;
    /* šířka 100% se započtením paddingu, případně rámečku */
    padding: 5px 5%;
    display: flex;
    flex-direction: column;
    background-color: black;
}

header h1 {
    color: white;
    margin: 0px;
}

nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

nav a {
    color: white;
    margin: 5px;
    text-decoration: none;
    padding: 5px 5px;
}

article {
    display: flex;
    flex-direction: column;
    padding: 15px 5%;
    flex: 1;
    color: black;
}
.stred h1{
    margin: 1px;
}
.stred {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-cerny{
    color: white;
}
section {
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
}

.bila {
    background-color: white;
    color: black;
    margin: 5px;
}

.v-obrazku{
    justify-content: center;
    color: white;
    position: relative;
    top: 40px;
    display: flex;
    padding: 5px;
    background-color: #353044;
}
.obrazek {
    text-align: center;
    display: flex;
    align-items: center;
}

.cerna article img{
    border-radius: 50%;!important
}

.bila article img{
    border-radius: 50%;!important
}




































































@media (max-width: 640px) {
    header {
        background-image: url(img/rauschenberger-transport-3209864_640.jpg);
    }
}

@media (min-width: 640px) and (max-width: 1280px) {
    header {
        background-image: url(img/rauschenberger-transport-3209864_1280.jpg);
    }
}

@media (min-width: 1280px) {
    header {
        background-image: url(img/rauschenberger-transport-3209864_1920.jpg);
    }

    .top {
        display: flex;
        flex-direction: row;
        align-items: last baseline;
        justify-content: space-between;

    }

    nav {
        flex-direction: row;
    }

    nav a {
        background-color: transparent;
        color: white;
    }

    section{
        flex-direction: row;
    }
    article {
        padding: 2px 2%;
    }

}


