/* Základní reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Obal pro škálování */
.scale-wrapper {
    width: 1920px; /* základní velikost webu */
    height: 1080px;
    transform-origin: top left;
    transform: scale(var(--scale-factor));
}

.wrapper {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    pointer-events: none;  /* přidáno */
}

.wrapper > * {
    pointer-events: auto;  /* přidáno */
}

/* Flexbox na celé tělo pro zarovnání na výšku */
body {
    background-color: white;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: black;
    font-family: Arial, sans-serif;
    overflow: auto;
    width: 100vw;
    height: 100vh;
}

/* Hlavní obsah */
h1 {
    font-size: 2em;
    text-align: center;
    color: black;
    margin: 0 auto 10px auto;
    font-weight: bold;
    margin-bottom: 0rem;
    max-width: 90%;
}

h2 {
    font-size: 1.5em;
    text-align: center;
    color: black;
    margin: 0 auto 5px auto;
    font-weight: bold;
    max-width: 90%;
}

p {
    text-align: center;
    font-size: 1em;
    line-height: 1.6;
    margin: 0 auto 20px auto;
    max-width: 90%;
}

/* Navigační lišta */
header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    font-size: 20rem;
    margin-bottom: 0px;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #333;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center; /* Zarovná položky na střed */
    gap: 20px; /* Mezera mezi položkami (dle potřeby uprav) */
    padding: 0;
    background-color: #333;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    background-color: #444;
    color: white;
    text-decoration: none
}