:root {
    --on: #50240e;
    --off: #18140e;
}

@font-face {
    font-family: title;
    src: url(media/fonts/title.otf);
}
@font-face {
    font-family: main;
    src: url(media/fonts/main.otf);
}

body {
    background-color: var(--on);
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--corprateGreen);
    border-bottom: 5px solid black;
   
    ul {
        display: flex;
        flex-direction: column;
        list-style-type: none;
    }
    #logo {
        margin-block: 0.5em;
    }
    #navLinks > a {
        color: white;
        text-decoration: none;
        font-family: title;
        font-size: 2em;
        margin-inline: 0.5em;
    }
}
#hamMenu {
    display: none;

    #hamIcon {
        cursor: pointer;
        margin-right: 1em;
    }
    #hamLinks {
        display: none;
        
        a {
            color: white;
            text-decoration: none;
            font-family: main;
        }
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--off);
    padding: 0.5em;

    * {
        font-family: main;
        color: white;
    }
}
form {
    display: flex;
    flex-direction: column;

    input, textarea {
        width: 50%;
        margin-bottom: 1em;
    }
    #submit {
        color: white;
    }
}

footer {
    font-family: "Silkscreen";
    color: white;
    background-color: var(--on);
    padding-inline: 1em;
    padding-block: 0.5em;
    border-top: 5px solid black;
}

@media screen and (max-width: 1023px) {
    #hamMenu {
        display: block;
    }
    #navLinks {
        display: none;
    }
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 150%;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}