/* COMMON */

.hidden {
  display: none;
}

* {
  box-sizing: border-box;
  color: #3b2a00;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.sidebar {
  display: flex;
  align-items: center;
  padding: 15px;
  min-width: 250px;
  background: url("../img/sidebar-back.jpg") repeat;
  background-size: 50%;
}

.main {
  width: 100%;
  height: 100%;
  background-color: #e0a100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-container {
  background-color: #fafafa;
  color: #1f1f1f;
  max-width: 300px;
  height: fit-content;
  margin: 500px auto;
  padding: 32px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
}

.main-heading {
  text-align: center;
}

.btn {
  display: block;
  width: 200px;
  background-color: #c7b814;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in;
}

.btn:hover {
  box-shadow: 5px 2px 2px #3b2a00;
}

.start-btn {
  height: fit-content;
  font-size: 20px;
  margin: 0 auto;
  padding: 10px 25px;
}

.levels-container {
  border: 2px solid #3b2a00;
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 20px;
  margin-top: 20px;
}

.add-heading {
  text-align: center;
  margin-block-start: 0;
}

.btns-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.level-btn {
  margin: 0 auto;
  padding: 10px 25px;
}

/* MAIN */

.info-panel {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  height: 50px;
  background-color: #c7b814;
  padding: 15px;
}

.timer-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.timer-value {
  display: flex;
}

.panel-title {
  font-weight: 700;
}

.clicks-container {
  display: flex;
  gap: 10px;
  font-size: 20px;
}

.game-field {
  width: 400px;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  background-color: #c7b814;
}

.game-field div {
  width: 40px;
  height: 40px;
  /* border: 1px solid #3B2A00; */
  /* background-color: #C7B814; */
}

.cell {
  cursor: pointer;
}

.hidden-square {
  background-color: #c7b814;
  border: 1px solid #3b2a00;
}

/* .bomb {
  background: url('../img/bomb-icon.png') center center no-repeat, #3B2A00;
  background-size: 30px;
} */

.bomb-img {
  background: url("../img/bomb-icon.png") center center no-repeat, #3b2a00;
  background-size: 30px;
}

.flag {
  background: url("../img/flag.png") center center no-repeat;
  background-size: 30px;
}

.checked {
  background-color: #3b2a00;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.one {
  color: #f5c764;
}

.two {
  color: #ff7669;
}

.three {
  color: #ab6be8;
}

.four {
  color: #6ecdff;
}

.five {
  color: #64f579;
}

.six {
  color: #470aeb;
}

.seven {
  color: #d40226;
}

.eight {
  color: #ea0a92;
}

.sound-container {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  bottom: 20px;
  right: 120px;
  width: 40px;
  height: 40px;
  background-color: #c7b814;
  border-radius: 100%;
  cursor: pointer;
}

.sound-img {
  width: 30px;
  height: 30px;
}

.theme-container {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  bottom: 20px;
  right: 70px;
  width: 40px;
  height: 40px;
  background-color: #c7b814;
  border-radius: 100%;
  cursor: pointer;
}

.theme-img {
  width: 25px;
  height: 25px;
}

.dark-sidebar {
  background: url("../img/dark-sidebar.jpg") repeat;
}

.dark-btn {
  background-color: #363636;
  color: #fafafa;
}

.dark-levels-container {
  color: #fafafa;
  border: 1px solid #fafafa;
}

.dark-heading {
  color: #fafafa;
}

.dark-main {
  background-color: #565656;
}

.dark-hidden-square {
  border: 1px solid #565656;
}

.results-container {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #c7b814;
  border-radius: 100%;
  cursor: pointer;
}

.results-img {
  width: 25px;
  height: 25px;
}

.modal-results {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-results-container {
  background-color: #fafafa;
  color: #1f1f1f;
  max-width: 300px;
  height: fit-content;
  margin: 500px auto;
  padding: 32px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
}

.modal-heading {
  text-align: center;
}

.active-modal {
  display: flex;
}
