* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.title {
    padding: 40px;
    background: #8a7c75;
    margin: 0;
    text-align: center;
}

body {
    background-color: #75838a
}
#grid {
    margin: 20px;
    justify-self: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 50vmin;
    height: 50vmin;
}

.box {
    background-color: #75838a;
    border: rgb(0, 0, 0) solid 5px;
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.box .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
}

.box:hover .tooltiptext {
    visibility: visible;
}

.box:hover{
    background-color: white;
}
h1 {
    color: rgb(0, 0, 0);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 2px;
    text-align: center;
    font-size: 50px;
}

.replay{
    background-color: #8a7c75;
    padding: 20px 15px;
    border-radius: 10px;
    border: 2px solid black;
    font-weight: bold;
    color: white;
    overflow: hidden;
    justify-content: center;
}

.replay:hover{
    background-color: red;
    color: black;
}

.hide{
    display:none
}

.message{
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 40px;
    background-color: #877883;
}

footer{
    text-align: center;
}
