html {
    background: #e5e5e5 url('data/foa.jpg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100%;
    background-attachment: fixed;
}

body {
    font-family: verdana, arial, sans-serif;
    font-size: 16px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem;
    background: white;
    min-width: 100vh;
}

.flex-container {
    display: flex;
}

@media screen and (max-width: 1000px) {
    .flex-container {
        flex-direction: column;
    }
}

.flex-container > .flex-child {
    flex-basis: 50%;
    flex-grow: 1;
}

iframe {
    width: 100%;
    max-height: 80px;
}

h1 {
    text-align: center;
    margin-top: 0;
}

h2 {
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #2020e0;
}

a:hover {
    text-decoration: underline;
}

div.section > ul {
    padding-inline-start: 0;
}

div.section > ul > li img {
    padding-right: 1rem;
}

li {
    list-style: none;
    padding-bottom: 0.5rem;
}

li.year-separator {
    margin: 2rem auto;
    text-align: center;
}

li.year-separator::before,
li.year-separator::after {
    content: " --- ";
}

li.active {
    background-color: #e8e8ff;
    transition: background-color 2s;
}

i {
    width: 14px;
    height: 14px;
    display: inline-block;
    margin: 0 0.25rem;
    position: relative;
    font-style: normal;
}

i:after {
    position: absolute;
    background: white;
    border: solid black 1px;
    top: 15px;
    padding: 0.25rem;
    max-height: 1rem;
    white-space: nowrap;
    transform: translateX(-50%) translateX(7px);
    animation: 0.5s linear 0s appear;

}

i:hover:after {
}

i.game {
    background: url('data/icon/game.png');
}

i.game:hover:after {
    content: "Game project";
}

i.ele {
    background: url('data/icon/electronics.png');
}

i.ele:hover:after {
    content: "Electronics project";
}

i.web {
    background: url('data/icon/website.png');
}

i.web:hover:after {
    content: "Website project";
}

i.down {
    background: url('data/icon/download.png');
}

i.down:hover:after {
    content: "Download available";
}

i.pl {
    background: url('data/icon/pl.png');
}

i.pl:hover:after {
    content: "Polish language only - Sorry!";
}

i.wip {
    background: url('data/icon/wip.png');
}

i.wip:hover:after {
    content: "Work in progress";
}

i.done {
    background: url('data/icon/done.png');
}

i.done:hover:after {
    content: "Project completed. Whoa, unbelievable!";
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.yt::after {
    content: ' [warning: youtube link]';
}

.footer {
    font-size: 10px;
}