* {
  padding: 0;
  margin: 0;
}
body {
    text-align: center;
    font-size: 16px;

}

#score-wrapper {
    margin-bottom: -3rem;
}

.score {
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
}

.score strong {
    padding-left: 1rem;
    font-size: 2rem;
    color: green;
}
.lives {
    width: 6rem;
    height: 6rem;
    background: url(../images/Heart.png) center / 75px 95px no-repeat;
    display: inline-block;
}

.lives strong {
    color: #fff;
    font-size: 2rem;
    line-height: 6rem;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10em;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* disable scroll*/
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto; /* 15% from the top and centered */
    padding: 1.5em;
    text-align: center;
    border: 1px solid #888;
    border-radius: 8px;
    width: 30%; /* Could be more or less, depending on screen size */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.5s;
    -moz-animation-name: animatetop;
    -moz-animation-duration: 0.5s;
    -o-animation-name: animatetop;
    -o-animation-duration: 0.5s;
    animation-name: animatetop;
    animation-duration: 0.5s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@-moz-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@-o-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.modal-content p {
    padding-top: 0.8em;
    font-size: 1.3rem;
}

.modal-score span {
    padding: 0 0.3em;
    color: #aa7ecd;
    font-weight: bold;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Button in the modal */
#modalBtn {
    font-size: 18px;
    padding: 10px 20px;
    margin-top: 40px;
    background-color: #aa7ecd;
    border-radius: 8px;
}
