*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Roboto';
}

:root{
    --hlavickapozadi: black;
    --hlavickatext: white;
    --navpozadi: #333;
    --zluty: #f5f5dc;
    --listhover: #
}

header{

    color: var(--hlavickatext);
    flex-direction: row;
    text-align:center;
    display: flex;
    align-items: center;
    background-color:var(--hlavickapozadi);
    height: 10vh;
    font-size: 3vh;


}

.obsah {
    font-family: Arial, sans-serif; /* Nastavte vhodný font */
    font-size: 16px; /* Nastavte vhodnou velikost písma */
    line-height: 1.5; /* Nastavte vhodnou výšku řádku pro čitelnost */
    margin: 0 auto; /* Zarovnejte obsah na střed horizontálně */
    max-width: 800px; /* Nastavte maximální šířku obsahu, pokud chcete zabránit příliš širokým řádkům */
    padding: 20px; /* Přidává vnější odsazení obsahu */
  }
  
  /* Příklady dalších stylů pro různé typy obsahu */
  .obsah h1 {
    font-size: 24px; /* Velikost písma pro nadpisy */
    margin-bottom: 10px; /* Odsazení dolů pro nadpisy */
  }
  

  .obsah a {
    color: #007BFF; /* Barva textu odkazů */
    text-decoration: underline; /* Podtržení odkazů */
  }

  .obsah ul, .obsah ol {
    margin-left: 20px; 
  }

nav{
    margin-top: 0%;
	position: sticky;
	top: 0vh;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6vh;
    background-color: var(--navpozadi);
    color: var(--hlavickatext);

}

.obrazek1{
  background-image: url("/static/theme/active/img/back.jpg");
  height: 60vh;
  width: auto;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;

}

#dokument{
    width: 40vw;
    height: 80vh;
    padding: 1px;
    border: solid 1px black;
}



.nadpis{
    flex-grow:1;
}

main{
    min-height: 67vh;
    display: flex;
    justify-content: center;
}

.obsah{
    margin-top:10vh;
    margin-bottom:10vh;
    padding: 10px;
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 1vh;
    margin-left: 20vw;
    margin-right: 20vw;
}


.obsah p{
    font-size: 12pt;
}

h2{
    text-align: left;
    margin: 20px;
}

footer .panel1{
 display: flex;
 flex-direction: row;
 align-items: center;
 text-align:center;
 min-height: vh;

}

footer {
    border-top: solid var(--navpozadi) 0.01rem;
    height: 5vh;
    text-align: center;

}

footer h2{
    text-align: center;
    font-size: 30px;
}

footer a{
    text-decoration: none;
    color: black;
}
footer ul{
    font-size: 20px;
}

.kontakty{
    display: flex;
    align-items: center;
    justify-content: center;
}

.kontakt{
    font-size: 20px;
    margin: 30px;
}

.autor{
    flex-grow: 1;
}

nav ul{
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    list-style: none;
    font-size: 200%;
    justify-content: center;
}

nav li{
    padding: 1.5vh;
    margin: 0;
}
nav ul a{
    text-decoration: none;
    color: var(--barvatext);
    width: 100%;
}

nav li:hover{
    cursor: pointer;
    background-color: #555;
}

header .hamburger{
    display: none;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}


@media (max-width: 400px) {

    nav{
        height: auto;
        display: none;
    }

    nav.aktivni{
        display: block;

    }

    .obsah{
        margin-left: 1vw;
        margin-right: 1vw;
    }

    header .hamburger{
        display: inline;
        margin-right: 1vw;
        height: 10vw;
    }

    nav ul{
        flex-direction: column;
        text-align: center;
        font-size: 5vw;

    }

    nav li{
        width: 100%;
        height: 2%;
        margin: 0.1vh;
    }

}

@media (max-width: 1000px) {
    header{
        position: sticky;
        top:0;
    }

    nav{
        height: auto;
        display: none;
        position: sticky;
        top: 10vh;
    }

    nav.aktivni{
        display: block;

    }

    header .hamburger{
        display: inline;
        margin-right: 1vw;
        height: 100%;
    }

    nav ul{
        flex-direction: column;
        text-align: center;
        font-size: 5vw;

    }

    nav li{
        width: 100%;
        height: 2%;
        margin: 0.1vh;
    }

}