@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-Regular.ttf);
    font-weight: normal;
}
@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-ExtraBold.ttf);
    font-weight: bold;
}


h2 {text-align: left; color: #0a294b;}
.centrovany {text-align: center;}
h1 {text-align: left;}
body > header {
    height: 100px;
    width: 100%;
    background: #00386b;
    color: white;
    display: flex;
    justify-content: space-evenly;
    position: fixed;
    z-index: 1;
    top: 0;
}
#logo {
    height: 40px;
    margin: auto 0 auto 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('pictures/logo.png') no-repeat;
    background-size: 40px 40px;
}
#logo > *{
    margin: 0 0 0 50px;
}
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: 1em;
    line-height: 4.3em;
}
nav ul a {
    color: white;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
}
body {
    font: 14px "Poppins";
    background: #f9f9f9;
    color: #414042;
    box-sizing: border-box;
    margin: 0;
    padding: 100px 0px 0px 0px;
    min-width: 960px;
}
article header {height: 80px;}
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {color: #003868;
            padding: 10px 0;
        }

.avatar{
    float: right;
    width: 400px;
    padding-left: 10px;
    filter: grayscale(0);
    }
.cistic {
    clear: both;
}    
article {max-width: 960px;
     margin: 0 auto;
     padding: 50px 50px 10px 50px;
     flex: 1;
}
article h1 {
    margin: 0;
    font-size: 2.3em;
    font-weight: bold;
    text-transform: uppercase;
    width: max-content;
    border-bottom: 4px solid #ef6534;
}

article h2 {
    font-size: 2em;
}

article section p {
    line-height: 1.8em;
    margin-bottom: 1.5em;
}

article section a {
    color: #ef6534;
}
.reference-tlacitko {
    background: #70b73a;
    color: white;
    font-size: 0.9em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
}
.kontakt-tlacitko {
    background: #ef6534;
    padding: 10px 20px;
    border-radius: 20px;
}
.kontakt-tlacitko:hover,
.reference-tlacitko:hover{
    filter: brightness(115%) contrast(85%);
    border: 0;
}
html {
    background: #414042;
}
footer{
    box-sizing: border-box;
    text-align: center;
    height: 100px;
    color: white;
    background: #414042;
    padding: 50px 0 0 0;
    clip-path: polygon(0 30px,100% 0, 100% 105%, 0 105%);
}
footer a{
    color: white;
    text-decoration: none;
}
.vlevo {
    float: left;
}
#dovednosti td {
    width: 33%;
    padding: 10px;
}
#dovednosti td {
    width: 33%;
    padding: 10px;
    vertical-align: top;
}
#dovednosti td {
    width: 33%;
    padding: 10px;
    vertical-align: top;
    border: 1px solid gray;
}
#dovednosti {
    border-collapse: collapse;
}
#reference img {
    border: 1px solid gray;
    padding: 6px;
    box-shadow: 3px 3px 6px #999999;
    margin-right: 6px;
}

