:root {
    --text-color: #ffffff;

    --color: #AA7A00;
    --accent: #ffbb0f;
    --background: #141414cc;

}

/* generall stuff */

* {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}

/* general text styling */

h1 {
    font-size: x-large;
    font-weight: 700;
    color: var(--text-color);
    filter: brightness(0.8);
    margin-bottom: 1.5em;
}

p {
    font-size: medium;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

a {
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #000;
    transition: 300ms ease-in;
}

/* document flow */

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* background by https://SVGBackgrounds.com */
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='%23261c0a' points='1600 155 0 455 0 350 1600 50'/%3E%3Cpolygon fill='%2343310f' points='1600 255 0 555 0 455 1600 155'/%3E%3Cpolygon fill='%2364480f' points='1600 355 0 655 0 555 1600 255'/%3E%3Cpolygon fill='%2386610b' points='1600 455 0 755 0 655 1600 355'/%3E%3Cpolygon fill='%23AA7A00' points='1600 800 0 800 0 755 1600 455'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
}

/* navigation bar */

nav {
    justify-self: flex-start;
    padding: 2em 3em;
    display: flex;
    gap: 1em;
}

@media only screen and (max-width: 500px) {
    nav {
        padding: 1em
    }
}

nav a {
    padding: 0.8em 1.2em;
    background-color: var(--color);
    border: solid 1px var(--text-color);
    border-radius: 10px;
    box-shadow: 1px 1px 2px var(--text-color);

    font-weight: 900;
}

nav a:hover {
    background-color: var(--accent);
}

main {
    align-self: center;
    width: 100%;
    max-width: 600px;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2em;
}

section {
    max-width: 600px;
    padding: 1.5em;
    border-radius: 0 2em 0 2em;
    background-color: var(--background);
    border: solid 1px var(--text-color);
}

/* footer */

footer {
    justify-self: flex-end;
    align-self: flex-end;

    padding: 3em 5em;

    color: white;
    letter-spacing: 0.1ex;
    word-spacing: 1em;
}

@media only screen and (max-width: 500px) {
    footer {
        padding: 1em
    }
}

/* other stuff */

.socialMedia {
    display: flex;
    gap: 1em;
    justify-content: center;
    padding: 1em;
}

.socialMedia > a:hover {
    color: var(--color)
}
