
.intro {
    background: #F45B69;
    padding: 100px 0; }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; }
  
  h1 {
    font-size: 2.5rem; }
  
  /* TIMELINE
    –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .timeline ul {
    background: #DDDDDD;
    padding: 50px 0; }
  
  .timeline ul li {
    list-style-type: none;
    position: relative;
    width: 1px;
    margin: 0 auto;
    padding-bottom: 50px;
    min-height: 270px;
    background: #000;
    margin-bottom: 20px; }
  
  .timeline ul li:nth-child(1) {
    margin-bottom: 25px; 
    min-height: initial;
  }
  
  .timeline ul li:nth-child(1)::after {
    width: 25px;
    height: 25px;
    bottom: -25px; }
  
  .timeline ul li::after {
    content: '';
    position: absolute;
    left: 70%;
    bottom: -16px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: inherit;
    border: 5px solid #DDDDDD;
    z-index: 5; }
  
  .timeline ul li .img_box {
    position: absolute;
    top: 0;
    height: 270px;
    bottom: 0;
    width: 400px;
    padding: 15px;
    background: #fff; }
  
  .timeline ul li .img_box::before {
    content: '';
    position: absolute;
    top: 7px;
    width: 0;
    height: 0;
    border-style: solid; }
  
  .timeline ul li:nth-child(odd) .img_box {
    left: 45px; }
  
  .timeline ul li:nth-child(odd) .img_box::before {
    left: -20px;
    border-width: 15px 30px 15px 0;
    border-color: transparent #fff transparent transparent; }
  
  .timeline ul li:nth-child(even) .img_box {
    left: -439px; }
  
  .timeline ul li:nth-child(even) .img_box::before {
    right: -20px;
    border-width: 15px 0 15px 30px;
    border-color: transparent transparent transparent #fff; }
  
  time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px; }
  
  /* EFFECTS
    –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .timeline ul li::after {
    transition: background .5s ease-in-out; }
  
  .timeline ul li.in-view::after {
    background: #000; }
  
  .timeline ul li .img_box {
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease-in-out; }
  
  .timeline ul li:nth-child(odd) .img_box {
    transform: translate3d(200px, 0, 0); }
  
  .timeline ul li:nth-child(even) .img_box {
    transform: translate3d(-200px, 0, 0); }
  
  .timeline ul li.in-view .img_box {
    margin-top: -37px;
    transform: none;
    visibility: visible;
    opacity: 1; }
  
  /* GENERAL MEDIA QUERIES
    –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media screen and (max-width: 900px) {
    .timeline ul li .img_box {
      width: 250px; }
    .timeline ul li:nth-child(even) .img_box {
      /*250+45-6*/ } }
  
  @media screen and (max-width: 760px) {
    .timeline ul li {
      margin-left: 20px; }
    .timeline ul li .img_box {
      width: calc(100vw - 50px); 
    height: auto;}
    .timeline ul li:nth-child(even) .img_box {
      left: 45px; }
    .timeline ul li:nth-child(even) .img_box::before {
      top: -20px;
      right: 10px;
      border-width: 10px 0 10px 20px; }
    .timeline ul li:nth-child(odd) .img_box::before {
      left: 10px;
      top: -20px;
      border-width: 10px 20px 10px 0; } }
  
.context_box {
  position: relative;
  left: 45px;
  width: 380px;
  top: -22px;
  font-family: 'Noto Sans TC' !important; }
  .context_box time {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0; }
  .context_box h2 {
    font-weight: bold;
    font-weight: bold;
    font-size: 30px;
    line-height: 40px;
    font-family: 'Noto Sans TC';
    margin-top: 5px;
    margin-bottom: 10px; }
  .context_box p {
    font-size: 14px;
    margin-bottom: 0; }
  .context_box a {
    margin-top: 20px;
    display: inline-block;
    margin-right: 15px; }

.in-view:nth-child(odd) .context_box {
  left: -420px; }




  .timeline ul li:nth-last-child(1).in-view::after {
    display: none; }
  
  .d-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: cemter;
    background-color: #DDDDDD; }
    .d-flex h2 {
      padding-top: 20px;
      font-weight: bold;
      font-size: 30px;
      line-height: 30px;
      font-family: 'Noto Sans TC';
      padding-bottom: 10px; }
    .d-flex h3 {
      margin-top: 0;
      font-weight: bold;
      font-size: 30px;
      line-height: 30px;
      font-family: 'Noto Sans TC';
      letter-spacing: 0.3px;
      margin-bottom: 0; }
      .d-flex h3 img {
        margin-bottom: 8px; }
    .d-flex a {
      margin-bottom: 30px;
      padding: 5px 20px;
      font-size: 14px;
      letter-spacing: 1px;
      font-family: 'Noto Sans TC' !important; }
  
  @media (max-width: 760px) {
    .timeline ul {
        padding-top: 0px;
        padding-bottom: 20px;
    }
    .timeline .in-view {
      width: 100%;
      background-color: #dddddd;
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-left: 0 !important; }
      .timeline .in-view::after {
        display: none; }
      .timeline .in-view .img_box,.timeline .in-view .context_box {
        margin: 0 auto;
        background-color: #dddddd;
        position: initial;
        padding: 0; }
        .timeline .in-view .context_box {
          width: 95%;
        }
      .timeline .in-view time, .timeline .in-view h2, .timeline .in-view p {
        position: initial;
        width: 90%;
        margin-left: 20px; }
      .timeline .in-view a {
        margin-left: 28%; 
      }
      .timeline .in-view a ~ .timeline .in-view a {
        margin-left: 0;
      }
        .timeline .in-view a.btns {
          margin-left: 0; }
        .timeline .in-view a.btn2 {
          margin-left: 7%; }
      .timeline .in-view img {
        border: 10px solid white;
        width: 100%;
        height: auto; }
      .timeline .in-view time {
        margin-bottom: 0;
        margin-top: 25px;
        font-size: 18px; }
      .timeline .in-view h2 {
        margin-top: 0; } }
.order-btn {
  line-height: 22px;
}
  @media (max-width: 409px) {
    .order-btn {
      padding: 5px 20px !important;
      font-size: 14px; }
    .btn2 {
      margin-left: 5% !important; } }
.btn3 {
    top: 150px !important;
}



.timeline {
  position: relative;
}
.floating {
  position: fixed;
  left: 50px;
  top: 200px;
  opacity: 0;
  transition: all .3s ease-in-out;
}
.floating.on {
  opacity: 1;
}
@media (max-width: 768px) {
  .floating.on {
    display: none;
  }
}
.floating-item {
  border-left: 1px solid #6f000a;
  width: 80px;
  height: 50px;
  background-color: transparent;
  color: #6f000a;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.floating-item.on {
  background-color: #f8b500;
  color: white;
}
.floating-item:before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #6f000a;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: -4px;
}
.floating-item:after {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #6f000a;
  border-radius: 50%;
  position: absolute;
  bottom: -3px;
  left: -4px;
}
.floating-item:nth-child(1):before {
  width: 12px;
  height: 12px;
  top: -5px;
  left: -6px;
}
.floating-item:nth-last-child(1):after {
  width: 12px;
  height: 12px;
  bottom: -5px;
  left: -6px;
}
.btn-d-flex {
  display: none;
}
@media (max-width: 768px) {
  .btn-d-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 0 !important;
  }
  .btns {
    display: none;
  }
  .btn-d-flex .btns {
    display: inline-block;
  }
}
html {
  scroll-behavior: smooth;
}
.milestone_logo {
  width: 220px;
}