@font-face {
    font-family: "KraiLesa";
    src: url("assets/KraiLesa.otf")
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: black;
    color: white;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: linear-gradient(black, 80%, transparent), center/100% url("assets/footer.png"), #0e141c;
    background-position: bottom;
}

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

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

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:last-child a {
    color: black;
    background-color: white;
}

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

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 li {
    max-width: 60ch;
}

footer {
    background: linear-gradient(transparent, #0e141c);
}

footer ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    font-family: "KraiLesa", sans-serif;
    text-shadow: 2px 2px black;
}

footer ul > * {
    margin: auto 1em;
}

header img, main img {
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 80%;
}

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

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

.gallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.gallery img {
    max-width: 400px;
    margin: 8px;
}
