/*Top Bar*/
.topbar{
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 998;
    padding: 10px;
    user-select: none;
    background-color: var(--off-dark-color);
    width: 100%;
}
.topbar .container{
    display: flex;
    max-width: 2000px;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    max-height: 60px;
}

.topbar .container .stats{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin: 30px auto;
    max-width: 1000px;
    max-height: 60px;
}

.stats .stat{
    display: flex;
    color: whitesmoke;
    align-items:baseline;
    align-content: baseline;
    justify-items:stretch;
    font-size: 1.3rem;
    font-weight: bold;
}

.topbar .container .login-link{
    display: inline-block;
    text-decoration: underline;
}


/* PFP */
.pfp{
    height: 100%;
    padding: 0;
}
.pfp img {
    height: 60px;
    width: auto;
    vertical-align: middle;
}

/* Nav Bar */
.navbar {
    /*background-color: rgb(4, 4, 31);*/
    padding: 20px;
    padding-top: 100px;
    user-select: none;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.navbar .main-menu ul{
    display: flex;
    gap: 10px;
}

.navbar ul li a{
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}
.navbar ul li a i{
    margin-right: 10px;
}
.navbar ul li a:hover{
    color: var(--primary-color);
}

.navbar ul li:last-child a{
    margin-left: 0px;
}
/* Hamburger Button */
.hamburger-button{
    position: fixed;
    top: 15px;
    right: 15px;
    display: none;
    background:none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    background: var(--dark-color);
    border-radius: 15px;
}

.hamburger-button .hamburger-line{
    width: 30px;
    height:3px;
    background: whitesmoke;
    margin:6px 0;
}

/* Mobile Menu */
.mobile-menu{
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 999;
    background: var(--off-dark-color);
    box-shadow: 0px 0px 10px rgba(0,0,0,2);
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active{
    right: 0;
}

.mobile-menu ul{
    margin-top: 100px;
    padding-right: 10px;
}

.mobile-menu ul li{
    margin: 10px 0;
}

.mobile-menu ul li a{
    font-size: 20px;
    transition: 0.3s;
}