@font-face {
    font-family: LCDSolid;
    src: url('LCD_Solid.ttf');
}
@font-face {
    font-family: Kuchibue;
    src: url('kuchibue.ttf');
}

* {
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
}
#flexcontainer, body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
#flexcontainer {
    position: absolute; 
    z-index: 3; 
    top: 0;
}


#end {
    position: absolute;
    z-index: 10;
    top: 0;
    width: 100vmin;
    height: 100vmin;
}
.valentinestext {
    font-family: Kuchibue; 
    font-size: 12vmin;
    color: #fff;
    text-align: center;
}


canvas, .menu {
    max-height: 100%;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
    
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -o-crisp-edges;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

img {
    display: block;
    margin: auto;
    margin-top: 5vmin;
    width: 6vmin;
}
.menu {
    overflow-x: hidden;
    position: absolute; 
    z-index: 2;
    top: 50px;
    background-color: rgba(0,0,0,0.6);
}

.dialogue {
    background-color: rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);

    width: 100vmin;
    height: 30vmin;

    position: absolute !important;
    bottom: 0px !important;
}
.dialogue > * {
    margin-left: 20px;
}
#start-textcontainer {
    margin-top: 1vw;
    height: 50%;
    width: 100%;
    overflow-y: scroll;
    padding-right: 17px;
}

#start {
    z-index: 2;
}


#pause {
    display: flex;
    align-items: center;
    z-index: 3;
}
#pausetitle, #gameovertext {
    text-align: center;
    line-height: 100px;
}
button, p {
    font-family: LCDSolid;
    font-size: 3vmin;
}
button {
    display: block;
    margin: auto;
    margin-top: 5vw;
    background-color: rgba(0,0,0,0);
    outline: 0;
    border: 0;
    color: #aaa;
}
button:hover {
    color: #fff;
}
p {
    color: #fff;
    margin: 3vw;
}
