*{
    margin: 0% 0% 0% 0%;
    padding: 0;
}

body{
    margin: auto;
    width: auto;
    font-family: RobotoFlex;
}

a{
    text-decoration: none;
    color:#E6E6E6;
}

a:hover{
    color:#0881A3;
    transition: color .5s;
}

#navbar{
    width:auto;
    height: auto;
    max-height: 164px;
    text-align: center;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

#navlist{
    display:inline-flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    max-width: 55%;
    min-width: 35%;
    width:auto;
}

#navlist a{
    padding: 8px 16px;
}

#navlogo{
    max-width: 48px;
}

#headlogo{
    display:block;
    margin:auto;
    max-width: 50%;
}

.header-box{
    max-height:720px;
    max-width: 100%;
    margin:auto;
    align-items: center;
    background-color: #000000;
    padding: 1vh 10% 2.5vh 10%;
}

.content-box{
    padding: 2.5% 10% 2.5% 10%;
    background-color: #E6E6E6;
}

.content-row{
    display:inline-flex;
    width: 100%;
    align-items: top;
    flex-direction: row;
    justify-content: space-between;
}

.content-column{
    flex:1;
    max-width: 45%;
    padding: 1% 0 1% 0;
    margin-bottom: 48px;
    line-height: 1.4rem;
}

.content-column a {
    text-decoration: none;
    color: #000000;
}

.content-column a:hover{
    color: #0881A3;
}

.margin-setter{
    max-width: 75%;
    margin:auto;
}

.icon{
    max-width: 20px;
    padding: 0 0 6px 0;
}

.subhead{
    color: #828282;
}

.button{
    border: 2px solid;
    border-radius: 8px;
    border-color:#E6E6E6;
    padding: 8px 8px;
    cursor:pointer;
    text-align: center;
    min-width: max-content;
}

@media screen and (max-device-width: 500px){

    html,body{
        height:auto;
        width: 100%;
    }

    body{
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .content-box{
        width: 100%;
        height:auto;
        align-items: center;
        text-align: center;
        padding: 1vh 0 0 0;
        line-height: 1.2rem;
        font-size: x-large;
    }

    .content-row{
        display:table;
        width:90%;
        padding:0 5% 0 5%;
        align-items: center;
    }

    .content-column{
        max-width: 100%;
        padding-top:2%;
    }

    .content-column img{
        align-self: center;
        display: initial !important;
    }

    .header-box{
        width: 100%;
        height: auto;
        padding: 0;
        font-size: x-large;
    }

    h2{
        width: 90% !important;
        text-align: center;
        padding:0 5% 0 5%;
        line-height: normal;
    }
    
    .icon{
        max-width: 7.5%;
        width: 7.5%;
        padding: 0 0 1% 0;
    }

    .infobox{
        font-size: x-large;
        line-height: 1.2rem;
    }

    #navbar{
        width:auto;
        height: auto;
        max-height: 164px;
        text-align: center;
        display:flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        line-height: 2rem;
    }

    #navbar a{
        width: 50%;
    }

    #navlogo{
        max-width: 100%;
        width: 15%;
    }

    #navlist{
        max-width: 80%;
        min-width: 60%;
        width: auto;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        text-align: left;
    }

    .button{
        min-width:fit-content;
    }

    #headlogo{
        padding:2vh 0 2vh 0;
    }

    a :hover{
        color:#E6E6E6;
        transition:none;
    }

    #footer-box{
        font-size: x-large;
    }

}