* {
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-bar {
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.player-health-container {
    background-color: red;
    position: relative;
    height: 30px;
    width: 100%;
    float: right;
    border: 4px solid white;
    border-right: 0;
}

.player-health {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #480090;
    width: 100%;
}

.timer {
    background-color: black;
    height: 50px;
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid white;
}

.enemy-health-container {
    position: relative;
    background-color: red;
    height: 30px;
    width: 100%;
    border: 4px solid white;
    border-left: 0;
}

.enemy-health {
    background-color: #480090;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.display-text {
    display: none;
    position: absolute;
    color: white;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

.player1 {
    color: white;
    position: absolute;
    top: 70px;
    left: 22px;
}

.player2 {
    color: white;
    position: absolute;
    top: 70px;
    right: 20px;
}
