@font-face {
    font-family: Avenir;
    src: url(fonts/Avenir.otf);
}
body {
    margin: 0;
    padding: 0;
    font-family: Avenir;
    background-image: url(obrazky/pozadi.jpg);
    background-size: 100%;
}
main {
    width: 1200px;
    margin: 0 auto;
}
header {
    height: 100px;
    display: flex;
    color: white;
}
header img {
    align-self: center;
    margin-left: 5px;
}
table td {
    border: 1px solid black;
    padding: 4.6px;
}
header h1 {
    font-family: Avenir;
    margin: 0;
    padding-top: 30px;
    padding-left: 20px;
    z-index: 20;
}
div.menu-container {
    display: flex;  
}
aside {
    min-width: 280px;
    min-height: 517px;
    opacity: 0.8;
    background-color: blanchedalmond;
}
aside img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 28px;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    background-color: blanchedalmond;
}
nav ul li a {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: black;
}
nav ul li a:hover, nav ul li:hover {
    color: white;
    background-color: lightcoral;
}
article {
    width: 100%;
    background-color: white; 
    opacity: 0.8;
}
article p, 
article h1, 
article h3, 
article h4, 
article form {
    padding: 0 10px;
}
article table, th, td, tr {
    padding: 5px;
    text-align: center;
}
article table {
    margin-left: 10px;
}
article li a {
    text-decoration: none;
    color: rgb(36, 113, 255, 1);
}
article li a:hover {
    text-decoration: underline;
}
article li {
    line-height: 23px;
}
article.formular {
    padding-left: 10px;
}
article.formular h3 {
    padding-left: 0;
}
article input::placeholder {
    color: white;
}
article input[type="text"],
article input[type="email"],
article textarea,
article select 
{    
    background: #cedfff;
    padding: 7px 3px;
    margin: 5px 2px;
    outline: none;
    border: none;
    border-bottom: 3px solid #5994FF;
	border-radius: 3px;
}
article input[type="button"],
article input[type="submit"] {
    background: rgb(36, 113, 255, 1);
	border: none;
	padding: 8px 16px 8px 16px;
	border-bottom: 3px solid #5994FF;
	border-radius: 3px;
    color: #D2E2FF;
    cursor: pointer;
}
article input[type="button"]:hover,
article input[type="submit"]:hover {   
    background: #6B9FFF;
	color:#fff;
}
article.formular form select, article.formular form {
    margin-bottom: 10px;
}
article hr {
    margin-bottom: -4px;
}
div.kniha { 
    background-color: blanchedalmond;
}
div.kniha a {
    text-decoration: none;
    color: rgb(36, 113, 255, 1);
}
div.kniha a:hover {
    text-decoration: underline;
}
div.odsazeni {
    padding-top: 8px;
    padding-left: 8px;
}
footer {
    background-color: lightcoral;
    height: 100px;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
footer h2 {
    margin: 0;
    font-size: 15px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
}

@media (max-width: 1220px) {
    main {
        width: 100%;
    }
}