/* General configuration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Fonts */
@font-face {
    font-family: 'TitleFont';
    src: url('../fonts/title.woff2') format('woff2'),
        url('../fonts/title.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TextFont';
    src: url('../fonts/text-regular.woff2') format('woff2'),
        url('../fonts/text-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TextFont';
    src: url('../fonts/text-bold.woff2') format('woff2'),
        url('../fonts/text-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TextFont';
    src: url('../fonts/text-italic.woff2') format('woff2'),
        url('../fonts/text-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TextFont';
    src: url('../fonts/text-bolditalic.woff2') format('woff2'),
        url('../fonts/text-bolditalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'TextFont', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Global Buttons */
.game-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #FF8000;
    color: #FFFFFF;
    font-family: 'TextFont', sans-serif;
    border: 3px solid #000000;
    border-radius: 40px;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 0 #FF4D00, 0 12px 15px rgba(0, 0, 0, 0.6);
    text-shadow: 2px 2px 0px #000000;
    transition: transform 0.1s, box-shadow 0.1s, filter 0.2s;
}

.back-button {
    background-color: #FF4D00;
    color: #FFFFFF;
    font-family: 'TitleFont', sans-serif;
    border: 3px solid #000000;
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 5px 0 #000000;
    text-shadow: 2px 2px 0px #000000;
    transition: transform 0.1s, box-shadow 0.1s;
}

.back-button:active,
.back-button.is-pressed {
    transform: translateY(5px);
    box-shadow: 0 0px 0 #000000;
}

@media (hover: hover) and (pointer: fine) {
    .game-button:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
        box-shadow: 0 10px 0 #FF4D00, 0 14px 15px rgba(0, 0, 0, 0.6);
    }
}

.game-button:active,
.game-button.is-pressed {
    transform: translateY(8px);
    box-shadow: 0 0px 0 #FF4D00, 0 4px 5px rgba(0, 0, 0, 0.6);
}