@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');


/* Základní nastavení */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh; /* pozadí - obrázek díky tomu pokryje celou obrazovku */
    overflow: hidden;/* zabrání vodorovnému posouvání */
    
}
.fredericka-the-great-regular {
  font-family: "Fredericka the Great", serif;
  font-weight: 400;
  font-style: normal;
}

.special-elite-regular {
  font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;
}
/* Pozadí, které se nedeformuje */
body {
    
    background-image: url('image/pozadi2.jpg'); /* Cesta k tvému pozadí */
    background-size:110%; /* obrázek se zvětší do počítače */
    background-position: center; /* drží pejska ve středu */
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    
    
    transition: background-position 0.2s ease-out; /* Pro plynulost */
    padding-top: 120px;

}

/* Navigační lišta */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Přesná výška, aby všude byla stejná */
    display: flex;
    justify-content: space-between; /* Logo vlevo, menu vpravo */
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box; /* padding se nepočítá k šířce */
    z-index: 1000; /* Aby byla vždy nad ostatními prvky*/
}

.logo {
    font-size: 80px;
    z-index: 1001;
    font-family: "Fredericka the Great", serif;

}
/* skrytí čárek na počítači*/

.menu-toggle {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Aby bylo nad navigační lištou*/
    
}
.bar {
    width: 35px;
    height: 4px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 0px rgba(0,0,0,0,2);
    
    
}

.nav-links li {
    margin-left: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}



.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 25px;
    transition: 0.3s;
    font-family: "Special Elite", system-ui;
  
  
}

/* Interaktivita: Změna barvy při najetí myší */
.nav-links a:hover {
    color: gray;
    text-decoration: underline;
}

.prehrat {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5%;
    margin-top: 50vh;
    width: 90%;
    height: 35vh;
    /* border: 3px solid green;
    = Vyznačuje hranice containeru .prehrat, aby bylo jasné kde je */
}

/* tlačítko */
.play-button {
    padding: 30px 50px;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    background-color: #333333;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.4);

    text-decoration: none;
    color: white;
    font-size: 40px;
    transition: 0.3s;
    font-family: "Special Elite", system-ui;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.8);
    background-color: #181818;
    color: rgb(219, 219, 219);
    text-decoration: underline;
}

/* celý rozklikávací modal který reaguje na tlačítko - je v něm pozadí=overlay i video */
.modal {
    display: none;
    
    position: fixed;
    inset: 0;

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* tmavé pozadí */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.video-container {
    display: flex;
    justify-content: center; /* horizontální střed */
    align-items: center;     /* vertikální střed */

    /* border: 3px solid green;
    = Vyznačuje hranice containeru .video-container, aby bylo jasné kde je */
    margin: 2%;
    margin-top: 12vh;
    position: relative;
    z-index: 2;
}

video {
  width: 75%;
  height: auto;
}

.copyright {
    text-align: center;
    padding: 20px;
    color: white; 
    font-family: "Special Elite", system-ui; 
    font-size: 16px;
    width: 100%;
    box-sizing: border-box; /* Zabrání rozhození šířky kvůli paddingu */
    /* --- TYTO ŘÁDKY TO PŘILEPÍ DOLŮ --- */
    position: fixed;
    bottom: 0;
    left: 0;
   
}


/* Responzivita pro mobily */
@media screen and (max-width: 768px) {
    body {
        background-size: cover; /* aby se na mobilu zoom vynul(cover) a vešel se na celý displej*/
        transform: scale(1);
        background-attachment: scroll;
        padding-top: 70px;
    }
    .menu-toggle {
        display: flex;
    }
    .navbar {
        
        flex-direction: column; /* Dáme logo a čárky pod sebe */
        height: auto; /* Výška se přizpůsobí obsahu */
        padding: 20px 0;
        justify-content: center;
        align-items: center; /* Všechno v navbaru bude ve středu */
    }
    .logo {
        font-size: 70px !important; 
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -105%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.658);
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }
    
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .nav-links a {
        font-size: 2rem;
        font-family: "Special Elite", system-ui;
    }


    .prehrat {
    margin-top: 50vh;
    height: 40vh;
    }

    /* tlačítko */
    .play-button {
        font-size: 30px;
    }

    .video-container {
        height: 50vh;
        align-items: flex-start;
        padding-top: 12vh;
    }

    video {
        width: 85%;
        height: auto;
    }
}