nav 
{
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    z-index: 2;
    transition: 0.5s;
    border: 1px solid transparent;
}
nav.fixed
{
    background-color: var(--white);
    padding: 10px 40px;
    border: 1px solid var(--accent);
}
nav .logo
{
    width: 20%;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    color: var(--black);
}
nav .logo img
{
    width: 45px
}
.logo span
{
    font-family: calsans;
    font-size: 1.3rem;
    line-height: 1;
    text-transform: uppercase;
}

.links
{
    display: flex;
    justify-content: center;
    gap: 30px;
    width: fit-content;
}
.links:hover .link
{
    filter: blur(2px);
}
.link:hover
{
    filter: none !important;
}

.cta
{
    width: 20%;
    text-align: right;
}

.hamburger
{
    display: none;
    flex-direction: column;
    transition: 0.3s;
    cursor: pointer;
}
.hamburger span
{
    width: 25px;
    height:1px;
    background-color: var(--black);
    transition: 0.5s;
}
.hamburger span:not(:last-child)
{
    margin-bottom: 5px;
}
.hamburgerspan:nth-child(2)
{
    transition: 0.1s;
}
.hamburger.active span
{ 
    width: 20px;
    margin: 0;
}
.hamburger.active span:nth-child(2)
{
    opacity: 0;
}
.hamburger.active span:last-child
{
    margin-top: -2px;
    transform: rotate(45deg);
}
.hamburger.active span:first-child
{
    transform: rotate(-45deg);
}
.nav-overlay
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: -100vh;
    left: 0;
    background-color: #efefef;
    z-index: 1;
    transition: 0.5s;
}
.nav-overlay.active
{
    top: 0;
}

.overlay-links
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}
.overlay-links a
{
    font-size: 1.5rem;
    opacity: 0;
    transition: 0.3s;
}
.footer
{
    border-top: 1px solid var(--accent);
}
.footer-wrap
{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 50px 100px 30px;
}
.footer-box h3
{
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.footer-box a
{
    display: block;
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
}
.credits
{
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 0.8rem;
}
.credits a
{
    color: var(--accent);
}
@media screen and (max-width: 1200px) 
{
    .footer-wrap
    {
        padding: 50px 30px;
    }
    .footer-wrap
    {
        gap: 20px;
    }
    .footer-box
    {       
        width: calc(50% - 20px);
    }
    nav .links
    {
        display: none;
    }
    nav .cta
    {
        display: none;
    }
    .hamburger
    {
        display: flex;
    }
}
@media screen and (max-width: 900px)
{
    nav, nav.fixed
    {
        padding: 10px 20px;
    }
    .footer-box
    {       
        width: calc(100% - 20px);
    }
}