html,body
{
    background: rgb(63, 58, 52);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}
.score
{
    height: 10vh;
    background-color: burlywood;
    display: flex;
    justify-content: center;
    align-items: center;
}
#gameField
{
    display: flex;
    width: 100%;
    height: 90vh;
    justify-content: center;
    align-items: center;
}
#grid
{
    display: flex;
    width: 600px;
    height: 600px;
    flex-wrap:wrap;
}
.cell
{
    width: calc((100% / 8) - 8px);
    height: calc((100% / 8) - 8px);
    text-align: center;
    border: 3px transparent outset;
    margin: 1px;
    font-size: 2em;
}
.hidden
{
    background: darkgray;
    border: 3px white outset;
}
.hidden:hover
{
    background: rgba(255, 255, 255, 0.50);
}
.revealed
{
    background: grey;
}
.bomb
{
    position: relative;
}
.bomb::after
{
    position: absolute;
    top:calc(50% - 0.5em);
    left:calc(50% - 0.5em);
    height: 1em;
    width: 1em;
    content:"💣";
}
.flag
{
    position: relative;
}
.flag::after
{
    position: absolute;
    top:calc(50% - 0.5em);
    left:calc(50% - 0.5em);
    height: 1em;
    width: 1em;
    content:"🚩";
}



.death-background {
    position : fixed;
    top:30vh;
    z-index: 80;

    background: black;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    opacity: 1;
    animation: fade-in 10s linear;
    visibility: hidden;
   
}
.death-background p {
    color: #ff0000;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 5px;
    font-size: 8em;
    font-weight: 400;
    animation: fade-in 10s linear, text-zoom 5s linear;
    text-shadow: red 0px 0px 10px ;
  }


@keyframes fade-in {
    0% { opacity: 0; }
    25% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes text-zoom {
    0% { font-size: 5em; }
    25% { font-size: 6em; }
    50% { font-size: 7em; }
    75% { font-size: 8em; }
    100% { font-size: 8em; }
}

.win-background {
    position : fixed;
    top:30vh;
    z-index: 80;

    background: white;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    opacity: 1;
    visibility: hidden;
}
.win-background p {
    color: gold;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 5px;
    font-size: 8em;
    font-weight: 400;
  }