@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;
}
html {
    background: #222122;
}
body {
    font: 16px "Poppins";
    background: #f9f9f9;
    color: #222122;
    box-sizing: border-box;
    margin: 0;
    padding: 100px 0px 0px 0px;
    min-width: 960px;
}

body > header {
    height: 100px;
    width: 100%;
    background: #032c52;
    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('obrazky/logo.ico') 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;
}

#logo small {
    text-transform: uppercase;
    font-size: 0.85em;
}

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

nav ul a:hover
{
    border-bottom: 2px solid #e54c00;
}

article {
    margin: 0 auto;
    max-width: 960px;
    padding: 50px 50px 10px 50px;
    scroll-margin-top: 5rem;
}

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

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

article h2 {
    font-size: 2em;
}

article header {
    height: 80px;
}

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

article section a {
    color: #e54c00;
}

.paticka {
    display: flex;
    text-align: left;
    justify-content: space-around;
    height: 100px;
    color: white;
    background: #414042;
    padding: 50px 0 0 0;
    clip-path: polygon(0 30px, 100% 0, 100% 105%, 0 105%);
}

.paticka a {
    color: #e54c00;
}

.paticka a img:hover {
    transform: scale(1.2);
}

.avatar{
	float: right;
	width: 300px;
    margin-left: 10px;
	border-radius: 5%;
    border-color: #032c52;
    border-style: solid;
}

.cistic {
    clear: both;
}

.centrovany {
    text-align: center;
}

.kontakt-tlacitko {
    background: #e54c00;
    padding: 10px 20px;
    border-radius: 20px;
}

.kontakt-tlacitko:hover {
    filter: brightness(115%) contrast(85%);
    border: 0;
}

.vlevo {
    float: left;
}

#dovednosti_tabulka td {
    width: 20%;
    padding: 10px;
    vertical-align: top;
    border: 2px solid #00386B;
    overflow: hidden;
    
}

#dovednosti_tabulka {
    border-collapse: collapse;
    border: 2px solid #00386B;
}


#reference img {
    width: 30%;
    border: 1px solid gray;
    padding: 6px;
    box-shadow: 3px 3px 6px #999999;
    margin: 6px;
}

#reference img:hover{
    transform: scale(1.2);
}

form {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #032c52;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  #isubmit, #izprava, #iodesilatel {
    font: 14px "Poppins";
    border: solid 1px #032c52;
    border-radius: 0.5rem;
  }

  #isubmit {
    align-self: flex-start;
    width: 30%;
    height: 3rem;
  }
