* {
  box-sizing: border-box;
}

body {
  font-family: 'MedievalSharp', cursive;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url("../images/ext with sky.webp");
  background-size: cover;
  background-blend-mode: hard-light;
  background-color: #ccc5c5;
  color: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100vw;
}

h1 {
  font-size: 7vmin;
  color: rgb(238, 77, 77);
  text-shadow: rgb(0, 0, 0) 1px 1px 1px;
  letter-spacing: .75vh;
}

#board {
  display: grid;
  max-width: 80vw;
  max-height: 80vh;
  min-width: 110px;
  min-height: 110px;
  grid-template-columns: repeat(10, 1fr);
  background-color: rgb(255, 255, 255);
  background-image: url("../images/knightsymbol.jpg");
  background-blend-mode: hard-light;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  font-size: 4vmin;
}

#board > div {
  max-height: 40px;
  max-width: 40px;
  min-height: 8px;
  min-width: 8px;
  display: flex;
  border: .2vh solid rgb(220, 218, 218);
  border-radius: 7%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: 2vh;
  padding-right: 2vh;
}

#board>div:hover {
  cursor: pointer;
  border: solid .2vh rgb(49, 49, 49);
}



.revealed {
  background-image: url("../images/Sheep-stone.jpg");
  background-color: gray;
  color: rgb(55, 22, 5);
  text-shadow: rgb(218, 211, 206) 1px 1px 1px;
  text-align: center;
  background-size: cover;
}

.revealed-mine {
  background-image: url("../images/death.jpg");
  background-color: black;
  color: rgb(204, 204, 204, 0);
  background-size: cover;
}

.flagged {
  background-image: url("../images/fish stone.jpg");
  background-color: rgb(134, 20, 20);
  background-size: cover;
  align-items: center;
  color: rgb(204, 204, 204, 0)
}

button {
  font-family: 'MedievalSharp', bold;
  margin-left: 4vw;
}

main {
  background-color: rgb(0, 0, 0);
  border-radius: 10%;
}

nav {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(208, 147, 107, 0.9);
}

ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  width: 100vw;
  margin: 0;
  padding: 0;
}

li {
  font-size: 5vmin;
  margin: 0 4vmin 0 4vmin;
  color: rgb(238, 77, 77);
  text-shadow: rgba(51, 51, 51, 0.563) 1px 1px 1px;
  text-align: center;
  padding: 0 4vh 0 4vh;
}