*{
    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-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;
    }
    
    .header-box{
        width: 100%;
        height: auto;
        padding: 2.5% 0 2.5% 0;
        font-size: x-large;
    }
}