header, footer {
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 1rem;
}

@media (max-width: 1000px) {
    header, footer {
        width: 100%;
    }
}
header {
    border-left: var(--borderMedium);
    border-right: var(--borderMedium);
    border-bottom: var(--borderMedium);
    
}

nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

#title_link {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--textMain);
}
.nav_links {
    display: none;
}

.nav_links.active {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    position: absolute;
    top: 2.5rem;
    right: 0;
    width: 200px;
    background-color: var(--bgMain);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
    border-right: var(--borderMedium);
    border-left: var(--borderMedium);
    border-bottom: var(--borderMedium);
    border-radius: 0px 0px 10px 10px;
    font-size: 1.5rem;
    transform: translateX(1.1rem);
}

.menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle .bar {
    display: block;
    width: 1.5rem;
    height: .2rem;
    margin: 5px auto;
    background-color: var(--textMain);
    transition: all 0.3s ease-in-out;
}



footer {
    border-top: var(--borderMedium);
    border-left: var(--borderMedium);
    border-right: var(--borderMedium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_section {
    /*flex-grow: 1;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}