@import url("./variables.css");

.topbar {
    width: 95%;
    height: 5rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    background-color: rgba(182, 182, 217, 0.084);
    box-shadow: 0px 0px 30px rgba(187, 187, 217, 0.139);
    border-color: 2px solid rgba(255,255,255,0.18);
    margin: 0;

    display: flex;
    align-items: center;

    margin-left: 2.5%;
    margin-top: 20px;
    border-radius: 200px;

    font-size: 1rem;
}

@media (max-width: 700px) {
    .topbar-links {
        display: none !important;  
    }
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-left: 40%;
}

.topbar-links .item {
    will-change: filter;
    transition: filter 300ms, transform 300ms;
}

.topbar-links .item:hover {
    filter: drop-shadow(5px 5px 0.25em black);
    cursor: pointer;
}

.topbar-links .item span {
    font-family: "Lexend", sans-serif;

    display: inline-block;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.3s;

    font-size: 1.1rem;

    text-shadow: 2px 0px 10px rgb(90, 93, 97);
}

.topbar-links .item span:hover {
    transform: scale(1.1);
}

.topbar .account {
    background-image: url(./user.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    right: 1rem;
}

.topbar .logo {
    position: absolute;
    top: 0.125rem;
    left: 0.5rem;

    display: flex;
    align-items: center;

    gap: 8px;
}

.topbar .logo img {
    height: 4.7em;
    will-change: filter;
    transition: filter 500ms;
}

.topbar .logo img:hover {
    filter: drop-shadow(0 0 2em #000000);
    cursor: pointer;
}

.topbar .logo span {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
    
}