/* ==========================================================
   ZÁKLAD STRÁNKY
   ========================================================== */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 70px 0 0 0;
    width: 100%;
    min-height: 100vh;
    background-image: url("../img/pozadi.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}


/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #222;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================================
   LOGO
   ========================================================== */
.logo {
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.logo:hover {
    color: #bdbdbd;
}

.logo:hover img {
    filter: brightness(0.8);
}


/* ==========================================================
   HLAVNÍ MENU
   ========================================================== */
.menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    padding: 20px 24px;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-decoration: none;
}

.menu a:hover {
    background-color: #444;
}


/* ==========================================================
   ROLETKA
   ========================================================== */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 0;
    background-color: #333;
    list-style: none;
}

.dropdown-menu a {
    padding: 14px 20px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


/* ==========================================================
   HAMBURGER
   ========================================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* ==========================================================
   NAVBAR – MOBIL
   ========================================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .menu-toggle {
        display: block;
    }
    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 15px;
    }
    .menu.active {
        display: flex;
    }
    .menu li {
        width: 100%;
    }
    .menu a {
        padding: 15px 10px;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        background-color: #333;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}


/* ==========================================================
   HLAVNÍ NADPIS
   ========================================================== */
h1 {
    margin: 0 0 10px;
    text-align: center;
    color: darkorange;
    font-family: "Caacupe One", sans-serif;
    font-size: 52px;
    font-weight: 400;
    font-style: normal;
}


/* ==========================================================
   O MNĚ
   ========================================================== */
.containerAbout {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
}

.containerOMne {
    display: flex;
    align-items: flex-start;
    margin-top: 55px;
    padding: 45px;
    gap: 60px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid black;
    border-radius: 15px;
}

.aboutLeva,
.aboutPrava {
    width: 50%;
}

.containerOMne h2 {
    margin: 0 0 25px;
    text-align: left;
    color: darkorange;
    font-size: 32px;
}

.containerOMne p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   OBSAH – MOBIL
   ========================================================== */
@media (max-width: 768px) {
    .containerOMne {
        width: 100%;
        flex-direction: column;
        margin-top: 30px;
        padding: 25px;
        gap: 20px;
    }
    .aboutLeva,
    .aboutPrava {
        width: 100%;
    }
    .aboutPrava {
        padding-top: 0;
    }
}
