html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    text-align: center;
    background: url('../images/picture.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* header */
header > h1 {
    font-size: 34px;
    letter-spacing: 3px;
    color: #45c26e;
    padding: 0 10px 0 0;
    margin: 10px 0 25px 0;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

header > h1 > img {
    float: right;
    padding: 5px 0 0 10px;
    width: 50px;
}

/* lives */
.lives-info {
    position: relative;
    top: 21px;
    right: 290px;
    color: #fff;
}

.hearts {
    display: inline-block;
    margin: 0 375px 5px -80px;
    padding: 0 0 20px 0;
}

.hearts > li {
    list-style: none;
    display: inline-block;
    color: #ff3737;
    font-size: 20px;
    letter-spacing: 1px;
}

/* welcome screen */
.start-panel {
    position: absolute;
    margin: auto;
    top: -400px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 600px;
    height: 340px;
    background: #fff;
    border: 1px solid #343346;
    border-radius: 15px;
}

.start-panel > h2 {
    color: #3eaa62;
    letter-spacing: 2px;
}

.start-panel > h3 {
    letter-spacing: 1px;
}

.panel-arrow > i {
    color: #4d4a66;
    font-size: 22px;
    font-weight: bolder;
    letter-spacing: 10px;
}

/* canvas */
.canvas-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 630px;
    height: 640px;
    background: #fff;
    border: 1px solid #343346;
    border-radius: 15px;
}

.canvas-body {
    margin-top: -30px;
    width: 570px;
    height: 650px;
}

/* modal */
.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hide {
    display: none;
}

.box {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 400px;
    height: 260px;
    border-radius: 12px;
    background: #fff;
}

.btn {
    width: 100px;
    height: 40px;
    margin: 20px 0 0 0;
    border-radius: 8px;
    border-style: none;
    font-size: 14px;
    color: #fff;
    background: #35b33b;
    cursor: pointer;
}

.btn:hover {
    background: #339b38;
}

.modal-body {
    display: inline;
}

/* win modal */
.modal-info {
    padding: 20px 0 0 0;
}

.win-info {
    margin: 0;
    padding: 0;
}

/* loss modal */
.lost-modal {
    height: 210px;
    width: 390px;
}

.heartlost {
    padding: 50px 0 0 0;
}

.lost-info {
    padding: 10px 0 0 0;
    font-size: 19px;
}

/* footer */
.footer > p {
    margin: 100px 0 0 0;
    font-size: 13px;
    color: #2c2c2c;
    letter-spacing: 1px;
}
