*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
canvas{
    width: 100vw;
    height: 100vh;
}
.gameContainer{
    position: relative;
    display: inline-block;
}
.healthContainer{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
#playerHealthContainer{
    position: relative;
    width: 100%;
    height: 30px;
    background: transparent;
    border: 4px solid red;
    border-radius: 20px;
}
#playerHealthContainer>div, #enemyHealthContainer>div{
    position: absolute;
    height: 100%;
    width: 100%;
}
#playerHealthContainer{
    display: flex;
    justify-content: flex-start;
}
.playerHealth{
    background-color: yellow;
    border-radius: 20px;
}
.timer{
    background-color: red;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#message, #target{
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20vmin;
}
#target{
    display: none;
}
.enemyHealth{
    background-color: yellow;
}
.inputBox{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%);
}
.inputBox input{
    background: transparent;
    color: white;
    font-weight: 900;
    text-align: center;
    border: 2px solid deeppink;
}
.starter, .starterAgain{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.starterAgain{
    display: none;
}
.btn{
    padding: 30px;
    border: none;
    border-radius: 20px;
    background-color: green;
    color: white;
    font-weight: 900;
    transition: 0.5s all;
}
.btn:hover{
    border: 1px solid green;
    background-color: white;
    color: green;
    width: 200px;
    cursor: pointer;
}
@media(max-width:900px){
    .inputBox{
        display: none;
    }
}
