/*!**************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/style.scss ***!
  \**************************************************************************************************************/
@charset "UTF-8";
.grid {
  display: grid;
  grid-template-columns: repeat 12, 1fr;
  gap: 30px;
  max-width: 1400px;
}

.center {
  margin: 0 auto;
  max-width: 1400px;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  line-height: 1.5em;
  scroll-behavior: smooth;
  background-color: rgba(28, 27, 27, 0.827);
  color: white;
}

h1 {
  text-align: center;
  font-size: 1em;
}

h3 {
  text-align: center;
  margin: 0;
}

.wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wrapper p {
  margin-left: 20px;
}

.field {
  width: 100%;
  max-width: 400px;
  height: 50vh;
  background-color: rgba(28, 27, 27, 0.827);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  margin: 10px auto;
  padding-bottom: 60px;
  padding-top: 60px;
}
.field .tile {
  width: 9%;
  height: 7%;
  border: 1px solid rgba(28, 27, 27, 0.827);
  margin: 0px 2.5px;
  border-radius: 3px;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  background-image: url(../javascript/262b0010152abce30852.png);
}
.field .tile.tile1-2 {
  background-image: url(../javascript/e9fe16c9a0d5aee5de38.png);
}
.field .tile.digged {
  background-image: url(../javascript/74bebc283e73a60e01b8.png);
}
.field .tile.activate-shield {
  animation: activateShield 1s ease;
}
.field .tile.scanning {
  background-color: rgb(56, 52, 52);
  position: relative;
  box-shadow: 0 0 60px greenyellow, inset 0 0 15px greenyellow;
}
.field .tile.scanning::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 50px;
  background-color: greenyellow;
  box-shadow: 0 0 20px greenyellow;
  bottom: 0;
  animation: scan_animation 1.2s ease-in-out;
}
.field .tile.boom {
  position: relative;
}
.field .tile.boom::after {
  content: "💥";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0px;
  animation: explosion 0.6s ease;
}

.mineslabel {
  position: fixed;
  left: 20px;
  top: 20px;
  color: white;
  font-weight: bold;
  z-index: 100;
}

.shieldlabel {
  position: fixed;
  right: 20px;
  top: 25px;
  font-size: 2em;
  z-index: 100;
}
.shieldlabel.active {
  animation: find_shield 1.5s ease;
}

@keyframes scan_animation {
  0% {
    bottom: 3%;
  }
  50% {
    bottom: 96%;
  }
  100% {
    bottom: 5%;
  }
}
@keyframes explosion {
  from {
    font-size: 2px;
  }
  to {
    font-size: 200px;
  }
}
@keyframes find_shield {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2.5);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes activateShield {
  from {
    transform: scale(2.5);
  }
  to {
    transform: scale(1);
  }
}
.alert-window {
  display: none;
}
.alert-window.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  text-align: center;
}
.alert-window .restart-button {
  background-color: green;
  border: 5px solid black;
  padding: 10px 20px;
  width: fit-content;
  border-radius: 15px;
  font-weight: bold;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.548);
  cursor: pointer;
}
