                /* Reset stylů */
                * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: Arial, sans-serif;
        background-image: url("/static/images/Fur2.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        text-align: center;
    }

    .xDD {
        font-size: 50px;
        color: azure;
        margin-top: 20px;
    }

    .logoo {
        width: 300px;
        height: auto;
    }

    h1, h3, h2 {
        margin: 20px 0;
        color: azure;
    }
                /* Hlavní vzhled navbaru */
                .navbar {
    background: #1d1f21;
    padding: 30px 50px;
    height: auto; /* Přizpůsobí výšku obsahu */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative; /* Klíčová změna: není absolutně umístěn */
    z-index: 10;
    backdrop-filter: blur(10px);
    border-radius: 0;
    width: 100%;
}

        
        /* Hlavní vzhled navbaru */
        .navbar {
            background: #1d1f21; /* Tmavší pozadí pro moderní vzhled */
            padding: 30px 50px; /* Zvýšení paddingu pro lepší prostor */
            height: 70px;
            display: flex;
            justify-content: center; /* Udržuje text na střed */
            align-items: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Jemnější stíny pro jemnost */
            position: absolute; /* Změněno na absolute */
            top: 710px; /* Definuje místo, kde navbar začíná (úpravy dle potřeby) */
            left: 0; /* Zajištění, že navbar pokrývá celou šířku */
            right: 0;
            z-index: 999;
            transition: all 0.4s ease-in-out;
            backdrop-filter: blur(10px); /* Rozmazaný efekt pro moderní vzhled */
            border-radius: 0; /* Odstranění zaoblení na krajích */
            width: 100%; /* Zajištění, že navbar bude mít šířku celé obrazovky */
        }
        
        /* Seznam položek navbaru */
        .navbar ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 30px; /* Zvýšený prostor mezi odkazy */
            margin: 0;
        }
        
        /* Položky (odkazy) v navbaru */
        .navbar li {
            display: inline;
        }
        
        /* Odkazy s interaktivními efekty */
        .navbar a {
            color: #eee;
            text-decoration: none;
            font-size: 18px;
            font-family: 'Arial', sans-serif;
            font-weight: 600; /* Tlustší písmo pro modernější vzhled */
            padding: 12px 20px;
            border-radius: 30px;
            position: relative;
            display: inline-block;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        
        /* Efekt změny barvy a zvětšení při hoveru */
        .navbar a:hover {
            color: #00f7ff; /* Jemně modrá barva pro moderní efekt */
            transform: translateY(-5px); /* Plynulé zvednutí odkazu */
        }
        
        /* Gradientový efekt pod textem při hoveru */
        .navbar a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #ff00ff, #00f7ff, #ff0000);
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.4s ease;
        }
        
        /* Aktivní efekt pro odkazy při hoveru */
        .navbar a:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
        
        /* Plynulý efekt pro zaoblení rohu */
        .navbar a:hover {
            border-radius: 50px;
        }
        
        /* Responsivita pro mobilní zařízení */
        @media (max-width: 768px) {
            .navbar {
                padding: 10px 20px;
                height: 60px;
            }
        
            .navbar ul {
                gap: 20px;
            }
        
            .navbar a {
                font-size: 16px; /* Menší písmo pro mobil */
            }
        }
/* Parallax sekce */
.parallax {
    position: relative;
    height: 400px;
    background-size: cover;
    background-attachment: fixed;  /* Tento řádek zajistí, že obrázek bude fixní */
    background-position: center;
    clip-path: polygon(100% 0, 0 30%, 0% 100%, 120% 100%);
    overflow: hidden;
    z-index: 1; /* Nastavíme z-index pro parallax sekci */
}

/* Parallax obrázek */
.parallax img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Kontejner pro částice */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;  /* Zajistí, že částice nebudou blokovat interakci s obsahem */
    z-index: -1;  /* Umístí částice za obrázek parallax */
    background-attachment: fixed;  /* Tento efekt je pro obrázek, ale ne pro částice */
    transform: translateZ(0);  /* Aktivuje hardware akceleraci pro plynulejší animaci */
    overflow: hidden; /* Aby částice nevyčnívaly mimo oblast */
}





/* Animace pro duhu (Sekce oddělovače) */
@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Oddělovač sekcí (duha) */
.section-divider {
    position: relative;
    width: 100%;
    height: 15px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #ff6a00, #ff00c3, #00eaff);
    background-size: 400% 400%;
    animation: rainbow 7s ease infinite;
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 2;
    border-radius: 5px;
}

/* Modal okno */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    padding-top: 60px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color:rgba(51, 47, 47, 0.88);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 80%;
    max-width: 900px;
    color: #333;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.5s ease-out;
    font-color: #fff;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
}

body.modal-open {
    overflow: hidden; /* Skrývá posuvník */
    padding-right: 17px; /* Zajistí, že layout zůstane správný, pokud byl původně posuvník viditelný */
}



/* Tlačítko pro zobrazení historie */
.view-history {
    position: relative;
    display: block; /* Pro centrování s margin: auto */
    margin: 40px auto;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: transparent;
    border: none; /* Odstranění ohraničení */
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

/* Gradientový podklad, který se rozlije zleva doprava */
.view-history::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff00ff, #00f7ff, #ff0000);
    transition: width 0.4s ease;
    z-index: 0;
}

/* Na hover se gradient rozšíří zleva doprava */
.view-history:hover::after {
    width: 100%;
}

/* Zajistí, že text zůstane nad pozadím */
.view-history span {
    position: relative;
    z-index: 1;
}

.view-history:hover {
    color: #151414; /* Kontrast na světlém pozadí */
    transform: scale(1.05);
}





/* Styly pro logy */
.devlogs {
    background-color: transparent; /* Plně průhledné pozadí */
    padding: 60px 40px;
    color: #fff;
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0;
    backdrop-filter: blur(8px); /* Rozmazání pozadí pro efekt skla */
    box-shadow: none; /* Můžeš vrátit zpět, pokud chceš stín */
    animation: fadeIn 0.7s ease-out;
}

.devlogs h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #00f7ff;
    border-bottom: 3px solid #00f7ff;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
}

.devlog-entry {
    margin-bottom: 45px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 8px solid #00f7ff;
    border-radius: 15px;
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.devlog-entry:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.1);
}

.devlog-entry h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.devlog-entry .date {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 12px;
}

.devlog-entry p {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
}

/* Tlačítka pro interakce */
button, a {
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover, a:hover {
    transform: scale(1.05);
    background-color: #222;
}

/* Tlačítka pro zavření modalu */
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    transform: rotate(180deg);
}

footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #222;
            color: white;
            text-align: center;
            padding: 15px 0;
            font-size: 14px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
        }


        /* === MOBILNÍ OPRAVY (max šířka 768px) === */
@media (max-width: 768px) {

    /* Zamezí horizontálnímu scrollování */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Parallax obrázek */
    .parallax {
        position: relative;
        height: 300px;
        width: 100%;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .parallax img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    /* Navbar přímo pod parallax */
    .navbar {
        position: static;
        margin-top: 0;
        background-color: rgba(30, 30, 30, 0.95);
        padding: 15px 10px;
        box-sizing: border-box;
        border-radius: 8px;
        width: 100%;
        z-index: 1000;
    }

    /* Navbar přímo pod parallax, s pozadím a paddingem */
    .navbar {
        position: static;
        margin-top: 0; /* margin odstraněn, aby navazoval přímo */
        background-color: rgba(30, 30, 30, 0.95);
        padding: 150px 50px;
        box-sizing: border-box;
        border-radius: 8px;
        z-index: 1000;
        width: 100%;
    }

    /* Navbar menu svisle, odkazy blokově */
    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .navbar li {
        margin: 0;
    }

    .navbar a {
        font-size: 16px;
        color: #fff;
        padding: 12px 15px;
        text-decoration: none;
        background-color: #444;
        border-radius: 6px;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .navbar a:hover {
        background-color: #ffcc00;
        color: #000;
    }

    /* Nadpisy */
    .xDD {
        font-size: 30px;
        margin: 10px 0;
        text-align: center;
    }

    /* Devlogs sekce */
    .devlogs {
        padding: 10px 15px;
    }

    /* Tlačítko zobrazit historii */
    #openHistoryBtn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        margin-top: 20px;
        cursor: pointer;
        border-radius: 8px;
        border: none;
        background-color: #444;
        color: white;
        transition: background-color 0.3s ease;
    }

    #openHistoryBtn:hover {
        background-color: #ffcc00;
        color: #000;
    }

    /* Modal obsah */
    .modal-content {
        max-width: 90vw;
        padding: 20px;
        border-radius: 10px;
    }

}
