body {
    margin: 0;
    padding: 0;
    background-color: black;
    --wph: 1.91;
    --hpw: 0.52;
}

.room {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1/var(--hpw);

    perspective: 800px;
    overflow: hidden;
    /* background-image: url('assets/images/BACKGROUND_ROOM.png'); */
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.full {
    background-size: cover;
}

#lswitch {
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 5;
}

#light {
    background-image: url('../../assets/images/BACKGROUND_BULB.png');
    z-index: 4;
    filter: brightness(125%);
}

#bg_table {
    background-image: url('../../assets/images/BACKGROUND_TABLE.png');
    z-index: 3;
}

#cassilogo {
    z-index: 2;
}

#cassilogo img {
    width: 22.5%;
    height: auto;
    margin: 25.5% 38.3%;
    opacity: 0.35;
}

#room {
    background-image: url('../../assets/images/BACKGROUND_ROOM.png');
    z-index: 1;
    /* Hinterste Ebene */
}

.ctf-members-nav {
    z-index: 201;
}

.ctf-container {
    background-color: rgba(255, 255, 255, 0.75);
    /* max-height: calc(100vh - 2rem);
    overflow-y: auto; */
}

.ctf-container-small {
    max-width: 500px;
}

.ctf-container-centered {
    width: fit-content;
    margin: 4.5rem auto 1rem;
    max-width: calc(100% - 2rem);
}

.xxl .ctf-container-centered {
    max-width: 1320px;
}

#content {
    z-index: 200;
}

h1 {
    margin-bottom: 3rem;
}

h1 {
    text-wrap:nowrap;
}

.xs h1 {
    text-wrap: wrap;
}

.ctf-text-nowrap {
    white-space: nowrap;
}

.xs .ctf-text-nowrap {
    white-space: normal;
}

.ctf-spin::before {
    animation: bi--spin 2s linear infinite;
}

@keyframes bi--spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(359deg)
    }
}

.responsive-lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.sm .responsive-lead {
    font-size: var(--bs-body-font-weight);
}

.xs .responsive-lead {
    font-size: var(--bs-body-font-weight);
}

.stats-table th, .stats-table td {
    text-align: center;
    vertical-align: middle;
}
.stats-table td:first-child, .stats-table th:first-child {
    text-align: left;
}

.game-table th, .game-table td {
    text-align: center;
    vertical-align: middle;
}