body {
    background-color: var(--main-background-color);
    color: var(--main-font-color);
    font-size: 1.25rem;
    font-weight: 300;
}

body.disabled { overflow: hidden; }

body > header {
    position: fixed;
    width: 100%;
    background-color: var(--theme);
    z-index: 99;
}

body > header .container {
    display: grid;
    grid-template-columns: 15rem 1fr;
    grid-template-rows: auto;
    padding: 0 2rem;
}

nav {
    position: relative;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--bg-0);
}

nav > * {
    z-index: 99;
}

#nav-menu  {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100vh;
    margin-left: -100%;
    line-height: 3.5rem;
    background-color: var(--theme);
    padding-top: 6rem;
    transition: .5s all;
    z-index: 79;
}

.open #nav-menu {
    margin-left: 0;
}

#nav-menu {
    padding-top: 8rem;
    height: 100%;
}

#nav-menu a {
    display: block;
    padding: 0 2rem;
    transition: .5s all ease-in-out;
    cursor: pointer;
    color: var(--nav-link-color);
    text-shadow: var(--shadow);
}

#nav-menu a:hover {
    background-color: rgba(0, 0, 0, .2);
    color: var(--nav-link-hover-color);
    text-shadow: var(--shadow);
}

#nav-compact {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 6rem;
}

#nav-toggle {
    position: relative;
    width: 3rem;
    height: 2.5rem;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 98;
}

#nav-toggle span {
    position: absolute;
    display: block;
    width: 100%;
    height: .35rem;
    background: var(--bg-0);
    border-radius: 4px;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2),#nav-toggle span:nth-child(3) {
    top: 1rem;
}

#nav-toggle span:nth-child(4) {
    top: 2rem;
}

#nav-toggle.open span:nth-child(1), #nav-toggle.open span:nth-child(4) {
    opacity: 0;
}

#nav-toggle.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-toggle.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: calc(100vh);
}

#banner img {
    width: 100%;
    height: auto;
    margin-top: 6rem;
}

#banner .banner-overlay {
    position: absolute;
    top: 50%;
    margin: auto;
    padding: 2rem;
    transform: translateY(-10%);
}

@media only screen and (min-width: 77em) {

    nav { position: unset; }

    #nav-menu {
        display: flex;
        line-height: 6rem;
        height: 100%;
        line-height: 6rem;
        position: unset;
        top: unset;
        min-height: unset;
        margin-left: unset;
        padding-top: unset;
        z-index: 99;
    }

    #nav-menu a {
        display: inline-block;
        padding: 0 1rem;
    }

    #nav-compact { display: none; }
}

main.container {
    padding: 2rem 2rem 5rem 2rem;
}

main .body-text h1, main .body-text h2, main .body-text h3, main .body-text h4 {
    font-size: 2rem;
    color: var(--theme);
    font-weight: 300;
    text-shadow: var(--shadow);
    margin: 3rem 0 1rem 0;
}

main .body-text h2 { font-size: 1.75rem; }
main .body-text h3 { font-size: 1.5rem; }
main .body-text h4 { font-size: 1.25rem; }
main .body-text ul { padding-left: 2rem; }

main a {
    color: var(--main-link-color);
    white-space: nowrap;
}

main a:hover { color: var(--main-link-hover-color); }
main a:hover:before  { background-color: var(--main-link-hover-color); }

main .body-text p, main .body-text ul {
    margin-bottom: 2rem;
}

main .column-right {
    margin-top: 7.5rem;
}

main .column-right img {
    width: 100%;
    height: auto;
    margin-bottom: 3rem;
    border-radius: .5rem;
}

footer {
    background-color: var(--footer-background-color);
    color: var(--footer-font-color);
    font-size: 1rem;
    font-weight: 300;
}

footer h2, footer h3 {
    font-size: 2rem;
    font-weight: 100;
    margin: 3rem 0;
}

footer h3 {
    font-size: 1.25rem;
}

footer a {
    color: var(--theme);
}

footer a:hover {
    color: var(--bg-10);
}

footer a:before {
    background-color: var(--bg-10);
}

footer .icon-grid {
    display: grid;
    grid-template-columns: 3.5rem 12rem;
    grid-template-rows: 3.5rem;
    gap: 1.5rem;
    margin: 1.5rem 0;
    align-items: center;
}

footer .icon-grid .icon {
    display: grid;
    width: 100%;
    height: 100%;
    background-color: var(--bg-80);
    border-radius: 50%;
    text-align: center;
    align-items: center;
    font-size: 2rem;
}

footer #legal {
    background-color: rgba(0, 0, 0, .5);
    border-top: 1px solid var(--bg-80);
    color: var(--footer-font-color);
}

@media only screen and (min-width: 64em) {

    body { font-size: 1.5rem; }
    main .body-text h1 { font-size: 3rem; }
    main .body-text h2 { font-size: 2rem; }
    main .body-text ul { padding-left: 4rem; }

    footer { font-size: 1.25rem; }
    footer h2 { font-size: 3rem; }
    footer h3 { font-size: 1.75rem; }

    footer .icon-grid { grid-template-columns: 3.5rem 16rem; }
    footer .icon-grid-right { margin-left: 6rem;}
}

/*
-----------------------------
LINKS
-----------------------------
*/
a {
    cursor: pointer;
}

a.underline {
    position: relative;
    transition: all .3s;
}

a.underline:before {
    content: '';
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
    width: 0;
}

a.underline:hover {
    text-shadow: none;
}

a.underline:hover:before {
    width: 100%;
}

a.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 2rem;
    color: var(--bg-80);
    background-color: rgba(255, 255, 255, .5);
    text-shadow: none;
    transition: all .3s ease-in-out;
}

a.button:hover {
    color: var(--bg-0);
    background-color: rgba(0, 0, 0, .25);
}

/*
-----------------------------
ELEMENTS
-----------------------------
*/
main ul.list-group, main ul.list-links {
    background-color: var(--theme);
    color: var(--bg-0);
    border-radius: .5rem;
    overflow: hidden;
    font-weight: 400;
    text-shadow: var(--shadow);
    margin: 0;
    padding: 0;
    list-style: none;
}

main ul.list-links {
    border: 1px solid var(--theme);
    margin: 0 0 3rem 0;
    background-color: var(--bg-0);
    overflow: hidden;
}

main .list-group li {
    position: relative;
    padding: 0 2.5rem;
    margin: 1rem 0;
}

main .list-links li {
    margin: 0;
    padding: 0;
}

main .list-group li:nth-child(2) { margin-top: 2rem; }

main .list-links li a {
    display: block;
    width: 100%;
    padding: 1rem;
    color: var(--bg-80);
    text-shadow: none;
    font-weight: 300;
    transition: all .3s ease-in-out;
    white-space: wrap;
}

main .list-links li:nth-child(2n) a { background-color: var(--bg-10); }
main .list-links li a:hover { background-color: var(--bg-20); }

main .list-group li.list-group-header, main .list-links li.list-group-header {
    background-color: rgba(0, 0, 0, .25);
    padding: 1rem;
    margin: 0;
}

main .list-links li.list-group-header { background-color: var(--theme); }

main .list-group li.list-group-footer {
    text-align: center;
    padding: 3rem 0;
}

main .list-group li::before {
    position: absolute;
    top: 1px;
    left: 1rem;
    font-family: 'Line Awesome Free';
    font-style: normal;
    font-weight: 900;
    content: '\f105';
    color: #fff;
}

main .list-group li.list-group-header::before, main .list-group li.list-group-footer::before {
    content: unset;
}

@media only screen and (min-width: 48rem) {

    main .list-group {
        margin: 0 2rem;
    }

    main .list-group li.list-group-header {
        padding: 1rem 2rem;
    }

    main .list-group li {
        padding: .25rem 4rem;
    }

    main .list-group li::before {
        position: unset;
        top: unset;
        left: unset;
        padding-right: .5rem;
    }
}
