@font-face {
    font-family: Poppins;
    src: url(fonty/Poppins-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: Poppins;
    src: url(fonty/Poppins-ExtraBold.ttf);
    font-weight: bold;
}



body {
    font-family: "Poppins";
    color: #414042;
    font-size: 14px;
    background: #f9f9f9;
    box-sizing: border-box;
    margin: 0;
    padding: 100px 0px 0px 0px;
    min-width: 960px;

}

h2{font-size: 1.7em;}

.centrovany {
    text-align: center;
}

.avatar {width: 300px;
    float: right;
    padding-left: 10px;
    filter: grayscale(1);

}

article header {
    height: 80px;
}

article {
max-width: 960px;
margin: 0 auto;
padding: 50px 50px 10px 50px;


}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: #00386B;
    padding: 10px 0;
}

article h1 {font-size: 2.3em;
font-weight: bold;
text-transform: uppercase;
width: max-content;
border-bottom: 4px solid #ef6534;
margin: 0;
}

article h2{
    font-size: 2em;
}

article section p {line-height: 1.8em;
margin-bottom: 1.8em;
}

article section a {color: #EF6534;}

.cistic {clear: both;}

.reference-tlacitko{
background: #70B73A;
color: white;
font-size: 0.9em;
text-transform: uppercase;
text-decoration: none;
padding: 12px 25px;
border-radius: 25px;
}

body > header {
height: 100px;
width: 100%;
background: #00386B;
color: white;
display: flex;
justify-content: space-evenly;
}


#logo {
    height: 40px;
    margin: auto 0 auto 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(obrazky/logo.png) no-repeat;
    background-size: 40px 40px;
    
}
#logo > * {margin: 0 0 0 50px;}

#logo h1 {
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.2em;
    color: white;
}

#logo h1 span {
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 5px;
}

#logo small {
    text-transform: uppercase;
    font-size: 0.90em;
}
nav ul{
margin:0;
list-style-type: none;
display: flex;
align-items: center;
height: 100%;
}

nav ul a{
color: white;
padding: 8px 0;
text-decoration: none;
text-transform: uppercase;

}

nav ul li {
    padding: 0 25px;
    margin: 0 5px;
    font-size: 1em;
    line-height: 4.3em;
}

nav ul a:hover, .aktivni a {
    border-bottom: 2px solid #EF6534;
    
}

.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;
}

body > header {
    height: 100px;
    width: 100%;
    background: #00386B;
    color: white;
    display: flex;
    justify-content: space-evenly;
    position: fixed;
    z-index: 1;
    top: 0;
}

.vlevo {
    float: left;
    margin-right: 5px;
    
}

#dovednosti td {
    width: 20%;
    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;

}

#reference a {
    text-decoration: none;
}

#refenrece a:hover {
    text-decoration: none;
}

.ve-vystavbe {
font-size: 48px;
color: rgb(37, 37, 31);
text-shadow: 2px 2px 4px #00386B;
text-align: center;

}

.tlacitko-odstavec {
padding-top: 10px;
font-size: 18px;

}