@import url("https://fonts.googleapis.com/css?family=Cardo|Pathway+Gothic+One");
.timeline {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 900px;
  position: relative;
}
.timeline__content-title {
  font-weight: normal;
  font-size: 66px;
  margin: -10px 0 0 0;
  transition: .4s;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: "Pathway Gothic One", sans-serif;
  color: #fff;
  font-weight: 800;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #fff; }
}

.logo{
  width: 150px;
  height: auto;
  overflow: hidden;
  border-radius: 25%;
  transform: translateX(240px) translateY(-100%);
  margin-bottom: -150px;
}

.logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.timeline__content-title2 {
  font-weight: normal;
  font-size: 45px;
  transition: .4s;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: "Pathway Gothic One", sans-serif;
  color: #fff;
  transform: translateY(-40px);
  margin-bottom: -30px;
}
.timeline__content-desc {
  margin: 0;
  font-size: 25px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.7);
  font-family: Cardo;
  font-weight: normal;
  line-height: 25px;
}
.timeline__content-desc2 {
  margin: 0;
  font-size: 25px;
  box-sizing: border-box;
  color: rgb(163, 255, 255);
  font-family: Cardo;
  font-weight: normal;
  line-height: 25px;
}

.timeline:before {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  content: "";
  background: rgba(255, 255, 255, 0.07);
}
@media only screen and (max-width: 767px) {
  .timeline:before {
    left: 40px;
  }
}
.timeline-item {
  padding: 40px 0;
  opacity: .3;
  filter: blur(2px);
  transition: .5s;
  box-sizing: border-box;
  width: calc(50% - 40px);
  display: flex;
  position: relative;
  transform: translateY(-80px);
}
.timeline-item:before {
  content: attr(data-text);
  letter-spacing: 3px;
  width: 100%;
  position: absolute;
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-family: "Pathway Gothic One", sans-serif;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  top: 70%;
  margin-top: -5px;
  padding-left: 15px;
  opacity: 0;
  right: calc(-100% - 56px );
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
}
.timeline-item:nth-child(even):before {
  right: auto;
  text-align: right;
  left: calc(-100% - 56px );
  padding-left: 0;
  border-left: none;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  padding-right: 15px;
}
.timeline-item--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
.timeline-item--active:before {
  top: 50%;
  transition: .3s all .2s;
  opacity: 1;
}
.timeline-item--active .timeline__content-title {
  margin: -50px 0 20px 0;
}
@media only screen and (max-width: 767px) {
  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 30px 150px 80px;
  }
  .timeline-item:before {
    left: 10px !important;
    padding: 0 !important;
    top: 50px;
    text-align: center !important;
    width: 60px;
    border: none !important;
  }
  .timeline-item:last-child {
    padding-bottom: 40px;
  }
}
.timeline__img {
  height: 360px;
  width: 360px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.4);
}

.timeline-container {
  width: 100%;
  position: relative;
  padding: 80px 0;
  background-attachment: fixed;
  background-size: cover;
}
.timeline-container:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 99, 99, 0.8);
  content: "";
}
.timeline-header {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  justify-content: center;
  margin-top: 5vh;
}
.timeline-header__title {
  color: #fff;
  font-size: 60px;
  font-family: Cardo;
  font-weight: normal;
  margin: 0;
}
.timeline-header__subtitle {
  color: rgb(255, 255, 255);
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 40px;
  letter-spacing:normal;
  margin: 10px 0 0 0;
  font-weight: normal;
  overflow: hidden;
}
.demo-footer {
  padding: 60px 0;
  text-align: center;
}
.demo-footer a {
  color: #999;
  display: inline-block;
  font-family: Cardo;
}
.type--A{
  --line_color : #ffffff ;
  --back_color : rgb(130,223,171)  ;
}
.type--B{
  --line_color : #000000 ;
  --back_color : #ffffff ;
}
.type--C{
  --line_color : rgb(255, 255, 255);
  --back_color : rgb(253, 33, 114) ; 
}
.button{
    position : relative ;
    z-index : 0 ;
    width : 300px ;
    height : 56px ;
    text-decoration : none ;
    font-size : 14px ; 
    font-weight : bold ;
    color : var(--line_color);
    letter-spacing : 2px ;
    transition : all .5s ease ;
}
.button__text{
    display : flex ;
    justify-content : center ;
    align-items : center ;
    width : 100% ;
    height : 100% ;
}
.button::before,
.button::after,
.button__text::before,
.button__text::after{
    content : '' ;
    position : absolute ;
    height : 3px ;
    border-radius : 2px ;
    background :#ffffff ;
    transition : all .5s ease ;
}
.button::before{
    top : 0 ;
    left : 54px ;
    width : calc( 100% - 56px * 2 - 16px ) ;
}
.button::after{
    top : 0 ;
    right : 54px ;
    width : 8px ;
}
.button__text::before{
    bottom : 0 ;
    right : 54px ;
    width : calc( 100% - 56px * 2 - 16px ) ;
}
.button__text::after{
    bottom : 0 ;
    left : 54px ;
    width : 8px ;
}
.button__line{
    position : absolute ;
    top : 0 ;
    width : 56px ;
    height : 100% ;
    overflow : hidden ;
}
.button__line::before{
    content : '' ;
    position : absolute ;
    top : 0 ;
    width : 150% ;
    height : 100% ;
    box-sizing : border-box ;
    border-radius : 300px ;
    border : solid 3px var(--line_color) ;
}
.button__line:nth-child(1),
.button__line:nth-child(1)::before{
    left : 0 ;
}
.button__line:nth-child(2),
.button__line:nth-child(2)::before{
    right : 0 ;
}
.button:hover{
    letter-spacing : 6px ;
}
.button:hover::before,
.button:hover .button__text::before{
    width : 8px ;
}
.button:hover::after,
.button:hover .button__text::after{
    width : calc( 100% - 56px * 2 - 16px ) ;
}
.button__drow1,
.button__drow2{
    position : absolute ;
    z-index : -1 ;
    border-radius : 16px ;
    transform-origin : 16px 16px ;
}
.button__drow1{
    top : -16px ;
    left : 40px ;
    width : 32px ;
    height : 0;
    transform : rotate( 30deg ) ;
}
.button__drow2{
    top : 44px ;
    left : 77px ;
    width : 32px ;
    height : 0 ;
    transform : rotate(-127deg ) ;
}
.button__drow1::before,
.button__drow1::after,
.button__drow2::before,
.button__drow2::after{
    content : '' ;
    position : absolute ;
}
.button__drow1::before{
    bottom : 0 ;
    left : 0 ;
    width : 0 ;
    height : 32px ;
    border-radius : 16px ;
    transform-origin : 16px 16px ;
    transform : rotate( -60deg ) ;
}
.button__drow1::after{
    top : -10px ;
    left : 45px ;
    width : 0 ;
    height : 32px ;
    border-radius : 16px ;
    transform-origin : 16px 16px ;
    transform : rotate( 69deg ) ;
}
.button__drow2::before{
    bottom : 0 ;
    left : 0 ;
    width : 0 ;
    height : 32px ;
    border-radius : 16px ;
    transform-origin : 16px 16px ;
    transform : rotate( -146deg ) ;
}
.button__drow2::after{
    bottom : 26px ;
    left : -40px ;
    width : 0 ;
    height : 32px ;
    border-radius : 16px ;
    transform-origin : 16px 16px ;
    transform : rotate( -262deg ) ;
}
.button__drow1,
.button__drow1::before,
.button__drow1::after,
.button__drow2,
.button__drow2::before,
.button__drow2::after{
    background : var( --back_color ) ;
}
.button:hover .button__drow1{
    animation : drow1 ease-in .06s ;
    animation-fill-mode : forwards ;
}
.button:hover .button__drow1::before{
    animation : drow2 linear .08s .06s ;
    animation-fill-mode : forwards ;
}
.button:hover .button__drow1::after{
    animation : drow3 linear .03s .14s ;
    animation-fill-mode : forwards ;
}
.button:hover .button__drow2{
    animation : drow4 linear .06s .2s ;
    animation-fill-mode : forwards ;
}
.button:hover .button__drow2::before{
    animation : drow3 linear .03s .26s ;
    animation-fill-mode : forwards ;
}
.button:hover .button__drow2::after{
    animation : drow5 linear .06s .32s ;
    animation-fill-mode : forwards ;
}
@keyframes drow1{
    0%   { height : 0 ; }
    100% { height : 100px ; }
}
@keyframes drow2{
    0%   { width : 0 ; opacity : 0 ;}
    10%  { opacity : 0 ;}
    11%  { opacity : 1 ;}
    100% { width : 120px ; }
}
@keyframes drow3{
    0%   { width : 0 ; }
    100% { width : 80px ; }
}
@keyframes drow4{
    0%   { height : 0 ; }
    100% { height : 120px ; }
}
@keyframes drow5{
    0%   { width : 0 ; }
    100% { width : 124px ; }
}

.container{
    width : 100% ;
    height : 100px ;
    display : flex ;
    flex-direction : column ;
    justify-content : center ;
    align-items : center ;
}
.button:not(:last-child){
  margin-bottom : 64px ;
}

html, body {
  padding: 0;
}

.pic-ctn {
  width: 100vw;
  height: 200px;
}

@keyframes display {
  0% {
    transform: translateX(200px);
    opacity: 0;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  20% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(-200px);
    opacity: 0;
  }
}

.pic-ctn {
  position: relative;
  width: 100%;
  height: 10%;
  margin-top:0;
}

.pic-ctn > img {
  position: absolute;
  top: 0;
  opacity: 0;
  animation: display 6s infinite;
}

img:nth-child(2) {
  animation-delay: 2s;
}
img:nth-child(3) {
  animation-delay: 4s;
}

.important-link {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100px;
  padding-top: 10%;
}

.box{
  width: 100px;
  height: 100px;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
}
.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  background-color: #9fe7f9d5;
}

.box a{
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.bookmarkBtn {
  width: 120px;
  height: 40px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.349);
  background-color: rgb(12, 12, 12);
  display: block;
  position: fixed;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  z-index: 1000;
  right: 20px;
  top: 20px;
}

.IconContainer {
  width: 30px;
  height: 30px;
  background: linear-gradient(to bottom, rgb(255, 136, 255), rgb(172, 70, 255));
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  margin-top: 3px;
  transition-duration: 0.3s;
}

.icon {
  border-radius: 1px;
}

.text {
  height: 100%;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: translateY(-49px) translateX(30px);
  transition-duration: 0.3s;
  font-size: 1.04em;
}

.bookmarkBtn:hover .IconContainer {
  width: 105px;
  transition-duration: 0.3s;
}

.bookmarkBtn:hover .text {
  transform: translateY(45px) translateX(30px);
  width: 0;
  font-size: 0;
  transition-duration: 0.3s;
}

.bookmarkBtn:active {
  transform: scale(0.95);
  transition-duration: 0.3s;
}


nav {
  height: 50px;
  background-color: rgb(0, 0, 0);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  border-radius: 25px;
  z-index: 100;
  overflow: hidden;
  width: 50px;
  border: #f0f0f0 3px solid;
  box-shadow: 0px 0px 20px 11px rgba(255, 255, 255, 0.548);
  transition: width 1s ease-out, height 1s ease-out, border 1s ease-out, background-color 1s ease-out, box-shadow 1s ease-out;
  will-change: width, height, border, background-color, box-shadow, animation;
  animation: shadowglow 1s ease-in-out infinite alternate;
}
nav::before {
  content: "=";
  color: white;
  text-align: center;
  line-height: 50px;
  font-size: 30px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  background-color: #000000;  
  transition: width 1s ease-out, opacity .5s ease-out;
  will-change: width , opacity ;
}
nav:hover::before{
  width: 0;
  height: 0;
  opacity: 0;

}

@keyframes shadowglow{
  0% {
    box-shadow: 0px 0px 20px 11px rgb(243, 211, 28);
  }
  50% {
    box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.548);
  }
  100% {
    box-shadow: 0px 0px 20px 11px rgb(15, 253, 194);
  }

}

nav:hover {
  width: 60%;
  height: 85px;
  border: none;
  background-color: rgba(0, 0, 0, 0.562);
  box-shadow: none;
  animation: none;
}


nav .nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0 20px;
  justify-content: space-evenly;
  height: 85px;
  overflow: hidden;
}
nav .nav-links li {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  justify-self: center;
  height: 100%;
  justify-content: center;
  align-items: center;
  filter: blur(2px);
  border: 1px solid wheat;

}
nav .nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 30px;
  justify-self: center;
  padding: 0 15px;
  font-family: "Pathway Gothic One", sans-serif;
  transition: all 0.5s;
}
nav .nav-links li:hover {
  color: #f0f0f0;
  text-shadow: 0 0 5px #eeff02;
  text-decoration: underline;
  border-radius: 5px;
  transition: all 0.7s;
  transform: scale(1.45);
  animation: bluring .5s ease-in-out forwards;
}

@keyframes bluring {
  0% {
    filter: blur(0px);
  }
  45% {
    filter: blur(2px);
  }
  55% {
    filter: blur(2px);
  }
  100% {
    filter: blur(0px);
  }
}

/* scale hovered item and its immediate neighbors (previous and next) */
nav .nav-links li {
  transition: transform 0.25s ease, z-index 0s;
  transform-origin: center;
}

/* hovered item */
nav .nav-links li:hover {
  transform: scale(1.75);
  z-index: 1;
}

/* next sibling (i+1) */
nav .nav-links li:hover + li {
  transform: scale(1.25) rotateY(50deg) scaleY(1.2);
  
  filter: blur(.5px);
  z-index: 2;
}

/* previous sibling (i-1) using :has() to find the hovered following sibling */
nav .nav-links li:has(+ li:hover) {
  transform: scale(1.25) rotateY(-50deg) scaleY(1.2);
  filter: blur(.5px);
  z-index: 2;
}


