* {
  box-sizing: border-box;
}

body {
  display: flex;
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto";
}

#board {
  margin: 0 auto;
}

#board {
  width: 40vw;
  height: 40vw;
  max-width: 70vh;
  max-height: 70vh;
}

#board td {
  border: 1px solid #ddd;
}

td.alive {
  background-color: #ff062e;
}

td {
  background-color: #ced5db;
}

#sidebar {
  width: 30%;
  min-width: 300px;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#content h2 {
  font-size: 45px;
  text-align: center;
  color: rgba(9, 36, 84, 1);
}

.btn {
  width: 90%;
  margin: 25px;
  height: 25%;
  font-size: 3rem;
  font-weight: 700;
  border-radius: 15px;
  border: none;
  padding: 1rem 2rem;
  text-decoration: none;
  background: #092454;
  color: #ced5db;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.btn:hover {
  background: #62d0ff;
  color: #092454;
}

#clear_btn:hover {
  background: #ff062e;
  color: #092454;
}

#step_btn:hover {
  background: #0b5409;
}

.footer a {
  color: #62d0ff;
}
