* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

header {
    margin-bottom: 20px;
}

header h1 {
    font-size: 2em;
    color: #f15922;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-left: 10px;
}

nav ul li a {
    color: #f15922;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
}

nav ul li a:hover {
    background-color: #ff4400;
    color: white;
}

main {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    padding: 10px 20px;
    background: #f15922;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background: #ff4400;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 5%;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.image-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Přidáno pro vertikální centrování */
    width: 100%;
    height: 100%; /* Přidáno pro vertikální centrování */
    text-align: center;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* Přidáno pro horizontální centrování */
}

.carousel-item p {
    margin-top: 10px;
    font-size: 1em;
    color: #333;
    text-align: center; /* Přidáno pro centrování textu */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
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;
}

