@media (max-width: 460px) {
    body {
        margin-top: 40px;
    }
    .container-header {
        display: flex;
        flex-direction: column;
    }

    .logo {
        margin: auto;
    }

    .nav {
        margin: auto;
        padding-top: 10px;
    }

    /* .additional-nav {
        gap: 5px !important;
    }

    .additional-nav a {
        font-size: 18px !important;
    } */

    .video-background {
        height: 40vh !important;
    }

    .video-background video {
        width: 150% !important;
    }

    p {
        text-align: center !important;
    }
}

@media (max-width: 792px) {

    .content-row,
    .content-row-reverse {
        flex-direction: column;
        justify-content: center;
    }

    .content-row .image,
    .content-row-reverse .image {
        order: 1;
    }

    .content-row .text,
    .content-row-reverse .text {
        order: 0;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    padding-top: 50px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #e2ccbe;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background-color: #4CAF50;
    color: #ffffff;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    width: 150px;
    height: auto;
    max-width: 100%;
    align-self: flex-start;
}

.nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
}

.nav a:hover {
    text-decoration: underline;
}

/* Body */
.section {
    margin: 40px 0;
}

.section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
/* Video pozadí */

.video-background {
    position: relative;
    overflow: hidden;
    height: 65vh;
}

.video-background video {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 195%;
    height: 200%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.video-background::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

/* Logo na videu */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.8;
}

.centered-logo {
    max-width: 100%;
    height: auto;
}

/* Nav pod logem */
/* .additional-nav {
    position: absolute;
    top: 60%; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 2;
}

.additional-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 25px;
    transition: 0.3s;
}

.additional-nav a:hover {
    color: #4CAF50;
    transition: 0.3s;
} */

/* Formátování */
.content-row {
    padding: 10px;
}

.content-row-reverse {
    padding: 10px;
}

.content-row-reverse img {
    display: flex;
    align-self: flex-end;
}

.content-row-reverse p,
.content-row-reverse h3 {
    padding-right: 10%;
    padding-left: 10%;
}

.content-row p,
.content-row h3 {
    padding-left: 10%;
    padding-right: 10%;
}

.content-row,
.content-row-reverse {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 5px;
}

.text {
    flex: 1;

}

.image {
    flex: 1;
}

h3 {
    color: #4CAF50;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
}

p {
    text-align: justify;
    padding-top: 10px;
}

.image img {
    width: 100%;
    height: 100%;
}

.image-row img {
    padding-top: 5px;
}

/* Kontaktní formulář */
/* .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.contact-form button {
    padding: 12px;
    background-color: #4CAF50;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #04d60b;
} */