/* ON THE GRID */

/* Weapons */

.weapon10 {
    background-image: url(../img/10_NewbieSword.png);
    background-size: cover;
}

.weapon20 {
    background-image: url(../img/20_LegendaryAxe.png);
    background-size: cover;
}

.weapon30 {
    background-image: url(../img/30_SweetPotions.png);
    background-size: cover;
}

.weapon40 {
    background-image: url(../img/40_MagicSpell.png);
    background-size: cover;
}

.weapon50 {
    background-image: url(../img/50_WisdomCrystal.png);
    background-size: cover;
}

/* Players & Obstacles */

.player1 {
    background-image: url(../img/Player1Leo.png);
    background-size: cover;
}

.player2 {
    background-image: url(../img/Player2Kanya.png);
    background-size: cover;
}

.obstacle {
    background-image: url(../img/Obstacle.png);
    background-size: cover;
}

/* Grid & Cells */

#grid {
    margin: 0px;
    margin-bottom: 20px;
}

.gridline {
    display: flex;
    justify-content: center;
}

.cell {
    background-color: rgba(220, 157, 80, 0.4);
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgb(220, 157, 80);
    margin: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@keyframes fight {
    0% {
        background-color: rgba(220, 157, 80, 0.4);
        background-image: url(../img/Attack.png);
        background-size: contain;
        opacity: 0.4;
    }
    100% {
        background-color: rgba(220, 157, 80, 0.4);
        background-image: url(../img/Attack.png);
        background-size: contain;
        opacity: 0.7;
    }
}

.fight {
    background-color: rgba(220, 157, 80, 0.4);
    background-image: url(../img/Attack.png);
    background-size: contain;
    opacity: 0.7;
    animation-name: fight;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.cellstogo {
    background-color: rgba(220, 157, 80, 0.7);
}

.cellstogo:hover {
    background-color: rgb(220, 157, 80);
    cursor: pointer;
}
