*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", sans-serif;
  line-height: 1;
}

.numbers {
  padding: 3rem;
  text-align: center;
  margin-bottom: 300px;
}

.stmt {
  color: rgb(245, 0, 41);
  font-size: 70px;
}

.digit {
  position: relative;
  font-size: 10rem;
  font-weight: bold;
  color: rgb(245, 0, 41);
  line-height: 1;
  padding: 0 1.5rem;
  border-radius: 0.8rem;

  &:before {
    content: "";
    display: block;
    background: black;
    opacity: 0.2;
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
  }

  &:after {
    content: "";
    display: block;
    background: black;
    opacity: 0.1;
    height: 50%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    border-bottom-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
  }
}

// non-responsive message
@media all and (max-width: 550px) {
  body:before {
    content: "Unfortunately, this pen is not completely responsive and is still a work in progress. For the full effect, please view this pen on a screen 550px or wider.";
    display: block;
    text-align: center;
    padding: 3rem;
    line-height: 1.5;
    font-size: 2.1rem;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: dodgerblue;
    color: white;
  }

  .numbers {
    display: none;
  }
}
