@media only screen and (max-width: 768px) {
  .pedigree {
    margin-top: 0px;
    max-width: 943px;
  }

  .pedigree-inner {
    margin-top: 50px;
    width: 100vw;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
  }

  .pedigree-item {
    display: flex;
    gap: 2px;
    padding-left: 0;
    width: 100%;
  }

  .child-1 {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
  }

  .child-1 li {
    font-weight: 700;
    letter-spacing: 4.8px;
    font-size: 18px;
    flex: 1 0 68.6%;
  }

  .child-2 {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
  }

  .child-2 li {
    flex: 1 0 33.9%;
    font-weight: 500;
    letter-spacing: 2.6px;
    font-size: 9px;
  }

  .child-3 {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
  }

  .child-3 li {
    flex: 1 0 16.5%;
    height: 55px;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    align-items: center;
    letter-spacing: 2.4px;
    padding: 5px 20px 5px 20px;
  }

  .child-4 {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
  }

  .child-4 li {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.4px;
    width: 42px;
    height: 200px;
  }

  /*old*/
  .pedigree {
    max-width: 943px;
  }

  .single-head {
    width: 36% !important;
  }

  .child-1 li::after {
    top: 60px;
    height: 43px;
    width: 200px;
  }

  .child-4-inner {
    flex: 1 0 16.5%;
    gap: 5px;
    width: 0px;
  }

  .main-parent {
    left: 167px;
  }

  .child-3 li::after {
    background-size: 99% 53%;
    top: 48px;
    height: 53px;
    width: 89px;
  }

  .main-parent:after {
    top: 74px;
  }

  .child-2 li::after {
    top: 45px;
    width: 140px;
  }

  .animate-story a {
    font-size: 12px;
  }
}
