html, body {
    height: 100vh;
    margin: 0;
}

body { 
    background-color: black;
    color: lightgrey;
    font-size: 28px;
    font-family: sans-serif;
}

#pojemnik {
    display: grid;
    grid-template-areas: "a a" "b c";
    grid-template-columns: 50% 50%;
}

#again {
    grid-area: c;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

#again > span {
    display: block;
    text-align: center;
}

#litery {
    grid-area: c;
    grid-template-columns: repeat(7, minmax(0px, auto));
    justify-content: center;
    align-content: center;
}

#litery > button {
    width: 2em;
    height: 2em;
    font-size: 1em;
    appearance: none;
    padding: 5px;
    margin: 5px;
    border: 3px solid gray;
    background-color: black;
    color: white;
    border-radius: 0.6em;
    cursor: pointer;
}

#szubienica {
    grid-area: b;
}

#szubienica > img {
    width: 100%;
    height: auto;
}

#plansza {
    grid-area: a;
    text-align: center;
    font-size: 2em;
    margin: 1em;
    font-family: monospace;
}

#litery .bad {
    background-color: #330000;
    color: #c00000;
    border-color: #c00000;
    cursor: default;
}

#litery .good {
    background-color: #003300;
    color: #00c000;
    border-color: #00c000;
    cursor: default;
}

#litery > button:hover:not(.good):not(.bad) {
    background-color: #333333;
    color: white;
    border-color: white;
}

#tryagain {
    cursor: pointer;
    font-size: 1.5em;
}