$primary-color: #008c9e;
$secondary-color-1: #6fb40a;
$secondary-color-2: #c54800;
$secondary-color-3: #22a568;
$primary-bg-color: #00b2cb;
$secondary-bg-color-1: #8ee80e;
$secondary-bg-color-2: #ff5d00;
$secondary-bg-color-3: #2ad587;
$base-color: #faf8f8;

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

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-color: $base-color;
  font-family: "montserrat", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

h2 {
  padding: 30px 0;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.time {
  display: inline-block;
  position: relative;
  margin: 10px;
  -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #00000050);

  span {
    display: flex;
    align-items: center;
    justify-content: center;

    &:nth-child(1) {
      width: 180px;
      height: 50px;
      color: $base-color;
      background-color: $primary-color;
      font-size: 25px;
      font-weight: 400;
      text-align: center;
      text-transform: uppercase;
    }

    &:nth-child(2) {
      height: 150px;
      color: $base-color;
      background-color: $primary-bg-color;
      font-size: 90px;
      font-weight: 700;
    }
  }

  &:nth-of-type(2) {
    span:nth-child(1) {
      background-color: $secondary-color-1;
    }
    span:nth-child(2) {
      background-color: $secondary-bg-color-1;
    }
  }

  &:nth-of-type(3) {
    span:nth-child(1) {
      background-color: $secondary-color-2;
    }
    span:nth-child(2) {
      background-color: $secondary-bg-color-2;
    }
  }

  &:nth-of-type(4) {
    span:nth-child(1) {
      background-color: $secondary-color-3;
    }
    span:nth-child(2) {
      background-color: $secondary-bg-color-3;
    }
  }
}
