body  {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #eeeeee;
}

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

button:hover {
    transition: all .5s ease;
    transform: scale(1.05);
}

body header .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

body header .navbar h1 {
    text-align: center;
    font-weight: bold;
    font-size: 56px;
    border-bottom: 2px solid rgb(127, 255, 0);
}

body .clock {
    padding: 100px 0;
}

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

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

body .clock .input-wrapper .input input {
    margin-right: 10px;
    height: 46px;
}

body .clock .input-wrapper .input select {
    height: 46px;
}

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;
}

#timer {
    display: none;
}

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

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

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

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

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

 #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: 15px 0;
    }

    #timer {
        display: none;
        padding: 10px 0;
    }

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

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

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