@import "styles.css";

/* mobile first */

html {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: normal;
    line-height: normal;
    color: inherit;
}

body {
    margin: 0;
    padding: 0 15px;
    font-family: var(--content-font);
    color: var(--text-color);
    background-color: var(--background-color);
    cursor: default;
}

a, a:link, a:visited {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*background-color: var(--background-color);*/
    /*z-index: 100; */
    /*margin: 0 2rem;*/
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--accent-color);
    font-family: var(--feature-font);
}

.header-logo {
    font-size: 1.75rem;
    cursor: pointer;
}

.header-logo a:hover {
    text-decoration: none;
}

#header_menu {
    display: flex;
    cursor: pointer;
}

#header_menu svg {
    height: 35px;
    width: 35px;
}

svg {
    fill: var(--accent-color);
}

nav {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--accent-color);
    font-size: 1.2rem;
}

.nav_link:not(:last-child) {
    padding-bottom: 1rem;
}

.divider {
    width: 1px;
    height: auto;
    min-height: 1.5em;
    /*margin: 0 auto;*/
    background-color: var(--accent-color);
}

.color-strip {
    display: block;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, 
        #db4035 0%,
        #db4035 16.66%, 
        #fa8901 16.66%, 
        #fa8901 33.33%, 
        #fad717 33.33%, 
        #fad717 50%, 
        #7ecc49 50%, 
        #7ecc49 66.66%, 
        #14aaf5 66.66%, 
        #14aaf5 83.33%, 
        #884dff 83.33%, 
        #884dff 100%
    );
}

footer {
    padding: 2rem 0;
    border-top: 1px solid var(--accent-color);
    font-size: 1.1rem;
}

.footer_container > :not(:first-child) {
    padding-top: 1rem;
}

.footer_heading {
    font-family: var(--feature-font);
    font-weight: bold;
}

.footer_divider {
    display: none;
}

#footer_copyright {
    padding-top: 2rem;
    text-align: center;
}

.mobile_label {
    display: block;
    padding-bottom: 1em;
}

.desktop_label {
    display: none;
}

/* desktop */

@media (min-width: 670px) {
    body {
        padding: 0 2rem;
    }
    
    nav {
        flex-direction: row;
        justify-content: space-evenly;
    }
    
    .nav_link:not(:last-child) {
        padding-bottom: 0;
    }
}

@media (min-width: 700px) {
    footer {
        padding-top: 1.75em;
        padding-bottom: 2.25em;
    }
    
    #footer_labels {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        font-weight: bold;
    }
    
    .footer_container {
        display: grid;
        grid-template-columns: 1fr auto 1.4fr auto 1fr;
        padding: 1rem 0;
    }
    
    .footer_container > :not(:first-child) {
        padding-top: 0;
    }
    
    .footer_navigation {
        text-align: left;
    }
    
    .footer_resources {
        text-align: center;
    }
    
    .footer_contact {
        text-align: right;
    }
    
    .footer_divider {
        display: block;
    }
    
    .mobile_label {
        display: none;
    }
    
    .desktop_label {
        display: block;
    }
    
    #footer_copyright {
        padding-top: 1.25rem;
    }
}
