:root {
    --burntOrange: #e77900;
    --sugar: #e0ffee;
}

@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(--burntOrange);
}

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: black;
        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: black;
            text-decoration: none;
            font-family: main;
        }
    }
}

main {
    display: grid;
    grid-template-areas: 
    "title title title title"
    "set1 set2 set3 extras"
    "custom custom custom custom"
    "change change change change";
    grid-template-rows: auto auto auto auto;
    grid-template-columns: auto auto auto auto;
    justify-content: center;
    row-gap: 1em;
    column-gap: 2em;
    background-color: var(--sugar);

    ol {
        background-color: var(--burntOrange);
        padding: 1em;
        border: 5px solid black;

        * {
            margin-block: 0.5em;
        }
        li {
            margin-left: 1em;
        }
    }
    * {
        font-family: main;
    }
    #title {
        grid-area: title;
        font-family: title;
        font-size: 4em;
    }
    #set1 {
        grid-area: set1;
    }
    #set2 {
        grid-area: set2;
    }
    #set3 {
        grid-area: set3;
    }
    #extras {
        grid-area: extras;
    }
    #custom {
        grid-area: custom;
    }
    p {
        grid-area: change;
    }
}

footer {
    font-family: "Silkscreen";
    background-color: var(--burntOrange);
    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%;

        ol {
            width: 90%;
        }
        #custom {margin-bottom: 0.5em;}
        p {margin: 0.5em;}
    }
}