/* html, body {
  height: 100%;
}

body {
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  color: #424949;
  background-color: #ECF0F1;
  padding: 0 25px;
  display: flex;
  flex-direction: column;
  position: relative;
}

h1 {
  text-align: center;
  height: 38px;
  margin: 60px 0;
}
h1 span {
  white-space: nowrap;
} */

.flex-parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.input-flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80vw;
  height: 100px;
  max-width: 1000px;
  position: relative;
  z-index: 0;
}

.input {
  width: 25px;
  height: 25px;
  background-color: #025224;
  position: relative;
  border-radius: 50%;
}

.input:hover {
  cursor: pointer;
}

.input::before, .input::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  background-color: #025224;
  width: 4vw;
  height: 5px;
  max-width: 50px;
}

.input#readyGo::before, .input#finish::after {
  background-color: transparent;
}

.input::before {
  left: calc(-4vw + 12.5px);
}

.input::after {
  right: calc(-4vw + 12.5px);
}

.input.active {
  background-color: #4aa1a3;
}

.input.active::before {
  background-color: #4aa1a3;
}

.input.active span {
  font-weight: 600;
}

.input.active span::before {
  font-size: 14px;
  color: #4aa1a3;
  font-weight: 600;
}

.input.active span::after {
  font-size: 14px;
  color: #cb1b3d;
  font-weight: 500;
}

.input.active~.input, .input.active~.input::before, .input.active~.input::after {
  background-color: #AEB6BF;
}

.input span {
  /* width: 1px;
  height: 1px; */
  position: absolute;
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  visibility: hidden;
}

.input span::before, .input span::after {
  visibility: visible;
  position: absolute;
  left: 50%;
}

.input:nth-of-type(odd) span::before {
  top: -60px;
  /* border-left: 3px solid #4aa1a3; */
  height: 60px;
 /* background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #4aa1a3 0%, #4aa1a3 2%,
      transparent 2%, transparent 100%);
  z-index: -99;*/
  /* color: #4aa1a3; */
}

.input:nth-of-type(even) span::before {
  top: -40px;
  /* border-left: 3px solid #4aa1a3; */
  height: 40px;
 /* background:
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #4aa1a3 0%, #4aa1a3 2%,
      transparent 2%, transparent 100%);
  z-index: -99;*/
}

.input:nth-of-type(2).active span::after {
  color: #025224;
}

.input:nth-of-type(2) span::before {
  background: 
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(2).active::before,
.input:nth-of-type(2).active,
.input:nth-of-type(2)::before,
.input:nth-of-type(1)::after,
.input:nth-of-type(2) {
  background: #025224;
}

.input:nth-of-type(3).active span::after {
  color: #025224;
}

.input:nth-of-type(3) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(3).active::before,
.input:nth-of-type(3).active,
.input:nth-of-type(3)::before,
.input:nth-of-type(2)::after,
.input:nth-of-type(3) {
  background: #025224;
}

.input:nth-of-type(4).active span::after {
  color: #025224;
}

.input:nth-of-type(4) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(4).active::before,
.input:nth-of-type(4).active,
.input:nth-of-type(4)::before,
.input:nth-of-type(3)::after,
.input:nth-of-type(4) {
  background: #025224;
}

.input:nth-of-type(5).active span::after {
  color: #025224;
}

.input:nth-of-type(5) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025254 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(5).active::before,
.input:nth-of-type(5).active,
.input:nth-of-type(5)::before,
.input:nth-of-type(4)::after,
.input:nth-of-type(5) {
  background: #025224;
}

.input:nth-of-type(6).active span::after {
  color: #025224;
}

.input:nth-of-type(6) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(6).active::before,
.input:nth-of-type(6).active,
.input:nth-of-type(6)::before,
.input:nth-of-type(5)::after,
.input:nth-of-type(6) {
  background: #025224;
}

.input:nth-of-type(7).active span::after {
  color: #025224;
}

.input:nth-of-type(7) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(7).active::before,
.input:nth-of-type(7).active,
.input:nth-of-type(7)::before,
.input:nth-of-type(6)::after,
.input:nth-of-type(7) {
  background: #025224;
}

.input:nth-of-type(8).active span::after {
  color: #025224;
}

.input:nth-of-type(8) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(8).active::before,
.input:nth-of-type(8).active,
.input:nth-of-type(8)::before,
.input:nth-of-type(7)::after,
.input:nth-of-type(8) {
  background: #025224;
}

.input:nth-of-type(9).active span::after {
  color: #025224;
}

.input:nth-of-type(9) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(9).active::before,
.input:nth-of-type(9).active,
.input:nth-of-type(9)::before,
.input:nth-of-type(8)::after,
.input:nth-of-type(9) {
  background: #025224;
}

.input:nth-of-type(10).active span::after {
  color: #025224;
}

.input:nth-of-type(10) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(10).active::before,
.input:nth-of-type(10).active,
.input:nth-of-type(10)::before,
.input:nth-of-type(9)::after,
.input:nth-of-type(10) {
  background: #025224;
}

.input:nth-of-type(11).active span::after {
  color: #025224;
}

.input:nth-of-type(11) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #025224 0%, #025224 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #025224;
}

.input:nth-of-type(11).active::before,
.input:nth-of-type(11).active,
.input:nth-of-type(11)::before,
.input:nth-of-type(10)::after,
.input:nth-of-type(11) {
  background: #025224;
}

.input:nth-of-type(12) span::before {
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #cd173b 0%, #cd173b 2%,
      transparent 2%, transparent 100%);
  z-index: -99;
  color: #cd173b;
}

.input:nth-of-type(12).active::before,
.input:nth-of-type(12).active,
.input:nth-of-type(12)::before,
.input:nth-of-type(11)::after,
.input:nth-of-type(12) {
  background: #cd173b;
}



.input.active::after {
  background-color: #AEB6BF;
}

.input.active~.input:nth-of-type(odd) span::before {
  color: #8a929a;
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 70%,
      #fcf9f3 70%, #fcf9f3 100%),
    linear-gradient(90deg,
      #AEB6BF 0%, #AEB6BF 2%,
      transparent 2%, transparent 100%);
}

.input.active~.input:nth-of-type(even) span::before {
  color: #8a929a;
  background:
    linear-gradient(356deg,
      transparent 0%, transparent 60%,
      #fcf9f3 60%, #fcf9f3 100%),
    linear-gradient(90deg,
      #AEB6BF 0%, #AEB6BF 2%,
      transparent 2%, transparent 100%);
}



.input span::after {
  content: attr(data-year);
  font-size: 14px;

  text-align: center;
  color: #000;
  font-weight: 400;
  top: 17px;
  width: 0px;
  transform: translateX(8px) rotateZ(26deg);
  text-indent: -16px;
}

@media (min-width:992px) {
  .input span::after {
    top: 25px;
    transform: translateX(0);
    color: #000;
    font-weight: 400;
    width: 60px;
    text-indent: -60px;
    /* text-indent: 18px; */
  }
}

.input span::before {
  /* content: attr(data-info);
  top: -65px;
  width: 70px;
  transform: translateX(-5px) rotateZ(-45deg);
  font-size: 12px;
  text-indent: -10px; */
  content: attr(data-info);
  font-size: 13px;
  /* top: -58px; */
  width: 120px;
  /* transform: translateX(0px) rotateZ(334deg); */
  text-indent: -120px;
  text-align: center;
  font-weight: 400;
  left: -1px;
}

.input#readyGo span::before {
  top: -36px;
  width: 76px;
  transform: translateX(-50%);
  font-size: 14px;
  color: #025224;
  text-indent: 0px;
  background: transparent;
}

.input#finish span::before {
  top: -36px;
  /* transform: translateX(-15%); */
  font-size: 14px;
  color: #f00;
  /* text-indent: 0px; */
  background: transparent;
}

.description-flex-container {
  width: 80vw;
  font-weight: 400;
  font-size: 22px;
  margin-top: 100px;
  max-width: 1000px;
}

.description-flex-container p {
  margin-top: 0;
  display: none;
}

.description-flex-container p.active {
  display: block;
}

@media (min-width: 1250px) {
  .input::before {
    left: -37.5px;
  }

  .input::after {
    right: -37.5px;
  }
}

.input {
  font-size: 16px;
}

@media (max-width: 850px) {
  .input {
    width: 17px;
    height: 17px;
    font-size: 12px;
  }

  .input::before, .input::after {
    height: 3px;
  }

  .input::before {
    left: calc(-4vw + 8.5px);
  }

  .input::after {
    right: calc(-4vw + 8.5px);
  }
}

@media (max-width: 600px) {
  .flex-parent {
    justify-content: initial;
  }

  .input-flex-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-top: 15vh;
  }

  .input {
    width: 60px;
    height: 60px;
    margin: 0 10px 50px;
    background-color: #AEB6BF;
  }

  .input::before, .input::after {
    content: none;
  }

  .input span {
    width: 100%;
    height: 100%;
    display: block;
  }

  .input span::before {
    top: calc(100% + 5px);
    transform: translateX(-50%);
    text-indent: 0;
    text-align: center;
  }

  .input span::after {
    top: 50%;
    transform: translate(-50%, -50%);
    color: #4aa1a3;
  }

  .description-flex-container {
    margin-top: 30px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  body {
    min-height: 950px;
  }
}