#navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: var(--height-medium-large);
    width: 100vw;
    z-index: 15;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

#navbar_buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-right: 15px;
}

#join {
    margin: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#join input[type=submit] {
    padding: 10px 20px;
    margin: 0;
}

#join input[type=text] {
    border: none;
    padding: 8px 0;
    width: 6ch;
    background: rgba(255, 255, 255, 0.1);
    font: 4ch droid sans mono, consolas, monospace;
    color: var(--text-light);
    letter-spacing: 0.5ch;
    text-transform: uppercase;
    font-weight: 600;
}

input:focus {
    outline: none;
    color: #1e90ff;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

#join input[type=text]::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

#logout_button, #settings_button, #notifications_button {
    text-align: center;
    border-radius: var(--border-radius);
    padding: 10px 15px;
}

#menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    width: 800px;
    max-width: 30vw;
    min-width: 250px;
    padding: 0px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.dropbtn, .dropdown-content {
    border: none;
    outline: none;
    height: var(--height-medium-large);
    line-height: var(--height-medium-large);
    width: 100%;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropbtn {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#dropdown_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    max-width: 30vw;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes expand {
    from {
        height: 0px;
        font-size: 0px;
        opacity: 0;
    } to {
        height: var(--height-medium-large);
        font-size: var(--text-medium);
        opacity: 1;
    }
}

@keyframes retract {
    from {
        height: var(--height-medium-large);
        font-size: var(--text-medium);
        opacity: 1;
    } to {
        height: 0px;
        font-size: 0px;
        opacity: 0;
    }
}

.dropdown-content {
    display: none;
    height: 0px;
    font-size: 0px;
    overflow: hidden;
    opacity: 0;
    animation-name: retract;
    animation-duration: 1s;
}

.dropbtn:hover,
.dropdown-content:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.dropbtn:active,
.dropdown-content:active {
    background-color: rgba(255, 255, 255, 0.2);
}

#menu:hover .dropdown-content {
    animation-name: expand;
    animation-duration: 0.5s;
    height: var(--height-medium-large);
    font-size: var(--text-medium);
    display: block;
    opacity: 1;
}

#menu:hover .dropbtn i{
    display: none;
}

@media screen and (max-width: 900px) {
    .dropbtn, #menu {
        min-width: 70px;
        max-width: 110px;
    }
    .dropdown-content {
        width: 300px;
    }
}

@media screen and (max-width: 600px) {
    #navbar_buttons {
        display: none;
    }
    #navbar_buttons > * {
        float: right;
        clear: both;
    }
}
