* {
  padding: 0;
  margin: 0;
}

body {
  text-align: center;
  background-color: #fff3f3;
}

h1, h5 {
  color: rgba(31, 2, 2, 0.822);
  font-size: 50px;
  font-weight: bolder;
  margin-bottom: 5rem;
  font-family: 'DM Mono', monospace;
}

.board {
  margin-left: -18rem;
}

#grid {
  margin: auto;
  border-spacing: 0;
  border-collapse: collapse;
}

#grid td {
  border: 1px solid black;
}

@-webkit-keyframes birth {
  50% {
    -webkit-box-shadow: 0 0 0 99px red inset;
            box-shadow: 0 0 0 99px red inset;
  }
  100% {
    -webkit-box-shadow: 0 0 0 99px green inset;
            box-shadow: 0 0 0 99px green inset;
  }
}

@keyframes birth {
  50% {
    -webkit-box-shadow: 0 0 0 99px red inset;
            box-shadow: 0 0 0 99px red inset;
  }
  100% {
    -webkit-box-shadow: 0 0 0 99px green inset;
            box-shadow: 0 0 0 99px green inset;
  }
}

#grid input[type="checkbox"] {
  margin: 0;
  width: 50%;
  height: 50%;
  background-color: #fff3f3;
  display: block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
}

#grid input[type="checkbox"]:checked {
  -webkit-box-shadow: 0 0 0 99px black inset;
          box-shadow: 0 0 0 99px black inset;
  -webkit-animation: birth 900ms;
          animation: birth 900ms;
}

i {
  font-size: 40px;
}

input[type="range"] {
  display: inline-block;
  width: 50%;
  margin-left: 2rem;
  cursor: pointer;
}

input[type="range"]:hover {
  cursor: pointer;
  opacity: 1;
}

.slider {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 15%;
  background: red;
  cursor: pointer;
  -webkit-transform: translate(180deg);
          transform: translate(180deg);
}

.box {
  height: 500px;
  width: 500px;
  border: 2px;
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.486) inset, 0 0.15em 0.8em -0.1em rgba(0, 0, 0, 0.3);
          box-shadow: 0 1px 0 rgba(255, 255, 255, 0.486) inset, 0 0.15em 0.8em -0.1em rgba(0, 0, 0, 0.3);
}

.keys-1 li {
  margin-top: 10px;
  padding: 5px;
  list-style: none;
}

#auto, .play, #reset {
  margin-top: 12px;
  margin-bottom: 10px;
  clip: rect();
  cursor: pointer;
  border-radius: .3em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0.15em 0.1em -0.1em rgba(0, 0, 0, 0.3);
          box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0.15em 0.1em -0.1em rgba(0, 0, 0, 0.3);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0))) rgba(255, 128, 128, 0.952);
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) rgba(255, 128, 128, 0.952);
  color: white;
  text-shadow: 0 -0.05em 0.05em rgba(0, 0, 0, 0.3);
  outline: none;
  padding: .4em .6em;
  font: inherit;
  font-weight: bold;
  font-size: 22px;
}

.play:active,
#auto:active,
input[type="checkbox"]:checked + label#auto,
#reset:active, .info:active {
  background-image: none;
  -webkit-box-shadow: 0 0.05em 0.2em rgba(0, 0, 0, 0.5) inset;
          box-shadow: 0 0.05em 0.2em rgba(0, 0, 0, 0.5) inset;
}

#autoplay {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.play:disabled {
  background-color: rgba(167, 125, 125, 0.952);
  cursor: not-allowed;
}

.foot p {
  color: #312929;
  font-weight: 300;
}

.h-01 {
  font-weight: bolder;
  color: black;
}

.modal-body p {
  text-align: left;
}

h3, h2 {
  text-align: left;
}

h5 {
  font-size: 25px;
  font-weight: bolder;
}

.info {
  cursor: pointer;
  border-radius: .3em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0.15em 0.1em -0.1em rgba(0, 0, 0, 0.3);
          box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0.15em 0.1em -0.1em rgba(0, 0, 0, 0.3);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0))) rgba(255, 128, 128, 0.952);
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)) rgba(255, 128, 128, 0.952);
  color: white;
  text-shadow: 0 -0.05em 0.05em rgba(0, 0, 0, 0.3);
  outline: none;
  padding: .4em .6em;
  font: inherit;
  font-weight: bold;
  font-size: 22px;
  font-size: 15px;
  display: block;
  position: absolute;
  margin-left: 53.5em;
  margin-top: -14em;
}
/*# sourceMappingURL=main.css.map */