@import "breakpoint";
@import "susy";

body {
  margin: 0;
}

.header-container {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.step-list li {
  max-width: 100%;
  list-style-type: disc;
  overflow-wrap: break-word;
}

.step-list {
  margin: 0;
  padding: 0;
}

.step-list__item {
  counter-increment: step-counter;
  position: relative;
  display: flex;
  flex-direction: row;
  padding-bottom: 18px;
  margin-left: 50px;
}

.step-list__item:before {
  content: attr(data-year);
  font-weight: 400;
  font-size: 8px;
  line-height: 42px;
  position: absolute;
  left: -30px;
  top: 0;
}

.step-list__item h2 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 300;
}

.step-list__item .body {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  margin-top: 8px;
  margin-left: 12px;
}

.step-list__item .content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.step-list__item:nth-child(odd) .content {
  justify-content: flex-start;
}

.step-list__item:nth-child(even) .content {
  justify-content: flex-end;
}

.step-list__item:first-child>.step-list__item__inner:before,
.step-list__item:last-child>.step-list__item__inner:after {
  content: none;
}

.step-list__item+li {
  margin-top: 84px;
}

.step-list__item+li>div {
  margin-top: 10rem;
}

.step-list__item .content:before {
  content: "";
  position: absolute;
  border-left: #d8d8d8;
  height: 100%;
  left: 9px;
  bottom: 0;
  display: block;
  width: 1px;
  background: #d8d8d8;
  top: 42px;
}

.step-list__item:last-child .content:before {
  content: none;
}

.step-list__item.step-1 .icon img {
  background-color: #fff;
  content: url("../content/op.gif");
}

.step-list__item.step-2 .icon img {
  content: url("../content/punch.gif");
}

.step-list__item.step-3 .icon img {
  background-color: #fff;
  content: url("../content/zombie.gif");
}

.step-list__item.step-4 .icon img {
  background-color: #fff;
  content: url("../content/runn.gif");
}

.step-list__item.step-5 .icon img {
  background-color: #fff;
  content: url("../content/onep.gif");
}

.step-list__item.step-6 .icon img {
  background-color: #fff;
  content: url("../content/melon.gif");
}

@media screen and (min-width: 601px) {
  .step-list__item:before {
    font-size: 25px;
    line-height: 42px;
  }

  .step-list__item .icon {
    width: 8rem;
    height: 30rem;
    padding: 5px;
    position: absolute;
    border-radius: 5px;
    left: -30px;
    top: 42px;
  }

  .step-list__item .body {
    font-size: 14px;
    line-height: 20px;
    margin-top: 8px;
    margin-left: 12px;
  }

  .step-list__item .content:before {
    content: "";
    position: absolute;
    border-left: #d8d8d8;
    height: 100%;
    left: 9px;
    bottom: 0;
    display: block;
    width: 1px;
    background: #d8d8d8;
    top: 42px;
    /* Adjusted to align with icon */
  }

  .step-list__item:last-child .content:before {
    content: none;
  }
}

@media (max-width: 601px) {
  .icon img {
    display: none;
  }
}