body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #111;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
    justify-content: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#score-container {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: calc(14px + 1vw);
    z-index: 1;
}

#next-container {
    position: absolute;
    top: calc(10px + 2vw);
    right: 10px;
    width: 100px;
    height: 100px;
    border: 2px solid #333;
    background-color: #9dd6f71c;
    text-align: center;
    z-index: 1;
}

#game-container {
    border: 2px solid #333;
    background-color: #0000;
    width: 80vw;
    max-width: 600px;
    aspect-ratio: 10 / 20;
    position: relative;
    margin-top: calc(10px + 2vw);
}

canvas {
    display: block;
    width: 100%;
    height: 100%;

}

#nextCanvas {
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    #game-container {
        width: 70vw;
    }
}

@media (min-width: 1024px) {
    #game-container {
        width: 60vw;
    }
}

@media (max-width: 480px) {
    #score-container {
        font-size: calc(12px + 2vw);
    }

    #next-container {
        width: 80px;
        height: 80px;
    }

    #game-container {
        width: 90vw;
        margin-top: 0;
    }
}
#tetris-game {
  position: relative;
  z-index: 10;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
