@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

html, body {
    overscroll-behavior: none;
}

button, a, input, textarea {
  touch-action: manipulation;
}

body {
    text-align: center;
    font-family: 'Press Start 2P', cursive, Helvetica, sans-serif;
    user-select: none;
    background-color: #050C0D;
}

h1, .score-box, footer {
    color: white;
}

h1, .score-box {
    background: #171221;
}

header {
    margin: 0 auto;
    max-width: 431px;
    width: 100%;
    background: linear-gradient(0deg, #9384AE 0%, #050C0D 100%);
}

h1 {
    background: linear-gradient(0deg, #9384AE 0%, #050C0D 40%);
    padding: 10px 0;
    font-size: 20px;
}

.score-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #050C0D;
    justify-content: space-between;
    padding: 4px 10px;
    font-size: 14px;
    background-color: #9384AE;
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 431px;
    width: 100%;
    aspect-ratio: 431 / 768;
    height: auto;
    max-height: 768px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 431px;
    width: 100%;
    padding-bottom: 10px;
    margin: 0 auto;
}

footer div {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer div p {
    line-height: 22px;
    font-size: 14px;
}

footer div img {
    height: 15px;
    margin: 0px 10px 2px 10px;
}