html,
body {
  background-color: #fff;
  font-family: "Helvetica", "Arial", "Verdana", sans-serif;
  margin: 0;
  padding: 0;
}

.app-container {
  max-width: 100%;
  overflow: hidden;
}

.header {
  background-color: #369;
  padding: 10px 0;
}

.header > h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

.container {
  margin: 0 auto;
  padding-top: 32px;
  width: 360px;
}

.history-row {
  align-items: center;
  display: flex;
  margin-bottom: 16px;
}

.history-row.hidden {
  display: none;
}

.divider {
  border-bottom: 1px solid #ccc;
  color: #777;
  font-size: 16px;
  font-style: italic;
  height: 0;
  margin-bottom: 16px;
}

.guess-row {
  display: flex;
  padding-bottom: 64px;
}

.sequence {
  display: flex;
  gap: 10px;
  margin-right: 20px;
}

.sequence > div {
  border-radius: 10px;
  border: 1px solid #0005;
  height: 50px;
  width: 50px;
}

.a {
  background-color: #e74c3c;
}

.b {
  background-color: #3498db;
}

.c {
  background-color: #2ecc71;
}

.d {
  background-color: #f1c40f;
}

.e {
  background-color: #9b59b6;
}

.f {
  background-color: #e67e22;
}

.g {
  background-color: #ddd;
}

.pegs {
  display: flex;
  gap: 10px;
  width: 102px;
}

.pegs > div {
  border-radius: 50%;
  border: 1px solid #0005;
  height: 16px;
  width: 16px;
}

.pegs > .red {
  background-color: #e74c3c;
}

.pegs > .white {
  background-color: #ecf0f1;
}

.controls {
  display: flex;
  gap: 10px;
}

.controls > .column {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 52px;
}

.controls > .column > div {
  border-radius: 10px;
  border: 1px solid #0005;
  cursor: pointer;
  height: 25px;
  width: 100%;
}

.controls > .column > div.selected {
  cursor: default;
}

.controls > .column > div:not(.selected) {
  opacity: 0.25;
}

.controls > .column > div:not(.selected):hover {
  opacity: 0.5;
}

.actions {
  flex-grow: 1;
  padding-left: 20px;
}

.actions > div {
  background-color: #369;
  border-radius: 10px;
  border: 1px solid #0005;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  height: 36px;
  line-height: 36px;
  margin-bottom: 10px;
  text-align: center;
}

.actions > div:hover {
  background-color: #47a;
}

.actions > div:active {
  background-color: #258;
}

.actions > div.disabled,
.actions > div.disabled:hover,
.actions > div.disabled:active {
  background-color: #ccc;
  border-color: #bbb;
  cursor: default;
}
