#header{
    height: var(--navigation-height);
    width: 100%;
    min-width: fit-content;
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background-color: var(--color-surface);
    position: sticky;
    top: 0;
    box-shadow: 0 0 .5em .05em var(--color-shadow);
    z-index: 1000;
}

#burger-menu{
    display: none;
}

#mobile_menu{
    display: none;
}

.logo{
    height: 100%;
    padding: .5rem 0;
    margin-left: 1rem;
}

.header-logo{
    height: 100%;
    object-fit: contain;
}

#navigation{
    margin-left: auto;
    margin-right: 2rem;
    flex-wrap: wrap;
    padding: 0 2em;
}

.navigation-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}

.navigation-link{
    font-size: var(--text-size-md);
    color: var(--color-text);
    font-family: var(--font-ui);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.navigation-link:after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: 350ms;
}

.navigation-link:hover:after{
    width: 100%;
}

#footer{
    width: 100%;
    min-height: var(--footer-height);
    height: auto;
    background-color: var(--color-brand-800);
    padding: 2rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui-2);
    color: var(--color-on-primary);
}

#footer a{
    color: var(--color-on-primary);
}

#footer a:visited{
    color: var(--color-on-primary);
}

.footer-row{
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-col{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: fit-content;
    box-sizing: border-box;
    padding: .25rem .5rem;
}

.footer-col-info {
    margin: .5rem 0;
}

.footer-addr, .footer-contact {
    margin-top: .25rem;
    font-size: var(--text-size-md);
    font-weight: normal;
}

.footer-col-info p {
    font-family: var(--font-heading);
    margin: 0 0 2px 0;
    font-weight: 600;
}


#addr {
    font-weight: normal;
}

#top{
    padding-bottom: 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    position: relative;
}

.footer-link {
    text-decoration: none;
    color: var(--color-on-primary);
    font-weight: normal;
    transition: color .2s;
    padding: 0 0;
    position: relative;
    z-index: 2;
}




#bottom{
    padding: .5rem 0 .25rem 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-on-primary);
}

#bottom p{
    margin: 0;
}

/* 3. Large (lg) -> Medium (md) */
/* Targets screens 1023px and smaller (laptops -> tablets) */
@media (max-width: 1023px) {

}


/* 4. Medium (md) -> Small (sm) */
/* Targets screens 767px and smaller (tablets -> large phones) */
@media (max-width: 767px) {
    #navigation {
        display: none;
    }

    .burger-menu-wrapper {
        display: flex;
        margin-left: auto;
    }

    #burger-menu {
        box-sizing: border-box;
        outline: none;
        display: flex;
        border: none;
        outline: none;
        border-radius: 50%;
        background-color: transparent;
        cursor: pointer;

    }

    #burger-menu svg {
        color: var(--color-primary-hover);
        height: 36px;
        width: 36px;
    }

    .closed {
        width: 0;
    }

    .closed > * {
        display: none;
    }

    .closed .mobile-menu-bottom-bar {
        display: none;
    }

    .open {
        width: 300px;
        box-shadow: 0 0 .5em .05em var(--color-shadow);
    }

    .open .mobile-menu-top-bar {
        /*box-shadow: 0 0 .5em .05em var(--color-shadow);*/
    }

    .open #mobile_menu {

    }

    .open li {
        box-sizing: border-box;
        width: 100%;
        padding: .5rem .5rem;
        border-radius: .5rem;
        margin: 1.25rem 0;
        transition: 100ms;
    }

    .open li:active {
        box-shadow: 0 0 .35em 0 var(--color-primary);
    }

    #mobile_menu {
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: start;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        background: var(--color-brand-800);
        z-index: 1001;
        border-left: 1px solid var(--color-border);
        transition: width 0.4s;
        border-top-left-radius: 1rem;
        border-bottom-left-radius: .5rem;
    }

    .mobile-logo {
        margin-left: auto;
        /*margin-right: auto;*/
        height: 36px;
        width: auto;
    }

    .mobile-menu-top-bar {
        width: 100%;
        height: var(--navigation-height);
        box-sizing: border-box;
        padding: 1rem .5rem;
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: start;
        border-top-left-radius: 1rem;

    }

    .mobile-menu-top-bar button {
        box-sizing: border-box;
        display: flex;
        border: none;
        outline: none;
        border-radius: 50%;
        background-color: transparent;
        cursor: pointer;
    }

    .mobile-menu-top-bar svg {
        color: var(--color-on-primary);
        height: 36px;
        width: 36px;
        transition: 200ms;
    }

    .mobile-menu-top-bar button:hover svg {
        color: var(--color-secondary-hover);
    }

    .mobile-menu {
        box-sizing: border-box;
        padding: 2rem .5rem;
        list-style: none;
        margin: 0;
        width: 100%;
    }

    .mobile-menu li a {
        display: block;
        font-size: var(--text-size-lg);
        font-weight: 600;
        font-family: var(--font-ui-2);
        color: var(--color-on-primary);
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .mobile-menu-bottom-bar {
        margin-top: auto;
        width: 100%;
        box-sizing: border-box;
        padding: 1rem .5rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /*border-top: 1px solid var(--color-border);*/
        font-size: var(--text-size-sm);
    }

    .mobile-menu-bottom-bar span a {
        font-size: var(--text-size-sm);
        color: var(--color-on-primary);
        text-decoration: none;
    }

    #footer {
        padding: 2rem .5rem 0 .5rem;
    }

    .footer-row {
        width: 100%;
    }


}

/* 5. Small (sm) -> Mobile */
@media (max-width: 639px) {

}