:root {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    --blue: #253D87;
    color: #2c2e43;
    overflow-x: hidden;
    --padding: 50px;
}

body,
main {
    font-family: inherit !important;
    font-size: inherit;
}

@media (max-width: 1250px) {
     :root {
        --padding: 30px;
    }
}

a {
    color: #3d90c7;
}


/* a:hover,
a:focus {
    color: currentColor;
    text-decoration: none;
} */

header>section {
    padding: 10px var(--padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header>section:last-child {
    padding-top: 0;
    padding-bottom: 0;
}

header ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: .5rem 20px;
}

@media (max-width: 767px) {
    header>section {
        display: block;
    }
    header nav {
        width: 100% !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .contact-list {
        font-size: 13px;
    }
}

[alt="Energy Workforce and Technology Council"] {
    width: 300px;
    max-width: 100%;
    display: block;
    height: auto;
}

header nav {
    padding: 10px;
    background: var(--blue);
    position: relative;
    margin-right: calc(var(--padding) * -1);
    padding-right: var(--padding);
    font-family: "Montserrat", Sans-serif;
    text-size-adjust: 100%;
    width: calc(100vw - 445px);
}

@media (max-width: 1350px) {
    header nav {
        width: calc(100vw - 370px);
    }
}

@media (min-width: 1451px) {
    header nav::before {
        content: '';
        position: absolute;
        left: -23px;
        top: 0;
        bottom: 0;
        background-image: url('../images/wedge.png');
        background-repeat: no-repeat;
        background-size: cover;
        width: 23px;
    }
}

header nav ul {
    gap: unset;
    justify-content: flex-end;
    flex-wrap: wrap;
}

header nav a {
    padding: 10px;
    color: white;
    transition: .125s background ease-in-out;
    border-radius: 2px;
    font-size: 1rem;
    display: block;
}

header nav a:hover,
header nav a:focus {
    color: white;
    text-decoration: none;
    background: #FFFFFF1C;
}

@media (max-width: 1250px) {
    header nav ul {
        gap: 0 5px;
    }
    header nav a {
        padding: 10px 5px;
    }
}


/* Footer */

footer {
    background: var(--blue);
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
}

footer * {
    color: white;
}

footer .container {
    border-left: 1px solid rgba(255, 247, 241, 0.22);
    border-right: 1px solid rgba(255, 247, 241, 0.22);
}

footer .col-md-12 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 30px;
}

footer section {
    padding: 3rem 0 5rem;
}

@media (max-width: 767px) {
    footer section {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    footer section {
        padding: 1rem 0;
    }
}

.footer-navigation ul {
    width: 260px;
    max-width: 100%;
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem 50px;
}

.footer-contact ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 17px;
    width: 440px;
    max-width: 100%;
}

.footer-contact li:last-child {
    margin-top: 1em;
}

@media (min-width: 1001px) {
    .footer-social-section {
        text-align: right;
    }
}

footer h2 {
    opacity: .5;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 1.5em;
    font-family: inherit;
    text-size-adjust: 100%;
    letter-spacing: .5px;
}

footer .socials-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: .5rem 20px;
}

footer span {
    display: block;
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
}


/* Custom login page layout */

#top-verbiage-section {
    grid-area: top-verbiage;
}

#top-customization-section {
    grid-area: top-customization;
}

#login-section {
    grid-area: login;
}

#bottom-customizations-section {
    grid-area: bottom-customizations;
}

#bottom-verbiage-section {
    grid-area: bottom-verbiage;
    border-left: 1px solid black;
    padding-left: 10px;
}

#member-login {
    gap: 1rem 30px;
}

@media (min-width: 991px) {
    #member-login {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "top-verbiage top-verbiage" "top-customization top-customization" "login bottom-verbiage" "bottom-customizations bottom-customizations";
    }
}