@font-face {
  font-family: "knileregular";
  src: url("../assets/knile-regular-webfont.eot");
  src: url("../assets/knile-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/knile-regular-webfont.woff2") format("woff2"),
    url("../assets/knile-regular-webfont.woff") format("woff"),
    url("../assets/knile-regular-webfont.ttf") format("truetype"),
    url("../assets/knile-regular-webfont.svg#knileregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "knilelight";
  src: url("../assets/knile-light-webfont.eot");
  src: url("../assets/knile-light-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/knile-light-webfont.woff2") format("woff2"),
    url("../assets/knile-light-webfont.woff") format("woff"),
    url("../assets/knile-light-webfont.ttf") format("truetype"),
    url("../assets/knile-light-webfont.svg#knilelight")
      format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: knileregular;
}

p {
  font-size: 1.6rem;
}

#header.sticky #header-nav {
  box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.5);
}

#header.sticky .header-badge {
  width: 140px;
  height: 140px;
  font-size: 1.4rem;
}

#mobile-menu {
  box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.2);
}

.icon-line {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  height: 17px;
  align-items: center;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 62 17" fill="none"><path d="M16.5333 0H0V16.5333H16.5333V0Z" fill="black"/><path d="M53.7332 16.5333C58.2988 16.5333 61.9999 12.8322 61.9999 8.26667C61.9999 3.70111 58.2988 0 53.7332 0C49.1677 0 45.4666 3.70111 45.4666 8.26667C45.4666 12.8322 49.1677 16.5333 53.7332 16.5333Z" fill="black"/><path d="M23.0286 7.97144H39.5619" stroke="black" stroke-width="1.77143" stroke-miterlimit="10"/></svg>');
  background-repeat: repeat-x;
  background-size: 72px 17px;
  padding: 6.4rem 0;
  background-position: center;
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  color: #000;
}

.modal-active {
  opacity: 1 !important;
  z-index: 99;
  pointer-events: auto !important;
  transition: opacity 0.3s ease;
}

.timeline {
  white-space: nowrap;
}

.timeline ol {
  padding: 150px 0;
  transition: all 1s;
}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 5px;
  background: #000;
  scroll-snap-align: start;
}

.timeline ol li:last-child {
  width: 340px;
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #000;
  z-index: 1;
}

.timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  font-size: 16px;
  padding: 15px;
  white-space: normal;
  border: 1px solid #000;
  background: #fff;
  border-radius: 0 10px 10px 10px;
}

.timeline ol li div::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -1px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
  border-radius: 10px 10px 10px 0;
}

.timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: #000 transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #000;
}

.timeline h3 {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
}

@media screen and (max-width: 800px) {
  .timeline {
    display: block;
  }

  .timeline::before,
  .timeline::after {
    width: 50px;
  }

  .timeline::before {
    left: 0;
  }

  .timeline .info {
    display: none;
  }

  .timeline ol li div {
    left: calc(100% + -80px);
  }

  .timeline ol li:not(:last-child)::after {
    left: calc(100% + -90px);
  }

  .timeline ol li:not(:first-child) {
    margin-left: -4px;
  }
}
