body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
}

.emulator {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
}

.screen {
    width: 100%;
    display: flex;
    justify-content: center;
}

#renderer {
    height: 100vh;
    border: 1px solid black;
    image-rendering: pixelated;
}

.emulator-helpers {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.debug {
    margin: 5px;
    padding: 3px;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 15vw;
    align-self: flex-end;
}

.registers-flags {
    font-size: small;
    max-width: 12vw;
    display: flex;
}
.registers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    align-items: flex-start;
    text-align: left;
    /* text-align: justify; */
    flex-wrap: wrap;
    border: 1px solid black;
}
.registers>p {
    width: 50%;
}

.flags {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    vertical-align: middle;
    margin-left: 5px;
    padding: 0 auto;
    text-align: center;
}

input[type=checkbox] {
    transform: scale(1);
    padding: 0;
    margin: 0;
}


.registers>p {
    margin: 0px;
    padding: 0px;
    align-items: center;
}

.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    padding: 5px;
    font-size: 10px;
}

.btn {
    border: none;
    display: inline-block;
    margin: 4px 2px;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
}

.buttons>button {
    border: none;
    display: inline-block;
    margin: 4px 2px;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
}

input[type="file"] {
    display: none;
}

.helper {
    display: flex;
}

.next-instructions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-self: flex-end;

}

.instructions {
    font-size: 12px;
    min-width: 30vw;
    width: auto;
    border: 1px solid black;
    height: 20rem;
    overflow-y: scroll;
    padding: 10px;
}