@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;
}

body {
    font-family: Poppins;
    font-size: 14px;
    background: #eeeeee;
    box-sizing: border-box;
    margin: 0;
}

body > header {
    height: 100px;
    width: 100%;
    background: #001e4e;
    color: white;
    display: flex;
    justify-content: space-evenly;
    position: fixed;
    z-index: 1;
    top: 0;
}

article {
    max-width: 960px;
    margin: 100px auto;
    padding: 30px 30px 10px 30px;
}

article h1 {
    padding-top: 20px;
    margin-top: 20px;
    font-size: 2.3em;
    font-weight: bold;
    text-transform: uppercase;
    width: max-content;
    border-bottom: 2px solid #ef15aa;
}

article h2, h3, h4, h5, h6 {
    font-size: 2em;
    padding: 10px 0;
    }

article section p {
    line-height: 1.8em;
    margin-bottom: 1.5em;
    text-align: justify;
}
article section a {
    color: red;
}

article header {
    height: 80px;
}    

.avatar {
    width: 300px;
    float: right;
    margin-left: 50px;
    filter: grayscale(0.9);
    border-radius: 150px;
    transform: scaleX(-1);
}

.timeline {
    width: 300px;
    float: right;
    margin-left: 50px;
    border-radius: 150px;
}
.center {
    align-items: center;
}

.cistic {
    clear: both;
}

footer {
    box-sizing: border-box;
    text-align: center;
    height: 100px;
    color: white;
    background: #414;
    padding: 50px 0 0 0;
    clip-path: polygon(0 30px, 100% 0, 100% 105%, 0 105%);
}

footer a {
    color: white;
    text-decoration: none;
}

html {
    background: #414;
}

.icon {
    width: 128px;
    height: 128px;
}

.kontakt_tlacitko {
    background: #70b73A;
    padding: 10px 20px;
    border-radius: 25px 5px 25px 5px
}

.left {
    float: left;
    margin-right: 20px;
    border-right: 2px solid black;
}

#logo {
    height: 40px;
    margin: 40px 0 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('image/erb.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;
    text-decoration: none;
}

#logo a {
    text-decoration: none;
    color: white;
}

#logo h1 span {
    font-weight: bold;
    text-transform: uppercase;
}

#logo small {
    text-transform: uppercase;
    font-size: 0.8em;
}

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: #eeeeee;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul a:hover {
    border-bottom: 2px solid salmon;
}

#skills td {
    width: 25%;
    padding: 10px;
    vertical-align: top;
}

#reference {
    display:grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
    margin-bottom: 20px;
}

#reference img {
    border: 1px #001e4e;
    padding: 8px;
    box-shadow: 3px 3px 6px #999;
    margin-right: 6px;
}

.reference_tlacitko {
    background: #70b73A;
    color: white;
    font-size: 0.9em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px 5px 25px 5px;
}

.kontakt_tlacitko:hover,
.reference_tlacitko:hover {
    filter: brightness(115%) contrast(85%);
    border: 0;
}

.under_construction {
    background: transparent;
}