@font-face {
    font-family: 'Gilroy Heavy';
    src: url('fonts/Gilroy-Heavy.woff') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    overscroll-behavior: none;
    
    touch-action: pan-y;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #575757;
    
    transition: background-color 0.3s ease;
}

#game-container {
    position: relative;
    /* width: 100vw;
    height: 100vh; */

    max-width: 1280px;
    max-height: 720px;
}

canvas {
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: none;
}

img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

button,
input,
select,
textarea {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

button,
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
}

::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
}

@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-top: max(0px, env(safe-area-inset-top));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    #orientation-warning {
        display: flex !important;
    }

    #game-container {
        display: none;
    }
}

#orientation-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-size: 18px;
    text-align: center;
    padding: 20px;
}