@font-face {
    font-family: font;
    src: url(../../resources/fonts/darkforest.woff2);
}

body {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

#canvas {
    position: relative;
    width: 96vmin;
    height: 96vmin;
    border: 2px dotted red;
}

.colour-selectors {
    position: absolute;
    top: 40px;
    right: 40px;

    display: grid;
    grid-template-columns: 4vmin;
    grid-template-rows: repeat(4, 4vmin);
    grid-gap: 1vmin;
}

.colour-selector {
    border-radius: 50%;
}

#colour-selector-red {
    background-color: red;
}

#colour-selector-green {
    background-color: green;
}

#colour-selector-blue {
    background-color: blue;
}

#colour-selector-black {
    border: 1px dashed red;
    background-color: black;
}

.modal {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 10%;
    overflow: hidden;

    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    position: absolute;
    top: 0;
    left: 0;

    background-color: black;
    color: red;
    font-family: font;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-modal {
    font-size: min(10vh, 4vw);
    display: none;
}
