    canvas {
      background-color: var(--color-main);
      image-rendering: pixelated;
      width: 100%;
      height: 100%;
    }
    #game-container {
      position: relative;
    }
    #score {
      position: absolute;
      top: 15px;
      left: 15px;
      font-size: 16px;
      padding: 10px;
      color: rgb(191, 191, 191);
    }
    #game-over {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 24px;
      color: var(--color-second-text);
      text-align: center;
    }
    #restart {
      margin: 10px auto;
      padding: 20px 30px;
      background-color: var(--color-main);
      border: none;
      color: #000;
      cursor: pointer;
      font-weight: bold;
      font-size: 30px;
      border-radius: 24px;
    }
    /* Кнопка закрытия */
    #close-game {
      position: absolute;
      top: 15px;
      right: 15px;
      font-size: 14px;
      cursor: pointer;
      color: rgb(191, 191, 191);
      padding: 10px;
      border-radius: 10px;

      &:hover{
        background-color: rgb(39, 39, 39);
      }
    }