body {
    margin: 0;
    padding: 0;

    display: flex;
    width: 100vw;
    height: 100vh;
}

* {
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 14px;
}

#emulator-container,
#render-section {
    display: none;
}

body.home #emulator-container {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    max-width: 640px;
    align-self: center;
    justify-self: center;
    margin: auto;
}

body.play #render-section {
    display: flex;
    position: relative;
    width: 640px;
    height: 480px;
    align-self: center;
    margin: auto;
    background-color: #333;
}

#emulator-container div {
    width: 30%;
    border-radius: 10px;
}

#emulator-container div:hover {
    background: darkorange;
}

#emulator-container div.development {
    cursor: not-allowed;
}

#emulator-container div.development {
    background: #fff;
}

#emulator-container div>img {
    max-width: 100%;
}

#emulator-container div>p {
    font-size: 20px;
    font-weight: bold;
}

#emulator-container div.development>p {
    color: #bbb;
}

#render-section #loadGame {
    background-color: #3e8ed0;
    border-color: transparent;
    color: #fff;
    margin: auto;
    align-self: center;
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

#render-section #romFile {
    display: none;
}

#render-section.rendered #loadGame {
    display: none;
}

#render-section #canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    display: none;
}

#render-section.rendered #canvas {
    display: block;
}

/* #emulator {
    width: 640px;
    height: 480px;
    margin: 20px auto;
    border: 2px solid #333;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
}

input[type="file"] {
    display: none;
} */