#menu-bar {
    position: sticky;
    top: 0;
    left: 0;
    padding: 1.5em 15%;
    border-bottom: 1px solid #888;
    background-color: white;
    z-index: 1;
}

.menus {
    width: 28em;
}

.menu-button:hover {
    color: rgb(0, 189, 189);
}

.contact-me-button {
    padding: 0.7em 1.2em 0.6em 1.2em;
    border: 1px solid transparent;
    border-radius: 2em;
    background-color: black;
    color: white;
}

.contact-me-button:hover {
    border: 1px solid black;
    background-color: white;
    color: black;
}

/* Layouts */
#menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menus ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Media Queries */
@media (max-width: 1024px) {
    #menu-bar {
        padding: 0;
        border-bottom: 1px solid #888;
        background-color: white;
        z-index: 1;
        flex-direction: column;
        column-gap: 5vw;
    }

    .menus {
        width: 100vw;
        justify-content: space-evenly;
    }

    .menus ul {
        text-align: center;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 0;
    }

    .menus li {
        padding: 2vw;
    }

    .menus li:not(li:last-of-type) {
        font-size: 3vw;
    }

    h1 {
        font-size: 5vw;
        display: block;
        width: 100%;
        padding: 3.5vw 5vw;
        border-bottom: 1px solid #CCC;
    }

    #menu-bar .contact-me-button {
        position: fixed;
        top: 3vw;
        right: 4vw
    }
}
