body {
    background-color: black;
    color: white;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

main, header {
    display: block;
    margin: 0 auto;
    max-width: 1000px;
    width: 80%;
}

header {
    font-family: serif, "KraiLesa";
    font-size: 1.6em;
    /*text-transform: uppercase;*/
}

header h1, header img {
    text-align: center;
    font-size: 3em;
    overflow: hidden;
    max-width: 80%;
    margin: 16px auto;
}

header img {
    display: block;
    max-width: 50%;
}

header nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
}

header nav ul li a {
    padding: 6px;
}

header nav ul li a:hover {
    color: black;
    background-color: white;
}

header nav ul li:last-child a {
    color: black;
    background-color: white;
    transition: color 200ms;
    transition: background-color 200ms;
    transition: transform 200ms;
}

header nav ul li:last-child a:hover, .special-button:hover {
    color: black; 
    background-color: #59ddfc;
}

header nav a {
    font-weight: bold;
    text-decoration: none;
    color: white;
}

h2 {
    padding-left: 12px;
    padding-right: 12px;
    text-transform: uppercase;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    font-family: monospace;
    font-size: 1.8em;
    line-height: 1.5;
}

main p, main ul, main ol {
    padding: 24px;
    max-width: 60ch;
}

footer {
    display: flex;
    flex-direction: column;
    background: linear-gradient(transparent, #0e141c);
    padding-top: 30px;
}

footer > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 10px;
    font-family: "KraiLesa", sans-serif;
}

footer > div > * {
    margin: auto 1em;
    background-color: #070a0f;
    padding: 6px;
}

main img {
    display: block;
    margin: 0 auto;
    text-align: center;
}

figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

figure > * {
    max-width: 100%;
}

figcaption {
    margin-top: 12px;
    max-width: 80%;
    font-size: 0.7em;
}

.special-button {
    font-weight: bold;
    text-decoration: none;
    background-color: white;
    color: black;
    text-transform: uppercase;
    font-family: "KraiLesa", sans-serif;
    font-size: 1.4em;
    text-align: center;
    margin-top: 24px;
    padding: 8px;
    transition: color 200ms;
    transition: background-color 200ms;
}

#banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

#banner img:first-child {
    grid-area: 1 / 1 / 2 / 2;
    animation: 3s ease-in-out floatA infinite;
    animation-delay: -0.5s;
}

#banner img:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
    animation: 3s ease-in-out floatB infinite;
}

#banner img:last-child {
    grid-area: 1 / 1 / 2 / 2;
    animation: 3s ease-in-out floatA infinite;
    animation-delay: -0.5s;
}

@keyframes floatA {
    0% {
        transform: translate(70px, 7px);
    }
    50% {
        transform: translate(70px, -7px);
    }
    100% {
        transform: translate(70px, 7px);
    }
}

@keyframes floatB {
    0% {
        transform: translate(-70px, 7px);
    }
    50% {
        transform: translate(-70px, -7px);
    }
    100% {
        transform: translate(-70px, 7px);
    }
}

.product {
    list-style: none;
    border: #222 2px solid
}

.product a > * {
    margin: 8px;
    text-align: center;
}

.product span {
    display: inline-block;
    vertical-align: middle;
}

.product img {
    max-width: 128px;
}

.product a {
    display: flex;
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

.gallery {
    display: flex;
    flex-direction: row;
    overflow: auto;
    width: 100%;
    gap: 16px;
}

.gallery img {
    max-height: 400px;
    object-fit: cover;
    margin: 0;
    padding: 0;
}
