html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: 
        url('./images/arena.avif');
    background-size: cover; 
    
}

#gameOverScreen {
    display: none;
}

#fightingSpace {
    display: flex;
    flex-direction: row;
}

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

.healthSection {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
}

.inactive {
    background-color: grey;
}

.active {
    background-color: red;
}

.idle {
    height: 350px;
    width: 350px;
    background-color: none;
}

.attack {
    height: 350px;
    width: 360px;
    background: linear-gradient(-90deg, rgba(0,255,0, 0.7), rgba(255,0,0,0) 90.71%); border-top-right-radius: 80%; border-bottom-right-radius: 80%";
}

.damage {
    height: 350px;
    width: 350px;
    background: linear-gradient(-90deg, rgba(255,0,0,0), rgba(255,0,0,.3) 70.71%);
}

#playerOneHealth,
#playerTwoHealth {
    color: green;
}

.playerSpace {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

button {
    height: 75px;
    width: 125px;
    background-color: red;
    border: solid 5px grey;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 24px;
}

.winner-glow {
    box-shadow: 0 0 20px 5px gold;
    border-radius: 50%;
    animation: glow 1s infinite alternate;
}

/* https://stackoverflow.com/questions/34821217/easily-create-an-animated-glow */
@keyframes glow {
    from {
        box-shadow: 0 0 20px 5px gold;
    }
    to {
        box-shadow: 0 0 30px 10px yellow;
    }
}