

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #f15922;
    color: #000;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

header h1 {
    white-space: nowrap;
    font-size: 1.8em;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

nav ul li {
    margin: 5px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li a:hover {
    background-color: #ff0000;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
}

h2 {
    margin-bottom: 20px;
}

.add-button {
    padding: 15px 25px;
    margin-bottom: 20px;
    color: #fff;
    background-color: #f15922;
    text-decoration: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.add-button:hover {
    background-color: #ff0000;
}

.aktuality-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.aktualita {
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    word-break: break-word;
    overflow: hidden;
}

.aktualita-content {
    flex: 1;
}

.aktualita-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.aktualita-header h3 {
    margin: 0;
    word-break: break-word;
}

.aktualita-header span {
    color: #777;
    font-size: 0.9em;
}

.aktualita p {
    margin: 10px 0;
    word-break: break-word;
}

.aktualita-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    white-space: nowrap;
}

.aktualita-actions a {
    color: #f15922;
    text-decoration: none;
    font-size: 0.9em;
}

.aktualita-actions a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a {
    color: #f15922;
    text-decoration: none;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination a.active {
    background-color: #f15922;
    color: #fff;
    border: 1px solid #f15922;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #f15922;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: opacity 0.3s;
}


@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
    }

    .add-button {
        padding: 10px 20px;
    }

    .pagination a {
        padding: 6px 12px;
    }
}
footer {
    text-align: left;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    color: #000;
    width: 100%;
}

footer a {
    color: #000;
    text-decoration: none;
}

.logos-container {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    padding-right: 20px;
}

.logos-container .logo {
    max-width: 150px;
    margin: 0 10px;
}


