@media screen and (min-width: 800px){

    .main-footer {
        position: absolute;
        color: #121212;
        margin-top: 50px;
        display: inline-block;
    }

    .footer_container, .copyright {
        margin-left: 240px;
        margin-bottom: 0;
    }

    .footer_item{
        width: 33.33%;

    }
}



@media screen and (max-width: 800px) {

    #intro{
        height: 60px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
        margin-top: 3em;
    }

    p {
        font-size: 1.2em;
        line-height: 1.6em;
    }

    .main-header {
        width: 0;
        display: none;
    }

    .content-wrapper {
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-footer {
        margin-left: 0;
    }

    .nav_mobile {
        background-color: #ffffff;
        position: fixed;
        width: 100%;
        top: 0;
        height: 60px;
        align-items: center;
        z-index: 30;
        display: flex;
    }

    .nav_logo {
        left: 20px;
        text-align: left;
        padding-left: 20px;
        font-size: 1.5em;
        font-weight: 500;
    }

    .closebtn {
        right: 20px;
        position: absolute;
        font-size: 1.5em;
    }


    #nav_logo_open {
        color: #121212;
        font-size: 32px;
    }

    /* The Overlay (background) */
    .overlay {
        height: 0;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #ffffff;
        overflow-y: hidden;
        transition: 0.5s;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .overlay-content {
        position: relative;
        width: 100%;
        text-align: left;
        padding-left: 40px;
    }

    .overlay-content li {
        list-style-type: none;
    }

    .overlay a {
        text-decoration: none;
        font-size: 24px;
        color: #818181;
        display: block;
        transition: 0.3s;
        padding-bottom: 20px;
        font-weight: 500;
    }

    .overlay a:hover, .overlay a:focus {
        color: #121212;
    }

    .nav_mobile i {
        padding: 20px;
        margin: -20px;
    }

    .overlay .closebtn {
        position: absolute;
        right: 20px;
        font-size: 1.5em;
        font-weight: 200;
        z-index: 100;
    }

    .footer_container{
        float: left;
        width: 100vw;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .footer_item {
        display: inline-block;
        width: 100%;
        border-bottom: 1px solid #CFCFCF;
        border-right: none;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .footer_item > p, h3{
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer_container {
        display: inline-block;
    }

    .footer_item p{
        margin-bottom: 0;
    }

    .copyright {
        margin-bottom: 0;
    }

    td, th {
        display: inline-block;
    }

    .overlay-content ul {
        margin: 0;
        padding: 0;
    }

}

@media screen and (max-height: 450px) {
    .overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


@media (min-width: 800px){
    .nav_mobile {
        display: none;
    }
}