*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000000 !important;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    width: 100%;
}

#app {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#root {
    height: 100%;
}

#game-container {
    display: flex;
    align-items: center;
}

.controls-container {
    position: absolute;
    top: 0;
    right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.button {
    width: 140px;
    margin: 10px;
    padding: 10px;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.87);
    border: 1px solid rgba(255, 255, 255, 0.87);
    cursor: pointer;
    transition: all 0.3s;

    &:hover {
        border: 1px solid #0ec3c9;
        color: #0ec3c9;
    }

    &:active {
        background-color: #0ec3c9;
    }

    /* Disabled styles */
    &:disabled {
        cursor: not-allowed;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.3);
    }
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    height: 100dvh;
    width: 100dvw;
    margin: 0 auto;
    background: #000;
    color: #fff;
}

.app-container {
    position: absolute;
    inset: 0;
    margin: auto;
    max-height: 1280px;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
}

.controls-container {
    position: absolute;
}

@font-face {
    font-family: 'Luckiest Guy';
    src: url('/assets/fonts/LuckiestGuy-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bangers';
    src: url('/assets/fonts/Bangers-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/assets/fonts/OpenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/BarlowCondensed-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/BarlowCondensed-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/BarlowCondensed-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/BarlowCondensed-SemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/BarlowCondensed-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/assets/fonts/BarlowCondensed-ExtraBoldItalic.woff2') format('woff2');
    font-weight: 800;
    font-style: italic;
}

:root {
    --font-open-sans: 'Open Sans';
    --font-bangers: 'Bangers';
    --font-barlow-condensed: 'Barlow Condensed';
    --font-luckiest-guy: 'Luckiest Guy';
    --color-um-secondary: #f35b20;
}
