html,
body {
    background: #666;
    margin: 0;
    font-family: Arial;
}

a {
    color: currentColor;
}

main {
    margin: 30px auto;
    width: 800px;
}

header > a {
    text-decoration: none;
}

header h1 {
    margin: 0;
    width: 100%;
    text-align: left;
    text-transform: uppercase;
    color: #CCC;
    font-style: italic;
    text-shadow: 0 0 15px black;
    font-size: 50px;
}

header h2 {
    margin: 0;
    width: 100%;
    text-align: right;
    text-transform: uppercase;
    color: #666;
    text-shadow: 0 0 15px black;
    font-size: 25px;
}

header h3 {
    margin: -15px 0 20px;
    color: #999;
    font-size: 15px;
}

main > ul {
    margin: 0;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

main > div.sub {
    margin: 40px auto;
    padding: 20px;
    width: 610px;
    height: 505px;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    background-repeat: no-repeat;
}

div.top {
    align-items: flex-start;
}

div.bottom {
    align-items: flex-end;
}

div.opony {
    background: url("includes/opony.png");
}

div.kontakt {
    background: url("includes/kontakt.png");
}

div.hamulce {
    background: url("includes/hamulce.png");
}

div.akcesoria {
    background: url("includes/akcesoria.png");
}

main > ul > li {
    display: inline-block;
    margin: 20px;
    width: 285px;
}

main > ul > li > a > img {
    width: 100%;
    filter: drop-shadow(0 20px 20px #0008);
}

main > ul > li > a > img:hover {
    filter: drop-shadow(0 20px 20px #0008) opacity(70%);
}

footer {
    text-align: center;
    color: #999;
}