/* Hlavní */
html {
    height: 100%;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

:root {
    --font-color: #ffffff;
    --content-container-bg: #063b6b;
    --heading-color: #f1f1f1;
    --menu-bg: #162447be;
    --menu-a: #fffafa;
    --menu-a-hover: #0073ff;
    --menu-a-highlight: #0073ff;
    --a: #00aaff;
    --a-hover: #66ccff;
    --tdprvni: #010038;
    --table-border: #ffffff;
    --intro-h1: #00aaff;
}

body {
    height: 100%;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(#1a1a2e, #1f69c4);
    color: var(--font-color);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    color: var(--a);
    text-decoration: none;
    font-weight: bolder;
    scroll-margin-top: 50px;
}

a:hover {
    color: var(--a-hover);
}

h2 a{
    font-size: small;
}

#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    float: initial;
}


/* Banner */
#banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1235px;
    margin: 0 0 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

}

#banner img {
    width: 1235px;
    height: auto;
    margin: 0px;
    border-radius: 8px;
}


/* Menu */
#menu {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--menu-bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: x-large;
    max-height: 100px;
    line-height: 100px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    padding-right: 1000px;
}

#menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0px 0;
    margin: 0;
}

#menu li {
    margin: 0 10px;
    white-space: nowrap;
}

#menu a {
    color: var(--menu-a);
    font-weight: bolder;
}

#menu a:hover {
    color: var(--menu-a-highlight);
}

#menu li.highlight a {
    font-weight: bold;
    color: var(--menu-a-highlight);
    border-bottom: 2px solid var(--menu-a-highlight);
}

#menu #navlogo {
    height: fit-content;
    transition: all 0.5s ease-in-out;
    padding: 0;
    margin: 0;
}


/* Obsah */
#content {
    width: 1200px;
    background: var(--content-container-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.intro {
    float: left;
    width: 60%;
}

.intro h1 {
    font-size: 2em;
    color: var(--intro-h1);
}

.intro p {
    font-size: 1.2em;
    margin: 10px 0;
}


/* Obrázky */
#img {
    float: left;
    height: 300px;
    background: url('img/obrazek.jpg') no-repeat center;
    background-size: cover;
    border-radius: 8px;
    margin-top: 40px;
    margin-left: 40px;
    margin-bottom: 20px;
    transition: 0.5s;
}

#img img {
    border: 1px solid #000;
    border-radius: 8px;
    height: 300px;
    width: 420px;
}


/* Footer */
#copy {
    margin-top: 20px;
    padding-bottom: 20px;
    font-size: 0.9em;
    text-align: center;
    color: var(--font-color);
    font-weight: bolder;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.margin {
    margin-left: 150px;
}

.cistic {
    clear: both;
}


/* Tabulka */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table,
th,
td {
    border: 1px solid var(--table-border);
}

table th,
table td {
    padding: 8px;
    text-align: left;
}

table tr:nth-child(even) {
    background-color: #0258da;
}

table tr:hover {
    background-color: var(--tdprvni);
}

.tdprvni {
    font-weight: bold;
    background-color: var(--tdprvni);
}