.navbar {
    background: #222222;
    justify-content: space-between;
    height: 75px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    position: sticky;   /* sticks to the screen when you scroll */
    top: 0;
    z-index: 999;
}

.navbar__title {
    font-size: 1.5rem;
    margin: 0.5rem;
    width: 40%;
    display: flex;
    justify-content: center; 
}

.navbar__title a {
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    font-family: "monaco" monospace;
    transition: all 0.3s ease;
    background-color: #ffffff !important;
}

.navbar__title a:hover {
    background-color: #0000ff !important;
}

.navbar__container {
    display: flex;
    justify-content: center;  
    height: 75px;
    z-index: 1;
    width: 60%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.navbar__container ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.navbar__item {
    height: 80px;
}

.navbar__container a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    text-decoration: none;
    height: 100%;
    transition: all 0.3s ease;
}

.navbar__container a:hover {
    color: #0000ff;
    transition: all 0.3s ease;
}

.toggle_button {
    position: absolute;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    width: 40px;
    height: 75%;
    z-index: 10;
}

.toggle_button:hover {
    cursor: pointer;
}

.toggle_button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    margin: 2.5% auto;
}

@media (max-width: 650px) {
    .navbar__title {
        width: 35%;
    }

    .navbar__title a {
        font-size: 1.5rem;
    }

    .toggle_button {
        display: flex;
    }

    .navbar__container {
        display: none;
        padding: 0;
        margin: 0;
        height: 100%;
        flex-direction: column;
    }

    .navbar__container.active {
        display: flex;
        justify-content: flex-start;
        margin-top: 150px;
    }

    .navbar__container.active ul {
        flex-direction: column;
    }

    .navbar__container a {
        width: 100%;
    }

    .navbar__container.active a {
        background-color: rgba(100, 100, 100, 0.9);
    }

    .navbar__container.active a:hover {
        background-color: rgba(150, 150, 150, 0.9);
    }

}
