@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    color: rgb(179, 255, 0);
    font-family: 'Pixelify Sans', sans-serif;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

h1 {
    font-size: 3rem;
    margin-top: 40px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(72, 0, 78, 0.925);
    position: relative;
    z-index: 2;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(72, 0, 78, 0.925);
    position: relative;
    z-index: 2;
}

.settings {
    position: relative;
    z-index: 3;
    text-align: left;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.651);
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    color: rgb(179, 255, 0);
}

.settings label {
    display: block;
    margin: 8px 0;
    text-align: center;
}

.settings input[type="number"],
.settings input[type="checkbox"],
.settings input[type="text"] {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
    background: black;
    border: 1px solid rgb(179, 255, 0);
    color: rgb(179, 255, 0);
    border-radius: 4px;
    font-family: 'Pixelify Sans', sans-serif;
}

input, button {
    font-size: 1rem;
    padding: 10px;
    margin: 10px auto;
    border: 2px solid rgb(179, 255, 0);
    border-radius: 5px;
    background: black;
    color: rgb(179, 255, 0);
    text-align: center;
    display: block;
    width: 100%;
    max-width: 250px;
    font-family: 'Pixelify Sans', sans-serif;
}

button {
    background-color: rgb(179, 255, 0);
    color: rgb(0, 0, 0);
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: rgba(72, 0, 78, 0.925);
    color: rgb(179, 255, 0);
}

#output {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 24px;
  margin: 10px 0;
  min-height: 30px; /* Чтобы не прыгал блок при генерации */
}
