/*NOTE - THE LOGO STYLES FOR THE HOME PAGE ARE IN HOME.CSS*/
header,
footer {
    background-color: var(--comp);
}
header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .5rem 0;
    align-items: center;
    justify-items: center;
}

header * {
    color: var(--neutralLight);
}
.contactBar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-left: 2rem;
    align-items: center;
    text-align: center;
}
.contactBar p {
    display: inline;
}
.logo-nav {
    font-family: body;
    width: 100%;
    background-color: var(--neutralLight);
    color: var(--comp);
    border-bottom: 7px solid var(--comp);
    position: fixed;
    z-index: 3;
    padding: 1rem 0;
}
.logoContainer {
    position: absolute;
    top: 5rem;
    background-color: white;
    z-index: 4;
}
.logo {
    background-image: url(../images/GBArt_Logo_NoBackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    height: 9rem;
}
.logo a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
/*THE FOLLOWING REMOVES THE DESCENDER SPACE BELOW GBART */
.logo a::after {
    content: " ";
    margin-top: -10px;
    display: block;
}
.logoSide {
    font-size: 1.2rem;
    font-weight: bold;
    padding-left: .5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.firstLine {
    font-size: 1.3rem;
}
.secondLine {
    font-weight: normal;
}
a[onclick] {
    cursor: pointer;
}
footer .email {
    grid-area: email;
    display: block;
}
footer .membership {
    grid-area: membership;
}
footer .social {
    grid-area: social;
}
footer .acknowledgement {
    grid-area: acknowledgement;
    font-style: italic;
    font-size: .9rem;
    text-align: center;
    margin: 1rem 0;
}
footer .webdesign {
    grid-area: webdesign;
    text-align: center;
    margin-top: 1rem;
    text-decoration: underline;
}
footer {
    padding: 1rem 1rem 3rem 1rem;
    margin-bottom: 3rem;
    color: var(--neutralLight);
    display: grid;
    grid-template-areas: 
        "email membership social"
        "acknowledgement acknowledgement acknowledgement"
        "webdesign webdesign webdesign";
}
footer p {
    margin: 0;
    flex: 1;
}
footer p:nth-of-type(2) {
    text-align: center;
}
.banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--mainMid);
    text-align: center;
    padding: .5rem;
    font-size: 1.5rem;
    z-index: 1;
}
.banner>p {
    margin: 0;
}
.banner a {
    color: var(--neutralLight);
    padding: .5rem 0;
    display: inline-block;
    text-decoration: none;
}
#menubutton {
    display: none;
}
nav {
    color: inherit;
}
nav>ul {
    display: flex;
    justify-content: space-evenly;
    font-size: 1.3rem;
}
nav ul ul {
    position: absolute;
    background-color: var(--mainDark);
    width: 35rem;
    top: 2rem;
    z-index: 1;
    columns: 3;
    left: 51%;
    transform: translateX(-51%);
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .5);
}
ul ul li {
    padding: 1rem;
    -webkit-column-break-inside: avoid;
}
nav li {
    /*position: relative;*/
    text-align: center;
    flex: 1;
}
nav a {
    transition: .3s;
    display: block;
    width: 100%;
    padding: .5rem 0;
}
nav a:hover {
    opacity: .5;
}
[for="menubutton"] {
    display: none;
}
.current {
    opacity: .3;
}
.current a {
    pointer-events: none;
}
.current a:hover {
    color: initial;
}
.social {
    text-align: right;
}
.social a {
    margin-right: 1em;
    font: normal normal normal 14px/1 FontAwesome;
    text-decoration: none;
    font-size: 1.5rem;
    transition: .3s;
}
.social a:hover {
    color: var(--neutralMid);
}
.social a::after {
    font-family: body;
    font-size: 1rem;
    padding-left: 1rem;
}
.social a[href*="facebook"]::before {
    content: "\f09a";
}
.social a[href*="facebook"]::after {
    content: "Facebook";
}
.social a[href*="instagram"]::before {
    content: "\f16d";
}
.social a[href*="instagram"]::after {
    content: "Instagram";
}
.social a[href*="twitter"]::before {
    content: "\f099";
}
.social a[href*="youtube"]::before {
    content: "\f167";
}
.social a[href*="youtube"]::after {
    content: "YouTube";
}
.social a:last-of-type {
    margin-right: 0;
}
.social img {
    display: none;
}
.email {
    margin-bottom: 1rem;
}
.eventPage {
    font-weight: bold;
    font-size: 1.5rem;
}
#menubutton {
    display: none;
}
@media only screen and (max-width: 1280px) {
    nav li {
        flex: initial;
    }
}
@media only screen and (max-width: 1255px) {
    .logoSide {
        font-size: 1rem;
    }
}
@media only screen and (max-width: 1215px) {
    .logoContainer {
        padding-left: .2rem;
    }
}
@media only screen and (max-width: 1170px) {
    .logoContainer {
        padding-left: 0;
    }
}
@media only screen and (max-width: 1050px) {
    nav>ul {
        justify-content: space-around;
    }
    nav li {
        flex: initial;
    }
}
@media only screen and (max-width: 980px) {
    .logoContainer {
        top: 0;
    }
    [for="menubutton"] {
        display: block;
        position: absolute;
        right: 16px;
        color: white;
        z-index: 40;
        font-size: 2rem;
        text-decoration: none;
        background-image: url(../graphics/hamburgerOpenBlack.png);
        width: 36px;
        height: 36px;
    }
    #menubutton:checked+[for="menubutton"] {
        background-image: url(../graphics/hamburgerCloseBlack.png);
        width: 41px;
        height: 42px;
    }
    nav {
        flex-direction: column;
        width: 0;
        overflow: hidden;
        transition: width .3s;
        color: transparent;
    }
    nav ul ul {
        background-color: initial;
        padding-left: 2rem;
    }
    ul ul li {
        border-bottom: none;
    }
    nav a:hover {
        color: var(--comp);
    }
    .logoContainer:has(+ .logo-nav #menubutton:checked) {
        z-index: 1;
    }
    #menubutton:checked+label+nav ul ul {
        display: block!important;
        visibility: visible!important;
        position: static;
    }
    #menubutton:checked+label+nav {
        width: 100%;
        background-color: var(--mainDark);
        color: var(--neutralLight);
        position: absolute;
        left: 0;
        height: 100vh;
        top: 0;
    }
    #menubutton:checked+label+nav li {
        padding: 1rem;
    }
    #menubutton:checked+label+nav ul ul li:last-of-type {
        padding-bottom: 0;
    }
    #menubutton:checked+label+nav .submenu {
        padding-bottom: 0;
    }
    #menubutton:checked+label+nav>ul {
        display: block;
        margin-top: 5rem;
        font-size: 1.5rem;
    }
    .sf-sub-indicator {
        display: none;
    }
    footer {
        grid-template-areas:
            "email social"
            "membership membership"
            "acknowledgement acknowledgement"
            "webdesign webdesign";
    }
}
@media only screen and (max-width: 870px) {
    footer .webdesign {
        margin-bottom: 2rem;
    }
}
@media only screen and (max-width: 800px) {
    footer {
        display: block;
    }
    footer p,
    footer p:nth-of-type(2),
    .social {
        text-align: center;
    }
    .social {
        margin: 1.5rem 0;
    }

}
@media only screen and (max-width: 670px) {
}
@media only screen and (max-width: 560px) {
    .titleContainer .name {
        font-size: 2.5rem;
    }
}
@media only screen and (max-width: 410px) {
    .social a {
        margin-right: 6rem;
    }
    .social a::after {
        display: none;
    }
}
@media only screen and (max-width: 395px) {
    .social a {
        display: block;
        margin-bottom: 1.5rem;
        margin-right: 0;
    }
}
@media only screen and (max-width: 360px) {
     footer .webdesign {
          margin-bottom: 2rem;
     }
}
