body {
  background-color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

#binary-clock {
  width: 55vw;
  max-width: 1000px;
  text-align: center;
  margin-bottom: 3.5vw;
}
#binary-clock .section {
  display: inline-block;
  margin: 0.7vw;
}
#binary-clock .section .column {
  margin: 0.7vw;
  display: inline-flex;
  flex-direction: column-reverse;
  vertical-align: bottom;
}
#binary-clock .section .column .cell {
  height: 3.5vw;
  width: 3.5vw;
  margin: 0.7vw;
  display: block;
  background-color: #333;
  border-radius: 3px;
}
#binary-clock .section .column .cell.active {
  background-color: cornflowerblue;
}

#text-content {
  color: cornsilk;
  font-family: Roboto, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
}
#text-content #digital-time,
#text-content #am-pm {
  display: inline-block;
}
@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
#text-content .colons {
  animation: blink 1s infinite;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  margin-left: 5px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch input:checked + .slider {
  background-color: cornflowerblue;
}
.switch input:checked + .slider::before {
  transform: translateX(9px);
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: 0.4s;
}
.switch .slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 5px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
}
.switch .slider.round {
  border-radius: 34px;
}
.switch .slider.round::before {
  border-radius: 50%;
}