:root {
    --gap: 15px;
    --width: 50px;
    --padding: 5px;
}

html, body {
    font-family: 'Courier New', Courier, monospace;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
}

body {
    color: white;
    display: flex;
    flex-direction: column;
}

p {
    text-align: center;
}
.content {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: rgb(31, 32, 59);
    justify-content: flex-start;
    align-items: center;
    padding: 0px 50px;
    padding-bottom: 50px;

}

.separator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
}

.separator .canvas {
    margin-left: calc(var(--width) + var(--gap) + var(--padding));
}

.separator .colors {

    width: var(--width);
    padding: 20px var(--padding);
    height: 230px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.colors div {
    flex-shrink: 0;
    flex-grow: 0;
    width: 30px;
    height:30px;
}

#black {
    background-color: black;
}

#red {
    background-color: red;
}

#yellow {
    background-color: yellow;
}

#orange {
    background-color: orange;
}

#green {
    background-color: green;
}

#blue {
    background-color: blue;
}


.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button {
    font-size: 18px;;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    background-color: rgb(55, 55, 163);;
}

.reset {
    margin-top: 10px;;
}

.canvas {
    display: flex;
    flex-wrap: wrap;
    width: 400px;
    height: 400px;
    max-width: 70vw;
    margin-top: 30px;
    background-color: rgb(255, 255, 255);
}

.grid {
    border: none;
    outline: 1px solid #918a8a23;
}

.tip {
    display: flex;
    gap: 20px;
    font-size: 10px;
}

.pixel,
.pixel-hidden {
    background-color: black;
    width: 5px;
    height: 5px;
}

.pixel {
    opacity: 100%;
}

.pixel-hidden {
    opacity: 0%;
}

#warning {
    font-size: 12px;
    color: #eeeeee5b;
}