@font-face {
    font-family: "Syne-Regular";
    src:
        url("../fonts/Syne-Regular.woff2") format("woff2"),
        url("../fonts/Syne-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "FunnelSans-Light";
    src:
        url("../fonts/FunnelSans-Light.woff2") format("woff2"),
        url("../fonts/FunnelSans-Light.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpecialGothicExpandedOne-Regular";
    src:
        url("../fonts/SpecialGothicExpandedOne-Regular.woff2") format("woff2"),
        url("../fonts/SpecialGothicExpandedOne-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.shadow {
    box-shadow: 0 0 8px 5px rgba(0, 0, 0, 0.5);
    clip-path: inset(var(--t, 0) var(--r, 0) var(--b, 0) var(--l, 0));
}

.top {
    --t: -100%;
}
.right {
    --r: -100%;
}
.bottom {
    --b: -100%;
}
.left {
    --l: -100%;
}

* {
    box-sizing: border-box;
}
body {
    background-color: rgba(224, 224, 224, 0.4);
    font-family: FunnelSans-Light, geneva, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}
article,
aside,
footer,
header {
    padding: 5px;
}
main {
    border: ridge black 3px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
header,
footer {
    background-color: #0e3b04;
    color: rgb(255, 255, 255);
    text-align: center;
    border-bottom: 1px solid #fff;
}
h1,
h2 {
    text-align: center;
    font-family: "Syne-Regular", geneva, sans-serif;
}

h3,
h4 {
    text-align: center;
    font-family: "Syne-Regular", geneva, sans-serif;
}
#columns {
    display: flex;
    flex-direction: row;
}
#sectionContent {
    border-top: solid black 1px;
    padding: 10px;
}
#invis {
    display: none;
}
article {
    flex-basis: 100%;
    border-right: solid black 1px;
}

article:nth-child(4) {
    border-right: none;
}
nav {
    background-color: white;
}
nav a:hover {
    background: rgba(14, 59, 4);
    color: white;
}
nav ul {
    display: flex;
    flex: 100%;
    flex-direction: row;
    margin: 0;
    padding: 0;
}
nav ul li {
    flex: auto;
    list-style-type: none;
    border-top: solid black 1px;
    border-right: solid black 1px;
    border-bottom: solid black 1px;
}
nav ul li:nth-child(1) {
    border-left: solid black 1px;
}
nav ul li a {
    display: flex;
    flex: auto;
    flex-wrap: wrap;
    text-align: center;
    text-decoration: none;
    justify-content: center;
    font-size: 0.8rem;
    color: black;
    padding: 10px;
}

figure {
    margin: auto;
    padding: 1rem;
}

* {
    box-sizing: border-box;
    border: 1px solid rgba(67, 67, 67, 0);
}
body {
    width: 98%;
    margin: auto;
}
section,
article,
aside,
footer,
header {
    padding: 0.5rem;
}
img,
video,
embed {
    max-width: 98%;
}

/* default navigation values */
nav {
    display: flex;
    flex: auto;
    flex-direction: column;
}
nav a {
    flex: 100%;
    margin: 0 5px;
    padding: 0.5rem;
}
figure {
    margin: auto;
    padding: 1rem;
}

/* medium screen */
@media screen and (min-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        max-width: 76rem;
    }
    main {
        display: flex;
        flex-wrap: wrap;
    }
    header {
        order: -1;
        display: flex;
        flex: 85%;
        flex-direction: row;
    }

    nav {
        display: flex;
        flex: auto;
        flex-direction: row;
    }
    footer {
        flex: 98%;
    }

    a {
        flex: auto;
    }

    article {
        flex: 50%;
    }
    aside,
    section {
        flex: 100%;
    }
    section p {
        column-count: 1;
        column-gap: 20px;
        column-rule: 1px solid rgb(255, 105, 0);
    }

    figure {
        margin: auto;
        padding: 1rem;
    }
}

/* large screen */
@media screen and (min-width: 1200px) {
    header,
    footer {
        flex: 98%;
    }

    nav {
        flex: 98%;
        display: flex;
        flex-direction: row;
    }

    article {
        flex: 50%;
    }
    aside {
        flex: 30%;
    }

    figure {
        margin: auto;
        padding: 1rem;
    }
}
