body {
    display: block;
    padding: 0;
    height: 120vh;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    background-color: var(--background-color) !important;
}

main .strip>.title {
    background: transparent !important;
}

header a #header_logo.logo,
.game {
    display: none;
}

header {
    background: none !important;
}

h1 {
    color: var(--primary-color) !important;
    display: block;
    text-align: center;
    margin: 0 auto;
    animation-name: boom;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
}

@keyframes boom {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.25);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.intro span,
span.sonometer {
    color: var(--secondary-color);
    margin: 0 auto;
    text-align: center;
    display: block;
    font-size: 10rem;
    line-height: 10rem;
}

span.sonometer {
    position: absolute;
    z-index: 9999;
    width: 100%;
    font-size: 12.5rem;
    line-height: 12.5rem;
    height: 100vh;
}

span.sonometer.best {
    color: var(--secondary-color);
}

header a#resume .logo {
    margin-top: 50px;
    margin-right: 50px;
}

.equalizers {
    /* display: none; /* Make sure this is overridden when you want to show it */
    display: block;
    /* Or flex, grid etc. Make it visible */
    width: 100%;
    /* height: 100%; /* May need explicit height like '400px' if parent height is not defined */
    min-height: 350px;
    /* Example: Ensure enough space for spans */
    float: left;
    /* Consider modern layout like Flexbox/Grid for the parent instead of float */
    opacity: 1;
}

.equalizer {
    position: absolute;
    display: flex;
    bottom: 0;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.equalizer-bar {
    width: 6rem;
    margin: 0 3px;
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    justify-content: flex-start;
}

.equalizer-bar span {
    display: block;
    height: 20px;
    border-radius: 2px;
    width: 100%;
    margin: 2px 0;
    transition: opacity 0.1s ease;
    background: var(--default-span-color, #ccc);
    opacity: 0.25;
}

.equalizer-bar span:nth-child(1),
.equalizer-bar span:nth-child(2),
.equalizer-bar span:nth-child(3),
.equalizer-bar span:nth-child(4),
.equalizer-bar span:nth-child(5),
.equalizer-bar span:nth-child(6) {
    background: var(--fourth-color);
}

.equalizer-bar span:nth-child(7),
.equalizer-bar span:nth-child(8),
.equalizer-bar span:nth-child(9),
.equalizer-bar span:nth-child(10),
.equalizer-bar span:nth-child(11),
.equalizer-bar span:nth-child(12),
.equalizer-bar span:nth-child(13),
.equalizer-bar span:nth-child(14),
.equalizer-bar span:nth-child(15) {
    background: var(--third-color);
}

#decibel-display,
#max-decibel-display {
    font-size: 7rem;
    line-height: 7rem;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    width: 100%;
    font-family: var(--secondary-font-family, "Titillium Web", sans-serif);
}

#max-decibel-display {
    color: var(--secondary-color);
}

h1 {
    font-style: normal;
    line-height: 2.5rem;
    margin-top: 1.5rem;
    font-size: 2.5rem;
}

body[d-broadcaster_code="wec"] {
    background-size: cover !important;
}

body[d-broadcaster_code="wec"] h1 {
    max-width: 65%;
    font-size: 3rem;
    line-height: 3rem;
}

#sessions-display {
    max-width: 800px;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.sessions-container {
    text-align: center;
}

.sessions-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
}

.sessions-table.two-columns {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
    min-width: 0;
}

.sessions-header {
    display: flex;
    background-color: #4CAF50;
    color: var(--primary-color);
    font-weight: bold;
    padding: 10px;
    border-radius: 4px 4px 0 0;
}

.sessions-row {
    display: flex;
    background-color: var(--background-secondary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 10px;
    transition: background-color 0.2s;
}

.sessions-row:nth-child(even) {
    background-color: var(--background-color);
}

.header-rank,
.row-rank {
    flex: 1;
    text-align: center;
}

.header-decibels,
.row-decibels {
    flex: 2;
    text-align: center;
}

.header-timestamp,
.row-timestamp {
    flex: 4;
    text-align: center;
}

.sessions-empty {
    text-align: center;
    color: #666;
    font-size: 18px;
    padding: 20px;
}