.navbar {
    position: fixed;
    width: 100%;
    z-index: 2;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    height: 5rem;
    transition: all 0.3s ease;
    animation-name: name;
    animation-duration: 2s;
}

.navbar .container {
    justify-content: space-between;
}

.navbar .brand {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.navbar ul {
    display: flex;
    list-style-type: none;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.navbar ul li a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    display: block;
    margin: 0 1rem;
    font-family: 'Share Tech Mono', monospace;
}

.navbar ul li a:hover {
    color: #818b8f;
}

.navbar button {
    background-color: transparent;
    display: none;
    cursor: pointer;
    padding: 10px 10px 4px;
    outline: none;
    border: none;
}

.navbar button:active {
    color: #000;
}

.navbar button span {
    width: 26px;
    height: 1px;
    border: 2px solid white;
    margin-bottom: 6px;
    display: block;
    border-radius: 2px;
}

.navbar button.collapsed span:nth-child(1) {
    border: 2px solid #818b8f
}

.navbar button.collapsed span:nth-child(2) {
    border: 2px solid #818b8f
}

.navbar button.collapsed span:nth-child(3) {
    border: 2px solid #818b8f
}


@media screen and (max-width: 600px) {
    .navbar {
        height: auto;
        padding: 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navbar .container {
        width: 100%;
        background: #000000;
        height: auto;
        flex-wrap: wrap;
        padding: 1rem;
    }

    .navbar button {
        display: block;
        padding: 1rem;
        background-color: transparent;
    }

    .navbar button:hover {
        background-color: transparent;
    }

    .navbar ul {
        width: 100%;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        margin: 0;
        padding: 0;
    }
    .navbar ul li{
        padding: 0.5rem;
    }
}

.navbar ul.expanded {
    max-height: 100vh;
}