
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #f5f5f5;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

h2 {
    border-bottom: 2px solid #ccc;
    padding-bottom: .5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.half {
    flex: 1 1 48%;
}

iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 1rem;
}

@media (max-width: 768px) {
    .half {
        flex: 1 1 100%;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    height: 70px; /* výška řádku hlavičky */
}

.logo {
    height: 100%;
    object-fit: contain;
    display: block;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0.1rem;
    min-height: 70px;
}


nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

nav ul li a {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav ul li a:hover {
    background-color: #eaeaea;
    color: #000;
}
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-top:hover {
    opacity: 1;
}

.scroll-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fullwidth-center {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

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

nav ul li a:hover {
    color: #333;
}

nav ul li a:visited {
    color: #333; 
}

nav ul li a:active {
    color: #333;
}

footer {
    background-color: #f5f5f5;
    color: #555;
    text-align: center;
    padding: 0.1rem;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

footer a {
    color: inherit;
    text-decoration: underline;
}

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