::selection {
    background: rgb(127, 255, 0);
    color: #fff;
}

body .clock .input-wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body .clock .input-wrapper .input input:focus,
body .clock .input-wrapper .input input:active,
body .clock .input-wrapper .input select:focus,
body .clock .input-wrapper .input select:active,
body .clock .input-wrapper button:focus,
body .clock .input-wrapper button:active {
    outline: none;
    box-shadow: none;
    border-color: rgb(127, 255, 0);
}

body .clock .buttons-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

body .clock .input-wrapper button {
    margin: 0 auto;
    background-color: rgb(127, 255, 0);
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 30px;
    margin-left: 5px;
    margin-right: 5px;
}

body .clock #timer {
    display: none;
}

body .clock #timer .endMessage {
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  opacity: 0;
  transition: all .35s ease;
}

body .clock #timer .clock-wrapper {
    display: flex;
    justify-content: center;
}

body .clock #timer .clock-wrapper span {
    font-size: 75px;
    font-weight: bold;
    transition: all .2s ease;
}

body .clock #timer .clock-wrapper span.red {
  transition: all .2s ease;
  color: rgb(233, 19, 19);
  font-size: 75px;
}

body .clock #timer .clock-wrapper span.red.hours,
body .clock #timer .clock-wrapper span.red.minutes,
body .clock #timer .clock-wrapper span.red.dots {
  width: 0;
  opacity: 0;
  transition: all .3s ease;
}

body .clock #timer .clock-wrapper span.dots {
    margin-top: -5px;
}

/*body .clock button#stop-timer {
    margin: 0 10px;
    background-color: rgb(233, 19, 19);
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 30px;
    display: none;
    color: #fff;
    width: 150px;
}*/

/*body .clock button#reset-timer {
  width: 150px;
  margin: 0;
  background-color: #000;
  padding: 10px 15px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 30px;
  display: none;
  color: #fff;
}*/

/*body .clock button#resume-timer {
    width: 150px;
    margin: 0;
    background-color: rgb(127, 255, 0);
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 30px;
    display: none;
    color: #fff;
}*/

body .clock button#resume-timer:focus {
  outline: none;
  box-shadow: none;
  border-color: rgb(127, 255, 0);
}

body .clock button#stop-timer:focus {
    outline: none;
    box-shadow: none;
    border-color: rgb(233, 19, 19);
}

body .clock button#reset-timer:focus {
  outline: none;
  box-shadow: none;
  border-color: #000;
}

@media only screen and (max-width: 768px) {
    body .clock {
        /*padding: 25px 0;*/
    }

    body .clock #timer {
        display: none;
        /*padding: 25px 0;*/
    }

    body .clock #timer .clock-wrapper span {
        font-size: 75px;
    }

    body .clock #timer .clock-wrapper span.dots {
        margin-top: -3px;
    }

    body .clock #timer .clock-wrapper span.red {
      font-size: 75px;
    }
}
