@font-face {
    font-family: Rubik;
    src: url(fonts/Rubik-VariableFont_wght.ttf);
    font-weight: normal;
}

html{
    background-color: #e8eced; 
}

body{
    font: 12px "Rubik";
    color: black;
    background: #F9F9F9;
    box-sizing: border-box;
    margin: 0;
    padding: 100px 0 0 0;
    min-width: 960px;
}

body > header{
    height: 100px;
    width: 100%;
    background-color: #e8eced;
    display: flex;
    justify-content: space-evenly;
    position: fixed;
    z-index: 1;
    top: 0;
}

header > h1{
    padding-top: 4px;

}

header > h1 span{
    color: #fb6f4c;
    font-size: 0.9em;
    
}

nav ul{
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    height: 100%;
}

nav ul li{
    padding: 0 25px;
    margin: 0 5px;
    font-size: 1.2em;
    line-height: 4em;
}

nav ul li:hover{
    border-bottom: 4px solid #fb6f4c;
    font-weight: bolder;
    font-size: 1.3em;
    
}

nav ul a {
    color: black;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
}

article{
    margin: 0 auto;
    padding: 50px 50px 70px 50px;
    max-width: 960px;
    background-color: #F9F9F9;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6{
    padding: 10px;
}

article h1{
    margin: 0;
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    width: max-content;
    border-bottom: 4px solid #fb6f4c;
}

article h2{
    font-size: 2em;
}

article section p{
    font-size: 1.4em;
    margin-bottom: 1.5em;
    line-height: 1.8em;

}


article section ul li{
    font-size: 1.5em;
}

article section a{
    border: 4px solid #fb6f4c;
    font-size: 1.4em;
    color: black;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    float: right;
}

article section a:hover{
    background-color: #fb6f4c;
    font-weight: bolder;
    font-size: 1.6em;
}

.tabulka th{
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #fb6f4c;
    color: black;
    border: 2px solid;
  }

.tabulka td{
    padding: 10px;
    text-align: left;
    border: 2px solid;
}

#logo{
   height: 80px;
   margin: auto 0 auto 20px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   background: url(pictures/logo_final.webp) no-repeat;
   background-size: 80px 80px;
}

#logo > *{
    margin: 0 0 0 65px;
}

#logo > h1 > span{
    color: #fb6f4c;
    font-size: 0.9em; 
}

#logo small{
    text-transform: uppercase;
    font-size: 1.2em;
}

.avatar{
    float: right;
    width: 300px;
    margin-left: 15px;
      
}


.cistic{
    clear: both;
}

.link-icon{
    height: 60px;
    width: 60px;
    margin-bottom: 50px;
}



footer{
    box-sizing: border-box;
    text-align: right;
    height: 100px;
    color: black;
    background: #e8eced;
    padding: 50px 50px 0 0;
    
}

footer > p{
    text-align: left;
}

footer ul{
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    height: 100%; 
}

.pictures {
    text-align: center;
}

.pictures img {
    margin: 12px;
}

.pictures h2 {
    text-transform: uppercase;
}