@font-face {
    font-family: "bakbakone";
    src: url('/BakbakOne-Regular.d187facf.ttf');
}

* {
    font-family: "bakbakone";
    font-size: 110%;
    background-color: black;
    color: #00ea00;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body {
    padding: 2rem;
}

h1 {
    font-size: 155%;
    color: #ffc83d;
    margin: 70px 0px -27px 0px;
}

.first-h1 {
    margin: 57px 0px -27px 0px !important;
}

.footer {
    font-family: serif;
    font-size: 80%;
    color: #488c8f;
}

#qrcode img {
    width: 12rem;
}

#qrcode {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 0.5rem 0;
}

#showcase {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 15px 0;
    margin-left: 1.5rem;
}

#showcase img {
    width: 49rem;
}

a.footer {
    font-size: 100%;
}

.footer {
    margin-top: 4.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #fff
}

.footer p {
    font-size: .75rem;
    color: #9d9d9d;
}

.footer a {
    font-weight: normal;
	color: #9d9d9d;
}

a {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    font-size: 100%;
}


a:hover {
    cursor: pointer;
    color: mediumpurple;
    transition-duration: 400ms;
}

#circleDiv {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 1.0rem;
}

.circle {
    width: 38px;
    height: 38px;
    margin: 0px 9px 0 9px;
    border-radius: 100%;
    border: 2px solid black;
    box-shadow: 1px 1px 4px black;
    font-size: 171%;
    background: #00ea00;
}

.star-icon {
    position: relative;
    bottom: 1.5px;
    left: 0.5px;
    font-size: 69%;
    background-color: transparent;
}

#getBbButton {
    margin-top: 21px;
    padding: 3px 23px;
    color: #00ea00;
    border: #ffc83d solid 2px;
    border-radius: 10rem;
    font-size: 110%;
    /*font-size: xx-large;*/
    /*font-size: 2rem;*/
}

#getBbButton:hover {
    cursor: pointer;
    color: mediumpurple;
    border: mediumpurple solid 2px;
    transition-duration: 400ms;
}

.header {
    position: absolute;
    top: 10px;
    right: 20px;
}

#loginButton {
    margin-top: 21px;
    padding: 3px 23px;
    color: #00ea00;
    border: #ffc83d solid 2px;
    border-radius: 10rem;
    font-size: 110%;
    /*font-size: xx-large;*/
    /*font-size: 2rem;*/
}

#loginButton:hover {
    cursor: pointer;
    color: mediumpurple;
    border: mediumpurple solid 2px;
    transition-duration: 400ms;
}

/* ====== Zusatz für eingeloggten Zustand (Userbar oben rechts) ====== */

.userbar {
    position: relative;           /* für das Dropdown */
    display: flex;                /* eigene Ausrichtung, überschreibt * */
    flex-direction: row;          /* horizontal */
    align-items: center;
    gap: 8px;
    background: transparent;      /* nicht das globale background vom * */
}

.userbar .user-name {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #00ea00;               /* bleibt im Brawlboard-Grün */
    font-weight: 600;
    text-align: right;            /* Name rechts ausrichten */
}

.userbar .avatar {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    border: 2px solid #ffc83d;    /* gelber Rahmen passend zum Stil */
    background: transparent;
}

/* Dropdown-Menü (Hover) */
.userbar .menu {
    position: absolute;
    right: 0;
    top: 40px;
    background: black;
    border: 2px solid #ffc83d;
    border-radius: 12px;
    padding: 6px;
    display: none;
    min-width: 170px;
    text-align: left;             /* Inhalte im Menü linksbündig */
}

.userbar:hover .menu { display: block; }

.menu .menu-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: #00ea00;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.menu .menu-item:hover {
    color: mediumpurple;
    background: rgba(255,200,61,0.08);
    transition-duration: 250ms;
}
