body {
  margin: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

#container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto;
  align-items: center;
}

#header {
  background-color: #000000;
  width: 100%;
  text-align: center;
}

#title {
  color: #ffffff;
  margin: 10px;
}

#board {
  flex-basis: 80%;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding-top: 10px;
}

.row {
  display: flex;
  gap: 5px;
  height: 50px;
  margin: 10px 5px;
  justify-content: center;
  align-items: center;
}

.row-number-wrapper {
  text-align: center;
}

.row-number {
  display: inline-block;
  width: 35px;
}

.code-hole,
.key-hole {
  border: 2px solid black;
  background-color: #bebebe;
}

.code-hole {
  width: 50px;
  height: 50px;

  border-radius: 5%;
}

.key-hole {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

#input {
  display: grid;
  grid-template-columns: repeat(6, min-content);
  grid-template-rows: repeat(2, min-content);
  gap: 5px;
  align-items: center;
}

.color-button {
  width: 60px;
  height: 60px;
  border-radius: 5%;
  display: inline-block;
  border: 2px solid black;
  cursor: pointer;
}

button {
  background-color: #e1e1e1;
  border: 2px solid black;
  font-size: 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

button:hover,
.color-button:hover {
  filter: brightness(80%);
}

button:active,
.color-button:active {
  filter: brightness(60%);
}

#clear {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: 10px;
}

#red {
  background-color: #ff0000;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

#green {
  background-color: #00ff00;
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

#blue {
  background-color: #0000ff;
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

#yellow {
  background-color: #ffff00;
  grid-column: 5 / 6;
  grid-row: 1 / 2;
}

#orange {
  background-color: #ffa500;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

#brown {
  background-color: #964b00;
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

#black {
  background-color: #000000;
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

#white {
  background-color: #ffffff;
  grid-column: 5 / 6;
  grid-row: 2 / 3;
}

#guess {
  grid-column: 6 / 7;
  grid-row: 1 / 3;
  padding: 10px;
}

#stats {
  text-align: center;
}

@media screen and (max-width: 600px) {
  #container {
    width: 100vw;
  }

  .row {
    margin: 0px 5px;
  }

  .code-hole {
    width: 28px;
    height: 28px;
  }

  .key-hole {
    width: 15px;
    height: 15px;
  }

  .color-button {
    width: 38px;
    height: 38px;
  }
}
/* 
@media screen and (max-width: 400px) {
  .code-hole {
    width: 26px;
    height: 26px;
  }

  .key-hole {
    width: 16px;
    height: 16px;
  }
} */
