/* Basic navbar styling */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    padding: 0px 100px;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
    background: rgba(96, 96, 96, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* for Safari */
    border-bottom: 1px solid rgba(204, 204, 204, 0.2);
    z-index: 1000;
}

/* Title on the left */
.navTitle {
    display: flex;
    align-items: center;
}

.navTitle h1 {
    font-size: 24px;
    font-style: italic;
    color: #fff;
}

/* Links in the center */
.links {
    flex: 1;
    display: flex;
    justify-content: center;
}
/*
nav .links li .current a {
    font-weight: 600;
}
*/
.links ul {
    display: flex;
}

.links ul li {
    margin: 2px;
    outline: none;
    transition: background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out, border 0.3s ease-in-out;
}

.links img {
    display: none;
}

.links ul li:hover, .links ul li:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: 1px solid rgba(204, 204, 204, 0.6);
    border-radius: 10px;
}

.links ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 12px 20px;
}

/* Discord link on the right */
.joinDiscord a {
    font-weight: 600;
    display: block;
    color: #fff;
    background-color: rgba(114, 137, 218, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* for Safari */
    padding: 10px 20px;
    border-radius: 10px;
    outline: none;
    transition: background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out, border 0.3s ease-in-out;
}

.joinDiscord a:hover, .joinDiscord a:focus {
    background-color: rgba(95, 130, 255, 0.7);
    outline: 1px solid rgba(204, 204, 204, 0.7);
    border-radius: 15px;
}


/* MOBILE */

@media (max-width: 480px) {
    nav {
        padding: 2px 0;
        top: auto;
        bottom: 0;
        font-size: 11px;
        border-bottom: none;
        border-top: 1px solid rgba(204, 204, 204, 0.2);
    }

    nav .links ul {
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    nav .links ul li {
        display: flex;
        flex-direction: column;
        padding: 10px;
        margin: 0;
        justify-content: center;
        align-items: center;
        text-align: center;
        max-width: 60px;
        height: 50px;
        width: 50px;
        gap: 10px;
    }

    .joinDiscord {
        display: none;
    }

    .navTitle {
        display: none;
    }

    .links img {
        display: block;
        height: 34px;
        width: 34px;
        filter: invert();
    }

    .joinDiscord a {
        padding: 8px 12px;
        font-size: 14px;
    }
}