nav {
    display: flex;
    background-color: rgba(0,0,0,0.5);
    justify-content: space-between;
    align-items: center;
    position: sticky;
    z-index: 999;
    top: 0;
}
a {
    text-decoration: none;
    color: #A04000; 
}
.navbar-menu {
    display: flex;
    gap: 5em;
    font-size: 25px;
    margin-right: 5%;
    padding: 1.5%;
}

.nav-title {
    font-size: 40px;
    font-family: cursive;
    margin-left: 3%;
    margin-top: auto;
    margin-bottom: auto;
}

.navbar-menu .navbar-item:hover {
    background-color: #4c9e9e;
    border-radius: 20px;
    transition: 0.2s ease;
}

.navbar-item {
    position: relative;
    color: white;
}

.navbar-selected {
    text-decoration: underline;
}

.italized-text {
    font-style: italic;
}

@media screen and (min-width: 380px) and (max-width: 890px){
    .navbar-menu {
        display: flex;
        gap: 1em;
        font-size: 25px;
        margin-right: 5%;
        padding: 2.5%;
    }
    nav {
        display: flex;
        flex-flow: wrap;
        background-color: rgba(0,0,0,0.5);
        justify-content: center;
        align-items: center;
        position: sticky;
        z-index: 999;
        top: 0;
    }
}

@media screen and (min-width: 0px) and (max-width: 380px){
    .navbar-menu {
        display: flex;
        gap: 1em;
        font-size: 25px;
        margin-right: 5%;
        padding: 2.5%;
        flex-flow: wrap;
    }
    nav {
        display: flex;
        flex-flow: wrap;
        background-color: rgba(0,0,0,0.5);
        justify-content: space-between;
        align-items: center;
        position: sticky;
        z-index: 999;
        top: 0;
    }
    a {
        text-decoration: none;
        font-size: 20px;
        color: #A04000;
        margin: 100px;
        align-items: center;
    }
    .nav-title {
        font-size: 30px;
        font-family: cursive;
        margin-left: 3%;
        margin-top: auto;
        margin-bottom: auto;
    }
}