:root {
    --accent: #85e0e0;
    --bg1: #1f7a7a;
    --bg2: #005555;
}

body {
    display: flex;

    background-image: url("../assets/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

header,
nav,
main {
    margin: 15px;
}

.box {
    display: block;
    background-color: var(--bg1);
    color: white;
    font-family: 'Iosevka Charon Mono';
    border: 3px solid black;
    box-shadow: var(--bg2) 0px 7px;
}

header {
    min-height: 75px;
    font-weight: bolder;
    align-content: center;
    text-align: center;
    padding: 0 15px 0 15px;
    font-size: 44px;
    width: clamp(256px, 85%, 1024px);
}

nav {
    align-content: center;
    text-align: center;
    width: clamp(300px, 90%, 1024px);
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li a {
    padding: 14px 16px;
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    flex: 1 1 150px;
}

nav ul li a:hover {
    background-color: var(--bg2);
}

main {
    flex: 1;
    width: clamp(256px, 90%, 1024px)
}

footer {
    min-height: 64px;
    background-color: var(--bg2);
    width: 100%;
    border-top: 3px solid black;
    color: white;
    font-family: 'Iosevka Charon Mono';
    /* Is making footer have flex a dumb idea? Maybe. But my entire website was coded out of boredom and self hatred towards myself so idc. */
    display: flex;
    justify-content: center;
    align-items: center;
}

footer div {
    margin: 15px;
    max-width: 1024px;
}

footer a img {
    max-width: 128px;
    margin: 15px;
}

@media (max-width: 600px) {
    body {
        background-color: var(--accent);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        width: 100%;
    }
}