/* Reset základních stylů */
body, h1, h2, h3, p, ul, table {
    margin: 0;
    padding: 0;
}

/* Styl pro tělo stránky */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Styl pro hlavičku */
header {
    background: #35424a;
    color: #ffffff;
    padding: 5px 0;
    text-align: center;
}

/* Styl pro navigaci */
nav ul {
    list-style: none;
    background: #35424a;
    overflow: hidden;
    color: #ffffff;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    display: inline-block;
}

/* Styl pro hlavní obsah */
main {
    padding: 0px;
}

/* Styl pro sekce */
section {
    margin: 20px 0;
    display: grid; 
    place-items: center;
}

/* Styl pro tabulku */
table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin: 10px 0;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 5px;
    text-align: left;
    text-align: center;
    border: 1px solid #ccc;

    max-width: 250px; /* Nastavte šířku buňky */
    white-space: nowrap; /* Zakáže zalamování textu */
    overflow: hidden; /* Skryje text, který přesahuje */
    text-overflow: ellipsis; /* Přidá trojtečku na konci textu */
}

/* Styl pro tlačítka */
button {
    background-color: #35424a;
    color: white;
    border: none;
    padding: 10px 10px;
    cursor: pointer;
}

.disabled-button {
    background-color: #d3d3d3;  /* Šedé pozadí */
    color: #a9a9a9;             /* Světle šedý text */
    border: 1px solid #a9a9a9;  /* Šedý okraj */
    cursor: not-allowed;       /* Změna kurzoru na "nepovolený" */
    pointer-events: none;      /* Zakáže interakce s tlačítkem */
}

button:hover {
    background-color: #45a049;
}

/* Styl pro patičku */
footer {
    text-align: center;
    padding: 10px 0;
    background: #35424a;
    color: #ffffff;
    position: fixed;
    width: 100%;
    bottom: 0;
}
