@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');

body {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    background-color: #333;
}

/* START SCREEN MODAL */

.gem {
    position: absolute;
    display: block;
    width: 50px;
    top: 20px;
}

.gem-left {
    left: 40px;
}

.gem-right {
    right: 40px;
}

.hide {
    display: none;
}

.modal {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #333;
    z-index: 2;
}

.modal-body {
    box-sizing: border-box;
    padding: 10px 0;
    position: relative;
    width: 60%;
    margin: 0 auto;
    background-color: #ccc;
    border: 5px solid #000;
}

.modal h1 {
    margin-bottom: 40px;
}
.modal p {
    font-size: 1.2em;
    line-height: 1.4em;
    margin-bottom: 20px;
}

.modal .character-selection .selected {
    border: 3px solid #000;
}
.character-selection img{
    display: inline-block;
    box-sizing: border-box;
    padding: 3px;
    border: 3px solid #ccc;
}
.character-selection img:hover {
    border: 3px solid goldenrod;
}
#game-screen {
    width: 500px;
    margin: 0 auto;
}

#game-screen p {
    margin: 0;
    padding: 0;
}

.player-info {
    display: flex;
    justify-content: space-between;
}

.btn {
    display: inline-block;
    margin: 40px auto 0 auto;
    border: 3px solid #000;
    padding: 15px;
    color: #fff;
    background-color:#0566e6;
}

#game-level {
    width: 300px;
    height: 150px;
    position:absolute;
    background-color: #0566e6;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    color: #fff;
}

#game-level h2 {
    line-height: 110px;
}

#game-over .btn {
    margin: 10px auto 40px auto;
}

#game-over .high-scores ul {
    list-style: none;
    width: 300px;
    margin: 0 auto;
    padding: 0;
}

#game-over .high-scores li {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: 1.3em;
    line-height: 1.5em;
}

#game-over input {
    border: none;
    font-size: 1.2em;
    padding: 5px 5px;
}

#game-over button {
    background-color: #0566e6;
    color: #fff;
    font-size: 1.2em;
    border: none;
    padding: 5px 15px;
}

#game-over .highscores li .name {
    text-align: left;
}

#game-over .highscores li .score {
    text-align: right;
}


/* SCORE PANEL */
 .score-panel {
     color: #fff;
 }