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

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #fff;
  background-image: url(./src/fon4.png);
  background-size: cover;
}

.container {
  display: flex;
  gap: 5px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: auto;
  background-color: transparent;
  border-radius: 5px;
}

.timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 150px;
  height: 100px;
  background: transparent;
  border-radius: 4px;
  margin: 10px;
  color: black;
}

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 150px;
  height: 100px;
  background: transparent;
  border-radius: 4px;
  margin: 10px;
}

.stats p {
  margin: 10px;
}

.main {
  background: transparent;
  border-radius: 5px;
}

.grid {
  display: grid;
  flex-wrap: wrap;
  padding: 10px;
}

.square {
  width: 25px;
  height: 25px;
  background: rgb(251, 81, 81);
  margin: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
}

.square img {
  height: auto;
  max-width: 75%;
}

.square.discovered {
  background: #c8def1;
}

.square:hover {
  background: #b2bfca;
}

.buttons {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 150px;
  padding: 10px;
  border-radius: 5px;
  background: transparent;
  margin: 5px;
}

.newGame {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
}

select {
  background-color: transparent;
  color: rgb(147, 143, 143);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon fill='%23000000' points='0 0 10 0 5 10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}

.buttons button {
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 20px;
  color: rgb(251, 81, 81);
  font-size: 20px;
  font-weight: bold;
}

.buttons button:hover {
  background: rgb(184, 104, 104);
}

.newGame select {
  margin-bottom: 5px;
  border-radius: 5px;
}
