
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%;
  min-height: 500px; }

.input-flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 80vw;
  max-width: 1000px;
  position: relative;
  z-index: 0;
  margin-left: calc((80vw - 25px) / 10); }

input {
  width: 25px;
  height: 25px;
  background-color: #cb7c3e;
  position: relative;
  border-radius: 50%;
  display: block;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer; }
  input:focus {
    outline: none; }
  input::before, input::after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    background-color: #cb7c3e;
    width: 8vw;
    height: 5px;
    max-width: 100px; }
  input::before {
    left: calc(-8vw + 12.5px); }
  input::after {
    right: calc(-8vw + 12.5px); }
  input:checked {
    background-color: #cb7c3e; }
    input:checked::before {
      background-color: #cb7c3e; }
    input:checked::after {
      background-color: #f5c7a8; }
  input:checked ~ input, input:checked ~ input::before, input:checked ~ input::after {
    background-color: #f5c7a8; }
  input:checked + .dot-info span {
    font-size: 13px;
    font-weight: bold; }

.dot-info {
  width: 25px;
  height: 25px;
  display: block;
  visibility: hidden;
  position: relative;
  z-index: -1;
  left: calc((((80vw - 25px) / 10) * -1) - 1px); }
  .dot-info span {
    visibility: visible;
    position: absolute;
    font-size: 12px; }
    .dot-info span.year {
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%); }
    .dot-info span.label {
      top: -110px;
      left: 30px;
      transform: rotateZ(-45deg);
      width: 70px;
      text-indent: -10px; }

#timeline-descriptions-wrapper {
  width: 100%;
  margin-top: 140px;
  font-size: 22px;
  font-weight: 400;
  margin-left: calc((-80vw - 25px) / 10); }
  #timeline-descriptions-wrapper p {
    margin-top: 0;
    display: none; }

input[data-description="2020"]:checked ~ #timeline-descriptions-wrapper p[data-description="2020"] {
  display: block; }

input[data-description="2022"]:checked ~ #timeline-descriptions-wrapper p[data-description="2022"] {
  display: block; }

input[data-description="2023"]:checked ~ #timeline-descriptions-wrapper p[data-description="2023"] {
  display: block; }

input[data-description="2024"]:checked ~ #timeline-descriptions-wrapper p[data-description="2024"] {
  display: block; }

input[data-description="proch"]:checked ~ #timeline-descriptions-wrapper p[data-description="proch"] {
  display: block; }

@media (min-width: 1250px) {
.input-flex-container {
  margin-left: 112.5px; }
input::before {
  left: -87.5px; }
input::after {
  right: -87.5px; }
.dot-info {
  left: calc((((1000px - 25px) / 10) * -1) - 1px); }
#timeline-descriptions-wrapper {
  margin-left: -87.5px; } }

@media (max-width: 630px) {
.flex-parent {
  justify-content: initial; }
.input-flex-container {
  flex-wrap: wrap;
  justify-content: center;
  width: 400px;
  height: auto;
  margin-top: 15vh;
  margin-left: 0;
  padding-bottom: 30px; }
input, .dot-info {
  width: 60px;
  height: 60px;
  margin: 0 10px 50px; }
input {
  background-color: transparent !important;
  z-index: 1; }
  input::before, input::after {
    content: none; }
  input:checked + .dot-info {
    background-color: #f5c7a8; }
    input:checked + .dot-info span.year {
      font-size: 14px; }
    input:checked + .dot-info span.label {
      font-size: 12px; }
.dot-info {
  visibility: visible;
  border-radius: 50%;
  z-index: 0;
  left: 0;
  margin-left: -70px;
  background-color: #AEB6BF; }
  .dot-info span.year {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ECF0F1; }
  .dot-info span.label {
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    text-indent: 0;
    text-align: center; }
#timeline-descriptions-wrapper {
  margin-top: 30px;
  margin-left: 0;
  text-align: center; } }

@media (max-width: 480px) {
.input-flex-container {
  width: 340px; } }

@media (max-width: 400px) {
.input-flex-container {
  width: 300px; } }
