html {
    font-size: 10px;
}

html, body {
    height: 100%;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Source Code Pro', monospace;
}

body {
    display: flex;
    flex-direction: column;
    background: black;
    font-size: 1.6rem;
}

#canvas-container {
    position: relative;
    width: auto;
    height: 100%;
    aspect-ratio: 16/9;
    margin: auto;
}

canvas {
    position: absolute;
    width: 100%;
    image-rendering: pixelated;
}

#dialog-dev-info {
    border: 1px solid #121212;
    padding: 1.6rem;
    left: 50%;
    top: 25%;
    transform: translateX(-50%);
}

#dialog-dev-info :nth-child(-n+2) {
    margin-bottom: 1.6rem;
}


#btn-dev-info-close {
    width: 100%;
     border: 1px solid #121212;
    border-radius: 0px;
    cursor: pointer;
    padding: 1rem 1.6rem;
    text-transform: uppercase;
}


#btn-dev-info-open {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(245, 244, 244);
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
}

#btn-dev-info-open:hover {
    opacity: 0.7;
}
