* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background-image: linear-gradient(135deg, #74c1f8 10%, #0396FF 100%);
}

.container {
  display: flex;
  justify-content: center;
}

.header {
  width: 100vw;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 10px;
  padding: 0.5em;
}

.dropdown-menu {
  width: 7em;
}
.dropdown-menu .options {
  position: absolute;
  width: 6.5em;
  border-radius: 8px;
  background: whitesmoke;
  display: none;
}

.dropdown-menu.active .options {
  display: block;
  z-index: 999;
}
.dropdown-menu.active .option-item .material-symbols-outlined {
  transform: rotate(-180deg);
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: whitesmoke;
  border-radius: 0.3em;
  font-size: 1.4em;
  height: 1.6em;
  padding: 0.3em;
  cursor: pointer;
}

.option-item:hover {
  background: lightgray;
}

.number-field {
  display: flex;
  align-items: center;
  height: 1.5em;
  font-size: 1.3em;
  padding: 0.3em;
  border-radius: 0.3em;
  background-color: #214abb;
  color: white;
}

.board {
  display: flex;
  flex-wrap: wrap;
  background-color: white;
}

.cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.close::before {
  content: attr(cell-mark);
  display: flex;
  position: absolute;
  border-radius: 3px;
  background: #C6E5FA;
  justify-content: center;
  align-items: center;
}

.cell.flag-mark.close::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url("assets/flag.png");
  background-size: contain;
}

.cell.bomb {
  background-image: url("assets/bomb.png");
  background-size: contain;
}

.cell.bomb.cell-red {
  background-color: red;
}

.cell.c1 {
  color: blue;
}

.cell.c2 {
  color: green;
}

.cell.c3 {
  color: red;
}

.cell.c4 {
  color: darkblue;
}

.cell.c5 {
  color: brown;
}

.cell.c6 {
  color: pink;
}

.cell.c7 {
  color: black;
}

.cell.c8 {
  color: orange;
}

.board.sm-easy {
  width: 80vw;
}
.board.sm-easy .cell {
  width: 13.3333333333vw;
  height: 13.3333333333vw;
  font-size: 10vw;
}
.board.sm-easy .close::before {
  width: 11.3333333333vw;
  height: 11.3333333333vw;
}
.board.sm-easy .close::after {
  width: 11.3333333333vw;
  height: 11.3333333333vw;
}

.board.sm-medium {
  width: 80vw;
}
.board.sm-medium .cell {
  width: 8.8888888889vw;
  height: 8.8888888889vw;
  font-size: 6.6666666667vw;
}
.board.sm-medium .close::before {
  width: 7.5555555556vw;
  height: 7.5555555556vw;
}
.board.sm-medium .close::after {
  width: 7.5555555556vw;
  height: 7.5555555556vw;
}

.board.sm-hard {
  width: 90vw;
}
.board.sm-hard .cell {
  width: 7.5vw;
  height: 7.5vw;
  font-size: 5.625vw;
}
.board.sm-hard .close::before {
  width: 6.375vw;
  height: 6.375vw;
}
.board.sm-hard .close::after {
  width: 6.375vw;
  height: 6.375vw;
}

.board.md-easy {
  width: 80vw;
}
.board.md-easy .cell {
  width: 10vw;
  height: 10vw;
  font-size: 7.5vw;
}
.board.md-easy .close::before {
  width: 8.5vw;
  height: 8.5vw;
}
.board.md-easy .close::after {
  width: 8.5vw;
  height: 8.5vw;
}

.board.md-medium {
  width: 80vw;
}
.board.md-medium .cell {
  width: 6.6666666667vw;
  height: 6.6666666667vw;
  font-size: 5vw;
}
.board.md-medium .close::before {
  width: 5.6666666667vw;
  height: 5.6666666667vw;
}
.board.md-medium .close::after {
  width: 5.6666666667vw;
  height: 5.6666666667vw;
}

.board.md-hard {
  width: 90vw;
}
.board.md-hard .cell {
  width: 5.625vw;
  height: 5.625vw;
  font-size: 4.21875vw;
}
.board.md-hard .close::before {
  width: 4.78125vw;
  height: 4.78125vw;
}
.board.md-hard .close::after {
  width: 4.78125vw;
  height: 4.78125vw;
}

.board.lg-easy {
  width: 40vw;
}
.board.lg-easy .cell {
  width: 4.4444444444vw;
  height: 4.4444444444vw;
  font-size: 3.3333333333vw;
}
.board.lg-easy .close::before {
  width: 3.7777777778vw;
  height: 3.7777777778vw;
}
.board.lg-easy .close::after {
  width: 3.7777777778vw;
  height: 3.7777777778vw;
}

.board.lg-medium {
  width: 50vw;
}
.board.lg-medium .cell {
  width: 3.125vw;
  height: 3.125vw;
  font-size: 2.34375vw;
}
.board.lg-medium .close::before {
  width: 2.65625vw;
  height: 2.65625vw;
}
.board.lg-medium .close::after {
  width: 2.65625vw;
  height: 2.65625vw;
}

.board.lg-hard {
  width: 70vw;
}
.board.lg-hard .cell {
  width: 2.3333333333vw;
  height: 2.3333333333vw;
  font-size: 1.75vw;
}
.board.lg-hard .close::before {
  width: 1.9833333333vw;
  height: 1.9833333333vw;
}
.board.lg-hard .close::after {
  width: 1.9833333333vw;
  height: 1.9833333333vw;
}

.balloon {
  position: absolute;
  background-color: lightgray;
  padding: 5px;
  border: none;
  border-radius: 15px;
  display: none;
}

.balloon.actions-top-left {
  grid-template-areas: "close dig" "flag question";
}

.balloon.actions-top-right {
  grid-template-areas: "flag close" "question dig";
}

.balloon.actions-bottom-left {
  grid-template-areas: "dig question" "close flag";
}

.balloon.actions-bottom-right {
  grid-template-areas: "question flag" "dig close";
}

.button {
  display: block;
  width: 40px;
  height: 40px;
  padding: 5px 10px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin: 5px;
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  border-radius: 50%;
  background-color: lightgoldenrodyellow;
  cursor: pointer;
  font-size: 38px;
  font-weight: bold;
}

#closeActionsButton {
  grid-area: close;
}

#questionButton {
  grid-area: question;
}

.dig {
  background-image: url("assets/shovel.png");
  background-size: contain;
  background-repeat: no-repeat;
  grid-area: dig;
}

.flag {
  background-image: url("assets/flag.png");
  background-size: contain;
  background-repeat: no-repeat;
  grid-area: flag;
}

.smile {
  background-image: url("assets/smile.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.looser {
  background-image: url("assets/looser.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.winner {
  background-image: url("assets/winner.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

footer {
  display: flex;
  position: fixed;
  justify-content: center;
  width: 100vw;
  bottom: 0;
  left: 0;
  font-size: 1em;
  background-color: #007bff;
  padding: 0.5em;
}

/*# sourceMappingURL=style.css.map */
