body {
    margin: 0px;
    color: white;
    font-family: sans-serif;
}

header {
    display: flex;
    flex-direction: column;
    background-color: darkblue;
    align-items: center;
}

.top {
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
}

nav {
    display: flex;
    flex-direction: column;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 5px;
}

img {
    width: 100%;
    max-width: max-content;
    border-radius: 12px;
}

section {
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
}

article {
    padding: 15px;
    flex: 1;
}

p {
    text-align: justify;
    line-height: 1.5;
}

.btn {
    background-color: azure;
    padding: 15px;
    border: 2px solid darkblue;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
}

.prvni {
    background-color: darkblue;
    display: flex;
    flex-direction: column;
}

.prvni h1 {
    color: rgb(23, 196, 226);
    font-size: 5rem;
    margin: 0px;
}

.prvni h3 {
    font-size: 1.5rem;
    margin: 0px;
}

.prvni article {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
}

.nadpis {
    display: flex;
    flex-direction: column;
}

.druha {
    color: black;
}

.seda {
    border: 2px solid transparent;
    border-radius: 6px;
    background-color: rgb(213, 220, 226);
}

@media (min-width: 999px) {
    .btn:hover {
        transition: ease 0.3s;
        background-color: aqua;
    }

    section {
        flex-direction: row;
        display: flex;
    }

    .prvni {
        display: flex;
        flex-direction: row;
    }

    .prvni article {
        align-items: first baseline;
    }

    .top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: last baseline;
        padding: 5px 5%;
    }

    nav {
        flex-direction: row;
    }
}