*, *:before, *:after {
  box-sizing: border-box;
}

body {
  background: #333;
  text-align: center;
}

#simon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container {
  width: 450px;
  height: 450px;
  background: #050505;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  box-shadow: -5px 5px 10px black;
}

.green, .red, .blue, .yellow {
  width: 42%;
  height: 42%;
  position: absolute;
  filter: brightness(50%);
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.green {
  background: #0f0;
  border-radius: 100% 0 0 0;
  box-shadow: inset 3px 3px 25px rgba(0, 0, 0, .5);
  top: 6%;
  left: 6%;
}
.red {
  background: #f00;
  border-radius: 0 100% 0 0;
  box-shadow: inset -3px 3px 25px rgba(0, 0, 0, .5);
  top: 6%;
  left: 52%;
}
.blue {
  background: #00f;
  border-radius: 0 0 100% 0;
  box-shadow: inset -3px -3px 25px rgba(0, 0, 0, .5);
  top: 52%;
  left: 52%;
}
.yellow {
  background: #ff0;
  border-radius: 0 0 0 100%;
  box-shadow: inset 3px -3px 25px rgba(0, 0, 0, .5);
  top: 52%;
  left: 6%
}
.center {
  border-radius: 50%;
  position: absolute;
  border: 20px solid #050505;
  background: #999;
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
}

.center h1 {
  font-size: 3em;
  line-height: 1em;
  margin: .5em 0;
  font-family: 'Lobster';
}

.display, .start-button p, .strict-button p {
  margin: 0;
}

.display, .start-button, .strict-button {
  display: inline-block;
  vertical-align: top;
}

.strict-button {
  margin-right: 0;
}

.display {
  border-radius: 4px;
  border: 2px solid #333;
  margin-right: .5em;
  margin-left: .5em;
  background: #111;
  color: #600;
  font-weight: bold;
  width: 2.5em;
}

.start-button p, .strict-button p {
  font-size: .75em;
}

.start, .strict {
  border-radius: 50%;
  border: 3px solid #333;
  width: 20px;
  height: 20px;
  cursor: pointer;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, .75);
}

.start:active, .strict:active {
  transform: translateY(1px);
  width: 19px;
  height: 19px;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 1);
}

.start {
  background: #c33;
}

.strict {
  background: #cc3;
}

.start:focus, .strict:focus {
  outline: none;
}

.switch-button {
  display: block;
  padding: 0;
  width: 3em;
  height: 1.35em;
  margin: 0 auto;
  border: 1px solid #333;
  border-radius: 2px;
  background: #bbf;
  position: relative;
  cursor: pointer;
}

.switch-button:focus {
  outline: none;
}

.switch {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  box-shadow: -1px 0 2px rgba(0, 0, 0, .75);
  border: 1px solid rgba(0, 0, 0, 1);
  width: 40%;
  height: 1.25em;
  background: #55f;
  border: none;
}

@media screen and (max-width: 680px) {
  .container {
    width: 300px;
    height: 300px;
    border-radius: 5px;
  }

  .green {
    border-radius: 5px 0 0 0;
  }
  .red {
    border-radius: 0 5px 0 0;
  }
  .blue {
    border-radius: 0 0 5px 0;
  }
  .yellow {
    border-radius: 0 0 0 5px;
  }

  .center h1 {
    font-size: 1.325em;
    margin: .5em 0;
  }

  .display, .start-button, .strict-button {
    margin: 0;
  }

  .display {
    font-size: .875em;
  }

  .start, .strict {
    border: 2px solid #333;
    width: 15px;
    height: 15px;
  }

  .start-button p, .strict-button p {
    font-size: .675em;
  }
}
