:root {
    --background-first-stripe-1: #4949462a;
    --background-first-stripe-2: #494946cb 10px;
    --enemie-thumb-background-second-stripe-1: #ff5100 10px;
    --enemie-thumb-background-second-stripe-2: #ff0000 20px;
    --hero-background-second-stripe-1: #85b85b 10px;
    --hero-background-second-stripe-2: #00ff73 20px;
}

.card {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 150px;
    min-width: 150px;
    margin: 0 1rem;    
}

.card-body {
    flex-grow: 1;
    display: flex;
    position: relative;
    flex-direction: column;
    background-image: linear-gradient(45deg, #fbf1c5, #f9e378);
    box-shadow: 1px 1px 5px black;
    padding: 0.5rem 0.5rem 0rem;
    border: solid 1px transparent;
    border-radius: 5px;
}

.card-body-enemie {
    flex-grow: 1;
    display: flex;
    position: relative;
    flex-direction: column;
    background-image: linear-gradient(45deg, #fbc6c5, #f97878);
    box-shadow: 1px 1px 5px black;
    padding: 0.5rem 0.5rem 0rem;
    border: solid 1px transparent;
    border-radius: 5px;
}

.card-def, .card-atk, .card-dodge, .card-hp {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    padding: 0.125rem;
}
.card-respawn {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 2rem;
}

.card button {
    background-color: black;
    padding: 0.375rem 0.5rem;
    color: white;
    border: 1px solid gray;
    border-radius: 0.250rem;
    margin: 0.125rem;
    padding: 0.3rem 0;
}

.card button:hover {
    background-color: rgb(44, 44, 44);
}

.card button.target {
    border: 0.25rem ridge #28af28;
}

.dead {
    position: relative;
    filter: grayscale(1);
}

.dead-x {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -12.5%);
    font-size: 12rem;
    color: red;
}

.enemie-thumb {
    background: repeating-linear-gradient(45deg,
            var(--background-first-stripe-1),
            var(--background-first-stripe-2),
            var(--enemie-thumb-background-second-stripe-1),
            var(--enemie-thumb-background-second-stripe-2));
}

.enemie-card-border {
    border-image-slice: 1;
    border-image-source: linear-gradient(#ff5100 10px,
            #ff0000 20px);
}

.hero-thumb {
    background: repeating-linear-gradient(45deg,
            var(--background-first-stripe-1),
            var(--background-first-stripe-2),
            var(--hero-background-second-stripe-1),
            var(--hero-background-second-stripe-2));
}