@font-face {
    font-family: 'Fistalle';
    src: url('Fonts/Fistalle.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BerkeleyMono';
    src: url('Fonts/BerkeleyMonoTrial-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

body {
    background-image: url("images/WallpaperTesting/GreenGranite2.jpg");
    background-size: 500px;
    font-family: 'Fistalle', sans-serif;
    overflow-x: hidden;
}

.title-outer {
    min-height: 30vh;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
    mix-blend-mode: darken;
}

h1 {
    color: #ffffff;
    margin: 1pc auto;
    font-size: clamp(2em, 7vw, 4.5em);
    font-family: Fistalle, sans-serif;
    font-weight: 500;
    text-align: center;
    display: block;
    width: 100%;
    letter-spacing: 30px;

}

@media (max-width: 600px) {
    h1 {
        font-size: clamp(1.2em, 10vw, 2.5em);
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--page-color, transparent);
    mix-blend-mode: soft-light;
}

body > * {
    position: relative;
    z-index: 1;
}

mark {
    background: var(--page-color);
    color: #ffffff;
    display: inline-block;
    padding: 5px 0 0 30px;
}

/* Center wrapper for scoreboard and content (shared) */
.page-center {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.scoreboard-section {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 20px;
    background: transparent;
    position: relative;
    border-bottom: 8px inset rgba(255,255,255,.6);
    border-left: 8px inset rgba(255, 255, 255, 0.24);
    border-right: 8px inset rgba(0, 0, 0, 0.2);
    border-top: 8px inset rgba(0, 0, 0, 0.271);
    box-shadow:
        inset 4px 4px 8px rgba(0, 0, 0, 1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    overflow-y: auto;
    align-self: center;
}

.main-container {
    max-width: 700px;
    margin: 32px auto 40px auto;
    padding: 40px 32px 32px 32px;
    border-radius: 18px;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.18) inset, 0 0 32px 8px rgba(0,0,0,0.25);
    border: 2px solid rgba(255,255,255,0.12);
    background: linear-gradient(
        rgba(0, 4, 255, 0.92),
        rgba(255, 0, 0, 0.92)
    ), url('../Assets/Granite1.3.jpg') repeat;
    background-size: 10pc;
    mix-blend-mode: color-burn;
    display: flex;
    flex-direction: column;
    align-items: center;
}
