#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 1em;
    background-color: #0a0a0a;
}

.logo-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 1em;
    height: 100%;
}

.logo {
    height: 70%;
    padding-right: .5em;
}

#main-nav, #main-nav ul {
    justify-content: right !important;
}

#main-nav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5em;
    font-size: 20px;
}

#main-nav h4 {
    margin: 0;
}

.menu-button {
    display: none;
}

#toggle-menu {
    display: none;
}

ul.simple-list {
    font-style: italic;
    padding: 0;
    font-size: 15px;
    justify-content: center;
}

.simple-list li {
    padding: .5em;
    margin: .25em;
    background-color: rgba(0,0,0, 40%);
    border-radius: 30px;
    white-space: nowrap;
    text-transform: lowercase;
}

.simple-list li:hover {
    background-color: #000;
    color: #d28a00;
}

@media only screen and (max-width:767px) {
    #header h1 {
        font-size: 30px;
        transition: 200ms;
    }

    #main-nav {
        position: absolute;
        flex-direction: column;
        align-items: center;
        right: 0;
        top: 0;
        z-index: 100;
        margin: 0;
        background: #333;

        width: 1px;
        height: 100%;
        white-space: nowrap;
        opacity: 0;
        overflow: hidden;

        transition-duration: 200ms;
        transition-timing-function: ease-in;
    }

    .menu-button {
        display: block;
        margin-left: auto;
        cursor: pointer;
    }

    .menu-button img {
        width: 35px !important;
        height: 35px !important;
        padding: 0;
    }

    #main-nav .menu-button {
        padding: 1em;
    }

    #toggle-menu:checked ~ #main-nav {
        opacity: 100;
        width: 100%;
        min-width: 100px;
        transition-duration: 200ms;
        transition-timing-function: ease-out;
    }

    #header img {
        width:60px;
        height: 60px;
        transition: 200ms;
    }
}