@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
}

img {
    width: 100%;
    max-width: max-content;
}

header {
    padding: 10px 8%;
    background-color: black;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(49, 49, 49));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header img {
    box-shadow: 0px 0px 0px 8px rgba(192, 192, 192, 0.884);
    position: relative;
    top: 40px;
}

header h1 {
    font-family: 'Comfortaa', Arial, Helvetica, sans-serif;
    color: white;
    font-size: 40px;
}

header a {
    text-decoration: none;
    transition: 0.6s;
}

header h1 strong {
    color: rgb(230, 197, 83);
}

#vrsek {
    display: flex;
    flex-direction: row;
}

ul {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav ul li ul li {
    list-style: none;
    display: none;
}

nav ul li {
    list-style: none;
    position: relative;
    right: 15px;
}

nav a {
    color: white;
    padding: 10px;
    margin: 5px;
}

section {
    padding: 10px 8%;
    text-align: justify;
    display: flex;
    flex-direction: column;
}

article {
    display: flex;
    flex-direction: column;
    padding: 15px;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}

footer {
    background-color: black;
    background-image: linear-gradient(to bottom, rgb(50, 50, 50), rgb(0, 0, 0));
    color: white;
    padding: 3px 6%;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: white;
    transition: 0.4s;
}

footer a:hover {
    color: rgb(230, 197, 83);
    transition: 0.4s;
}

ul.qwer {
    list-style: square;
    display: flex;
    flex-direction: column;
}

table {
    margin: 40px auto 20px auto;
    border-collapse: collapse;
}

th,
td {
    padding: 5px 20px;
    border: 1px solid #C0C0C0;
}

th:first-child,
td:first-child {
    text-align: left;
}

th:last-child,
td:last-child {
    text-align: right;
}

th:nth-child(2),
td:nth-child(2) {
    text-align: left;
}
tr {
    border-bottom: 1px solid #C0C0C0;
}

tr:nth-child(odd) {
    background-color: #E0E0E0;
}

@media (min-width:860px) {
    section {
        flex-direction: row;
    }

    div#flex {
        flex: 2;
    }

    div#mensi {
        flex: 1;
    }

    section.first {
        padding-top: 40px;
    }

    div#hlavni {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header nav {
        text-align: center;
        align-self: flex-end;
        margin-left: 3%;
    }

    nav a:hover {
        color: rgb(230, 197, 83);
    }

    ul.drop {
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: center;
        border-radius: 5px;
    }

    ul.drop li {
        position: relative;
        width: 100%;
    }

    ul li a {
        display: block;
        padding: 20px;
        color: white;
        text-decoration: none;
        text-align: center;
        font-size: 20px;
    }

    ul li:hover ul li {
        color: white;
        display: block;
    }

    ul li ul.drop li {
        display: block;
    }

    ul li ul.drop li a {
        font-size: 15px;
        display: block;
    }

    ul li ul.drop {
        background-color: rgba(63, 63, 63, 0.8);
        transform: scale(0);
        position: absolute;
        display: flex;
        flex-direction: column;
        transition: 0.4s;
    }

    ul li:hover ul.drop {
        transition: 0.4s;
        transform: scale(1);
    }

    a.page {
        background-image: url(../img/icon/eye.png);
        background-position: center top;
        background-size: auto 40%;
        background-repeat: no-repeat;
        transition: 0.6s;
    }

    a.page:hover {
        background-image: url(..//img/icon/eye-y.png);
        transition: 0.6s;
    }

    .flex2 {
        flex: 2;
    }

    .poradi2 {
        order: 2;
    }
}

@media (max-width:860px) {
    header img {
        display: none;
    }
 
    #vrsek {
        display: flex;
        flex-direction: column;
    }

    header h1 {
        text-align: center;
    }

    header ul {
        flex-direction: column;
    }
}