body {
    font-family: 'VCR OSD Mono';
    margin: 0;
    height: 100%;
    background-color: #0e1c54;
}

header {
    width: 50%;
    margin: 0.25rem auto;

}

header h1 {
    margin: 0.5rem;
    text-align: center;
}

.boxes {
    border: 0.25rem outset #fb24ff;
    background-color: beige;
}

#mainscreen {
    width: 480px;
    background-image: url("sprites/back.png");
    height: 480px;
    margin: 1rem auto;
    
}

#sprite {
    width: 100%;
    height: 100%;
}

#dialogue {
    width: 70%; margin: auto; padding: 0.5rem; position: relative;
}

#speaking {
    word-wrap: break-word;
}

#dialogue h2 {
    margin-bottom: 0.5rem;
}

#next {
    position: absolute;
    width: 10%;
    bottom: 5px; right: 5px;
    border-width: 0.15rem;
    text-align: center;
    display: none;
}

#prompt {
    width: 40%; margin: auto; padding: 0.5rem; position: relative;
    display: none;
}

@media screen and (max-width: 700px) {

    header {
        width: 80%;
        font-size: 0.75em;
    }
    #mainscreen {
        width: 50vw; height: 50vw;
        border-width: 0.15rem;
        margin: 1rem auto;
    }

    #next {
        width: 20%;
    }
}