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

body {
    box-sizing: border-box;
    font-family: 'koliko', sans-serif;
    background: #242020;
    display: flex;
    flex-direction: column;
}

#alert {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0rem;
}

.alert-message {
    border: 1px solid aqua;
    display: inline;
    padding: 2rem;
}

h2 {
    font-size: 1.25rem;
    margin: 1rem 0.5rem;
    color: aqua;
    white-space: nowrap;
}

#health_indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 2rem 0 0 0;
}

#health_indicator>div {
    width: 500px;
    display: inline;
    align-items: center;
}

.health_indicator-player span {
    color: aqua;
}

progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 2rem;
}


progress[value]::-webkit-progress-bar,
progress[value] {
    background-color: rgb(155, 240, 240);
}

progress[value]::-webkit-progress-value {
    background-color: #f52727;
    transition: all 0.2s ease-out;
}


#game_control {
    display: flex;
    justify-content: center;
}

.game_control-start {
    cursor: pointer;
    box-shadow: 0 0 0 rgba(243, 75, 75, 0.4);
    animation: pulse 2s infinite;
}

.game_control-start:hover {
    animation: none;
}


@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(243, 75, 75, 0.4);
        box-shadow: 0 0 0 0 rgba(243, 75, 75, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 20px rgba(243, 75, 75, 0);
        box-shadow: 0 0 0 20px rgba(243, 75, 75, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(243, 75, 75, 0);
        box-shadow: 0 0 0 0 rgba(243, 75, 75, 0);
    }
}


button {
    background: #f52727;
    color: white;
    padding: 3.5rem 2.5rem;
    border-radius: 100%;
    cursor: pointer;
    margin: 2rem 0rem 0.7rem 1.3rem;
    font-family: 'koliko', sans-serif !important;
    font-weight: bold;
    text-transform: capitalize;
    transition: all .3s ease-out;
    font-size: 1.1rem;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(2px);
}

button[disabled] {
    background: #740b0b;
    color: rgb(155, 150, 150);
    transform: none;
}


#score {
    text-align: center;
    margin-top: 3.5rem;
}

#score>h2 {
    border: 1px solid aqua;
    display: inline;
    padding: 2rem;
}