*{
    margin: 0% 0% 0% 0%;
    padding: 0;
    font-family: RobotoFlex;
}

body{
    margin:auto;
    width:auto;
}

#navbar{
    width:auto;
    background-color: #111111;
    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;
}

.header-box{
    max-height:720px;
    max-width: 100%;
    align-items: center;
    background-color: #111111;
    padding: 1vh 10% 1vh 10%;
}

a{
    text-decoration: none;
    color:#E6E6E6;
}

a:hover{
    color:#0881A3;
    transition: color .5s;
}

.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){
    #navbar{
        width:auto;
        height: auto;
        max-height: 164px;
        text-align: center;
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        line-height: 2rem;
    }

    #navbar a{
        width: 50%;
    }

    #navlogo{
        max-width: 100%;
        width: 15%;
        justify-self: center;
    }

    #navlist a {
        width: auto;
        padding: 2px 4px;
    }

    #navlist{
        display: inline-flex;
        flex-direction:row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .button{
        min-width:fit-content;
        max-height: fit-content;
        font-size: large;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .header-box{
        width: 100%;
        height: auto;
        padding: 2.5% 0 2.5% 0;
        font-size: large;
    }
}