* {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #F9F9F9;
}

main  {
    flex: 1;
    background-color: #F9F9F9;
    padding-top: 3.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav {
    box-sizing: border-box;
    height: 3.75rem;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    position: fixed;
    top:0%;
    left: 50%;
    transform: translateX(-50%);
    font-size: .75rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.16);
    z-index: 999;
}

#nav-content {
    box-sizing: border-box;
    width: 92%;
    max-width: 112.25rem;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

}


.logo:link, .logo:visited, .logo:hover, .logo:active {
    color: inherit;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#logo {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
}

.company-name {
    color: black;
    font-weight: bold;
    padding-left: 0.5rem;
    font-size: 1rem;
}

.company-name span{
    color: #3FB0E6
}


.page-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
}

.page-nav li a{
    text-decoration: none;
    color: black;
    margin-right: 2rem;
    white-space: nowrap;
    font-weight: 500;
}

#nav-button{
    padding: 0.75rem 1rem;
    background-color: #084999;
    color: white;
    font-weight: bold;
    border-radius: 0.25rem;
    margin: 0;
}


#burger{
    display: none;
}

#burger .line{
    transition: all 0.3s ease;
    stroke: white;
}

#circle{
    transition: all 0.3s ease;
    fill: rgba(8, 74, 153, 1);
    filter: blur(0px);
    r: 12px
}

#burger.inactive .line {
    stroke: #084999
}

#burger.inactive #circle {
    fill: rgba(8, 74, 153, 0);
    filter: blur(2px);
    r: 16px
}

#burger.inactive #line1 {
    d: path("M9 11H25");
}

#burger.inactive #line2 {
    d: path("M9 16H25");
}

#burger.inactive #line3 {
    d: path("M9 21H25");
}


footer{
    font-size: 1rem;
    width: 100%;
    height: 3rem;
    margin-top: 2rem;
    background-color: #084999;
    display: flex;
    align-items: center;
    justify-content: center;
}

blockquote{
    color: white;
    font-style: italic;
    text-align: center;
}

cite{
    font-weight: 400;
    color: rgba(255, 255, 255, 0.64);
    text-align: center;
    margin-left: 0.5rem;
}

.fade-in-section{
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 54rem){

    nav{
        box-shadow: none;
    }

    .company-name{
        font-size: 0.75rem;
    }
    
    #burger{
        display: inline;
        margin-left: 1rem;
    }

    .nav-mask{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background-color: white;
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.16);
        z-index: -1
    }


    .page-nav {
        position: absolute;
        width: 92%;
        flex-direction: column;
        padding: 0.75rem 0;
        background-color: #084999;
        border-radius: 0 0 1rem 1rem;
        font-size: 0.75rem;
        box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.32);
        z-index: -2;
    }

    #page-nav.retract {
        top: -15rem;
        transition: top 0.4s ease-in-out;
    }

    #page-nav {
        top: 3.75rem;
        transition: top 0.4s ease-in-out;
    }

    .page-nav li{
        margin: 0.88rem;
        text-align: center;
    }

    .page-nav li a{
        text-decoration: none;
        margin: 0;
        color: white;
        font-weight: 500;
    }

    #nav-button{
        padding: 0;
        background-color: none;
        font-weight: 500;
        margin: 0;
    }

    .nav-lines{
        border-color: rgba(255, 255, 255, 0.08);
    }      

    footer{
        font-size: 0.7rem;
        flex-direction: column;
    }
}