@import url('https://fonts.googleapis.com/css2?family=Stalinist+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Genos:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html::-webkit-scrollbar {
    display: none;
}
body {
    margin: 0px;
    text-align: justify;
    font-family: 'Genos', sans-serif;
}
nav a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    font-weight: 430;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 1s;
    margin-bottom: 10px;
}
nav a:hover {
    background-color: white;
    color: black;
    border-radius: 5px; 
    transition: 1s; 
}
header {
    background-image: url('../img/header-mobile.jpg');
    background-size: cover;
    background-position: center center; 
    padding-bottom: 40%;
}
header div {
    padding: 6px 10%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column; 
}
header h1 {
    color: white;
    font-family: 'Stalinist One', cursive;
}
nav {
    display: flex;
    flex-direction: column; 
}
img {
    width: 100%; 
    max-width: max-content; 
}
.doprostred {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stred {
    text-align: center;
}
section {
    display: flex;
    flex-direction: column;
    padding: 20px 5%;
}
article {
    flex: 1;
    padding: 0px 15px;
    margin: 10px;
}
section article p {
    font-family: Arial, Helvetica, sans-serif;
}
section article h1 {
    font-size: 36px;
}
section.home {
    background-color: black;
}
section.home article {
    background-color: white;
    border-radius: 5px;
    padding-bottom: 10px;
    margin: 20px 20px;
}
section.home:last-child {
    margin-top: -40px;
}
section article {
    margin: 1% 10px;
}
section.bila-tr {
    color: black;
    background-color: white;
}
section.cerna-tr {
    color: white;
    background-color: black;
}
section.nadpisy {
    font-size: 25px;
}
section.nadpisy h2 {
    margin-top: 0px;
    margin-bottom: 3%;
}
section.gallery {
    background-color: black;
}
section.gallery article h2 {
    color: white;
    position: relative;
    top: 48px;
    background-color: rgba(0, 0, 0, 0.418);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
section.gallery article {
    display: flex;
    flex-direction: column;
    align-items: center;
}
section.gallery img {
    border-radius: 3px;
}
section.gallery:last-child {
    margin-top: -30px;
}
section.cerna-cn {
    background-color: black;
    color: white;
}
section.cerna-cn h1, section.bila-cn h1 {
    margin: 5px 0px;;
}
section.cerna-cn article img, section.bila-cn article img {
    border-radius: 50%;
}
.cerna-tr article h1, .bila-tr article h1, .home article h1 {
    text-align: center;
}
@media (min-width: 1000px) {
    header {
        background-image: url('../img/header-pc.jpg');
        background-position: center bottom;
        padding-bottom: 40%;
    }
    nav {
        flex-direction: row;
    }
    header div {
        flex-direction: row;
        align-items: baseline; 
        justify-content: space-between;
        position: fixed;
        width: 100%;
        box-sizing: border-box;
    }
    nav a {
        color: white;
        margin: 1px;
    }
    section {
        flex-direction: row;
    }
    section.gallery:last-child {
        margin-top: -90px;
    }
    section.home article {
        background-color: white;
        border-radius: 5px;
        padding-bottom: 10px;
        margin: 0px 20px;
    }
    section.home:last-child {
        margin-top: 0px;
    } 
 }