#my-boat-chart,
.my-ch-container {
  width: 100%;
  height: 100px;

  bottom: 15px;

  position: relative;
}

.my-ch-container::before,
.my-ch-container::after {
  position: absolute;

  bottom: 24px;

  font-weight: bold;

  color: var(--my-dark);

  letter-spacing: .2rem;
}

.my-ch-container::before { content: 'PORT' }

.my-ch-container::after {
  content: 'INAGUA';

  right: 0;
}

.ch-line,
.ch-line::before,
.ch-line::after {
  position: absolute;

  width: 100%;
  height: 38px;

  left  : 0;
  bottom: 0;
}

.ch-line {
  bottom: -11px;

  background-color: var(--my-dark);

  border-radius: 4px;

  overflow: hidden;

  transform: scaleY(.5);
}

.ch-line::after {
  content: '';

  background-image: url('../media/svg/wave-def.svg');
  background-repeat: repeat;
  background-size: 12px;
  background-position-y: 4px;
}

.cht-item {
  position: absolute;

  bottom: 0;

  padding-bottom: 0;

  display: flex;
  justify-content: center;

  z-index: 1;

  transition: left .1s ease-in-out;
}

.cht-item::before {
  content: '';

  position: absolute;

  width : 8px;
  height: 8px;

  bottom: -14px;

  border-radius: 100%;

  background-color: var(--my-dark);
}

.ch-division {
  position: absolute;

  width: 100%;

  padding: 0 1px;

  bottom: -39px;

  display: flex;
  justify-content: space-between;
}

.ch-division span {
  position: relative;

  color: var(--my-dark);

  display: flex;
  justify-content: center;
}

.ch-division span:first-child,
.ch-division span:last-child,
.ch-division span:nth-child(2n + 3) { font-weight: bold }

.ch-division span::before {
  content: '|';

  position: absolute;

  color: var(--my-primary);

  font-weight: normal;

  top: -20px;
}

/*.cht-item::after {*/
/*  content: 'Twoja średnia | 24';*/

/*  position: absolute;*/

/*  width: max-content;*/

/*  bottom: -30px;*/

/*  border-radius: 100%;*/

/*  color: var(--my-dark);*/
/*}*/

.cht-item svg {
  width : 60px;
  height: 60px;

  animation-name: anim-boat;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.cht-item.bigBoat svg { width: 110px }

.ch-wave {
  position: absolute;

  width: 20px;
  height: 20px;

  bottom: 10px;

  background-image: url("./../media/svg/wave-big.svg");
  background-repeat: no-repeat;
  background-size: 20px;
}

@keyframes anim-boat {
  40% {
    transform: rotateZ(0)
    translateY(0);
  }

  65% {
    transform: rotateZ(-2deg)
    translateY(-3px);
  }

  85% {
    transform: rotateZ(1deg)
    translateY(2px);
  }
}
