html {
    background-color: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
}

.logo img {
    width: 200px;
    height: auto;
}

/* Navigačné menu */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007BFF;
}

/* Hlavička */
header {
    text-align: center;
    padding: 20px;
}

header h1 {
    color: #333;
}

header h2 {
    font-size: 1.5em;
    color: #666;
    font-weight: normal;
}

/* Hlavný obsah */
main {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sekcie */
section, article, aside {
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

section h3, article h3, aside h3 {
    color: #007BFF;
    margin-bottom: 10px;
}

section p, section ul, article p, aside dl {
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 5px;
}


/* Definičný zoznam */
dl {
    margin: 10px 0;
}

dt {
    font-weight: bold;
    color: #333;
}

dd {
    margin-left: 20px;
    color: #666;
}

/* Odkazy */
a {
    text-decoration: none;
    color: #007BFF;
    display: inline-block;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Footer */
footer {
    margin: 20px;
}

footer a {
    color: #333;
    font-weight: bold;
}

footer a:hover {
    color: #007BFF;
}

footer p {
    text-align: center;
}

/* Tabulka */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007BFF;
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

td img {
    width: 50px;
    transition: all 0.3s;
}

td img:hover {
    width: 100px;
    border-radius: 30px;
    float: left;
    margin: 20px;
    padding: 10px;
    border: 5px solid #007BFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
