:root {
  --color-cyan: #25b8c9;
  --color-darkblue: #15679c;
  --color-green: #7ebf40;
  --color-brown: #d68869;
  --color-orange: #f78b1e;
  --color-purple: #5b207b;
  --color-text: #43494d;
}

/* Dlaždice */

ul.timeline::before {
  z-index: -1;
}

.category-0 {
  max-width: 848px; /* 1272px */
  width: 100%;
  padding-top: 100px;
}

.link-div-outer {
  width: 100%;
  margin-left: -220px;
  background-color: #ffffff;
  box-shadow: 0px 3px 36px #0000001c;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 1fr 1fr 1fr */
}

.link-div-outer::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 78px;
  left: 116px;
  border-style: solid;
  border-color: transparent transparent #fff;
  border-top: 0;
  border-width: 22px;
}

.link-div-inner {
  width: 100%;
  height: 130px;
  background-color: transparent;
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 16px;
  transition: ease-out 200ms;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: inset 0 0 0 0 transparent;
}

.link-div-inner:hover .fa-circle-chevron-right,
.link-div-inner:focus .fa-circle-chevron-right {
  color: #ffffff;
}

.link-div-inner.first:hover,
.link-div-inner.first:focus {
  box-shadow: inset 98px 130px 0 0 var(--color-green);
  color: white;
}

.link-div-inner.second:hover,
.link-div-inner.second:focus {
  box-shadow: inset 98px 130px 0 0 var(--color-brown);
  color: white;
}

.link-div-inner.third:hover,
.link-div-inner.third:focus {
  box-shadow: inset 98px 130px 0 0 var(--color-orange);
  color: white;
}

.link-div-inner.fourth:hover,
.link-div-inner.fourth:focus {
  box-shadow: inset 98px 130px 0 0 var(--color-cyan);
  color: white;
}

.link-div-inner.fifth:hover,
.link-div-inner.fifth:focus {
  box-shadow: inset 98px 130px 0 0 var(--color-darkblue);
  color: white;
}

.link-div-inner.sixth:hover,
.link-div-inner.sixth:focus {
  box-shadow: inset 98px 130px 0 0 var(--color-purple);
  color: white;
}

.link-left-part {
  width: 100%;
  height: 109px;
  display: grid;
  place-items: center;
}

.link-left-part.first {
  background-color: var(--color-green);
}

.link-left-part.second {
  background-color: var(--color-brown);
}

.link-left-part.third {
  background-color: var(--color-orange);
}

.link-left-part.fourth {
  background-color: var(--color-cyan);
}

.link-left-part.fifth {
  background-color: var(--color-darkblue);
}

.link-left-part.sixth {
  background-color: var(--color-purple);
}

.link-right-part {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 4px;
}

.link-header-text {
  color: inherit;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: left;
  line-height: 21px;
  margin: 0;
  padding-right: 8px;
}

.link-description-div {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

.link-description-text {
  color: inherit;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: left;
  line-height: 21px;
  margin: 0;
}

.fa-circle-chevron-right.first {
  color: var(--color-green);
}

.fa-circle-chevron-right.second {
  color: var(--color-brown);
}

.fa-circle-chevron-right.third {
  color: var(--color-orange);
}

.fa-circle-chevron-right.fourth {
  color: var(--color-cyan);
}

.fa-circle-chevron-right.fifth {
  color: var(--color-darkblue);
}

.fa-circle-chevron-right.sixth {
  color: var(--color-purple);
}

/* media */

@media only screen and (max-width: 1700px) {
  .link-div-outer {
    width: 110%;
  }
}

@media only screen and (max-width: 1620px) {
  .link-div-outer {
    width: 115%;
  }

  .link-header-text {
    font-size: 18px;
  }

  .link-description-text {
    font-size: 14px;
  }

  .fa-circle-chevron-right {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1420px) {
  .link-div-outer {
    grid-template-columns: 1fr 1fr;
    width: 105%;
  }
}

@media only screen and (max-width: 1200px) {
  .link-div-outer {
    width: 100%;
  }
}

@media only screen and (max-width: 1060px) {
  .link-div-outer {
    width: 110%;
  }
}

@media only screen and (max-width: 985px) {
  .link-div-outer {
    width: 130%;
  }
}

@media only screen and (max-width: 850px) {
  .link-div-outer {
    margin-left: -170px;
    width: 120%;
  }

  .link-div-outer::before {
    top: 78px;
    left: 52px;
  }
}

@media only screen and (max-width: 770px) {
  .link-div-outer {
    grid-template-columns: 1fr;
    width: 90%;
  }
}

@media only screen and (max-width: 655px) {
  .link-div-outer {
    width: 110%;
  }
}

@media only screen and (max-width: 600px) {
  .link-div-outer {
    width: 110%;
    margin-left: -140px;
  }
}

@media only screen and (max-width: 560px) {
  .link-div-outer {
    width: 120%;
  }
}

@media only screen and (max-width: 500px) {
  .link-header-text {
    font-size: 16px;
  }

  .link-description-text {
    font-size: 12px;
  }

  .fa-circle-chevron-right {
    font-size: 16px;
  }

  .widget-button {
    right: 12px;
  }
}

@media only screen and (max-width: 450px) {
  .link-div-outer {
    width: 145%;
  }
}

@media only screen and (max-width: 400px) {
  .link-div-outer {
    width: 160%;
  }
}
