body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
	background-image: url("Minesweeper1.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}
h1{
	position: absolute;
    color: rgb(252, 252, 4);
  top: 80%;
  left: 53%;
  transform: translate(-80%, -53%);
    
	
}
#board {
    width: 400px;
    height: 400px;
    border: 10px solid darkgray;
    background-color: lightgray;
    
    margin:  auto;
    display: flex;
    flex-wrap: wrap;
	vertical-align: middle;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#board div {
    width: 48px;
    height: 48px;
    border: 1px solid whitesmoke;
    position: center;
    /* text */
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-clicked {
    background-color: darkgrey;
}

.x1 {
    color: blue;
}

.x2 {
    color: green;
}

.x3 {
    color: red;
}

.x4 {
    color: navy;
}

.x5 {
    color: brown;
}

.x6 {
    color: teal;
}

.x7 {
    color: black;
}

.x8 {
    color: gray;
}

#flag-button {
    width: 100px;
    height: 50px;
    font-size: 30px;
    background-color: lightgray;
    border: none;
	border-radius: 10px;
    position: absolute;
    top: 90%;
    left: 53%;
    transform: translate(-90%, -53%);
}