.spacer {
  width: 100%;
  height: 30vh;
}

.all-parts {
  position: relative;
  width: 100%;
  height: 1600px;
  margin: 0 auto;
}

.all-parts > div:nth-child(1) {
  z-index: 10;
  opacity: 0;
}

.all-parts > div:nth-child(1).always-show {
  opacity: 1 !important;
}

.all-parts > div:nth-child(2) {
  z-index: 9;
}

.all-parts > div:nth-child(3) {
  z-index: 8;
}

.all-parts > div:nth-child(4) {
  z-index: 7;
}

.all-parts > div:nth-child(5) {
  z-index: 6;
}

.all-parts > div:nth-child(6) {
  z-index: 5;
}

.all-parts > div:nth-child(7) {
  z-index: 4;
}

.all-parts .part-child {
  position: absolute;
  left: 50%;
  margin-left: -500px;
  width: 1000px;
  height: 270px;
  color: #fff;
  display: flex;
  align-items: center;
}

/* Image on the left */
.all-parts .part-child .part-img {
  width: 600px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-parts .part-child img {
  display: inline-block;
}

/* Info block (name + desc) on the right */
.all-parts .part-child .part-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  opacity: 0;
  transition: opacity 0.1s linear 0s;
}

.all-parts .part-child.show .part-info {
  transition: opacity 0.4s linear 0.2s;
  opacity: 1;
}

.all-parts .part-child .part-name {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.all-parts .part-child .part-desc {
  text-align: left;
  width: 280px;
  line-height: 1.5;
}

/* ---- Mobile ---- */
@media screen and (max-width: 767px) {
  .spacer {
    width: 100%;
    height: 6vh;
  }

  .all-parts .part-child {
    width: 100%;
    left: 0;
    margin-left: 0;
    height: auto;
    min-height: auto;
    flex-direction: column;
    text-align: center;
    background: transparent;
    padding: 0;
  }

  .all-parts .part-child .part-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .all-parts .part-child .part-img img {
    max-width: 70%;
    max-height: 100%;
    width: auto;
    height: auto;
  }

  .all-parts .part-child .part-info {
    align-items: center;
    padding: 14px 20px 20px;
    padding-left: 20px;
    margin-top: 0;
    width: 100%;
  }

  .all-parts .part-child .part-name {
    font-size: 16px;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }

  .all-parts .part-child .part-desc {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
}