:root {
  --main-bg-color:#0E0b16;
  --main-text-color: rgb(249, 249, 249);
}
/* blue  rgb(4,38, 80) */

body {
  background: var(--main-bg-color);
  color: var(--main-text-color); 
  background-size:contain;
  font-family: "Open Sans", sans-serif;
}

  
  h1 {
    font-size: 3em;
    margin-bottom: 1;
    margin-top: 1em;
    text-align: center;
    color: white;
    font-family: Yuanti SC;
  }
  span{
    color:rgb(232, 79, 137);
    font-family: Yuanti SC;
  }
  h2{
    text-align: center;
    font-size: 1.5em;
    font-family: Yuanti SC;
    margin-bottom: 1;
    margin-top: 0em;
   } 

  p{
    font-family: Yuanti SC;
  } 


  a:link,
  a:visited {
    color: rgb(232, 79, 137);
  }
  a:hover {
    color: hotpink;
  }
  a:active {
    color: hotpink;
  }
  
  .timeline {
    --dot-size: 1.5rem;
    --dot-margin: 0.6rem;
    --line-color: rgb(255, 255, 255);
    --vertical-line-width: 0.05rem;
  
    list-style: none;
    margin: 0;
    padding: 3rem;
  }
  
  /* THIN (DEFAULT) CSS */
  .timeline-item {
    margin-top: var(--dot-margin);
    padding-left: 2em;
    position: relative;
  }
  
  @keyframes heart-pulse {
    0% { transform: scale(1); }
    40% { transform: scale(1); }
    50% { transform: scale(1.2); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
  }
  .timeline-item::before {
    animation: heart-pulse 1s ease-in-out infinite alternate;
    content: "\f21e";
    display: inline-block;
    font-family: "Font Awesome 5 Pro";
  
    font-size: var(--dot-size);
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
  
    left: 0;
    position: absolute;
    text-rendering: auto;
  }
  
  .timeline-item::after {
    background: var(--line-color);
    bottom: 0;
    content: "";
    left: calc((var(--dot-size) - var(--vertical-line-width)) / 2);
    position: absolute;
    top: calc(var(--dot-size) + var(--dot-margin));
    width: var(--vertical-line-width);
  }
  
  .timeline-date {
    font-family: Yuanti SC;
    font-size: 1.4em;
    text-transform: uppercase;
  }
  
  .timeline-content {
    padding-bottom: 2.5em;
  }
  .timeline-content h3 {
    font-size: 1.2em;
    margin-bottom: 0.5rem;
    margin-top: 0em;
  }
  .timeline-content p {
    margin: 0;
  }
 
  /* FLICKITY */
  .carousel {
    background: rgba(0, 0, 0, 0);
    margin-bottom: 0.5em;
    margin-top: calc(var(--dot-size) / 2);
  }
  .carousel-cell {
    align-items: center;
    display: flex;
    height: 20em;
    justify-content: center;
    width: 100%;
  }
  .carousel.is-fullscreen {
    margin: 0;
  }
  .carousel.is-fullscreen .carousel-cell {
    height: 100%;
  }
  .carousel-image {
    max-height: 100%;
    max-width: 100%;
  }
  .flickity-button {
    background: rgba(250, 185, 210, 0);
  }
  @media (hover: hover) {
    .flickity-button:hover {
      background: rgba(245, 139, 194, 0.5);
    }
  }
  .flickity-button-icon {
    fill: hotpink;
  }
  .flickity-fullscreen-button {
    --corner-padding: 0.5em;
    --size: 1.5em;
  
    border-radius: 0.5em;
  }
  @media (pointer: coarse) {
    .flickity-fullscreen-button {
      --corner-padding: 1em;
      --size: 2.5em;
  
      border-radius: 0.5em;
    }
  }
  .flickity-fullscreen-button {
    height: var(--size);
    right: var(--corner-padding);
    top: var(--corner-padding);
    width: var(--size);
  }
  .flickity-fullscreen-button .flickity-button-icon {
    --icon-padding: 20%;
  
    height: calc(100% - var(--icon-padding) * 2);
    left: var(--icon-padding);
    top: var(--icon-padding);
    width: calc(100% - var(--icon-padding) * 2);
  }
  .flickity-prev-next-button {
    --edge-padding: 0.5em;
    --size: 2em;
  
    border-radius: 5em;
  }
  @media (pointer: coarse) {
    .flickity-prev-next-button {
      --edge-padding: 1em;
      --size: 3em;
  
      border-radius: 5em;
    }
  }
  .flickity-prev-next-button {
    height: var(--size);
    width: var(--size);
  }
  .flickity-prev-next-button.previous {
    left: var(--edge-padding);
  }
  .flickity-prev-next-button.next {
    right: var(--edge-padding);
  }
  /* END FLICKITY */
 
  .timeline-period {
    --period-padding: 2em;
    --separator-thickness: 0.15em;
  
    border-bottom: var(--separator-thickness) solid var(--line-color);
    border-top: var(--separator-thickness) solid var(--line-color);
    margin: var(--period-padding) 0;
    position: relative;
    width: 100%;
  }
  
  .timeline-period::before,
  .timeline-period::after {
    background: var(--line-color);
    content: "";
    left: calc((var(--dot-size) - var(--vertical-line-width)) / 2);
    position: absolute;
    width: var(--vertical-line-width);
  }
  
  .timeline-period::before {
    height: calc(var(--period-padding) + 1px);
    top: calc(var(--period-padding) * -1 - var(--separator-thickness));
  }
  
  .timeline-period::after {
    bottom: calc(var(--period-padding) * -1 + var(--dot-margin) - var(--separator-thickness));
    height: calc(var(--period-padding) - var(--dot-margin) + 1px);
  }
  
  /* FONT AWESOME ICONS */
  .fad, .fab, .fas {
    --fa-primary-opacity: 1.0;
    --fa-secondary-opacity: 1.0;
    --fa-primary-color: teal;
    --fa-secondary-color: orange;
  }
  h2 .fad, h2 .fab, h2 .fas {
    font-size: 2em;
  }
  .fa-facebook {
    color: #4267B2;
  }
  @keyframes love-throb {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(2) translate(0, -0.1em); }
  }
  .fa-heart {
    --fa-primary-color: red;
    --fa-secondary-color: red;
    --fa-secondary-opacity: 0.6;
  
    animation: love-throb 1s ease-in-out infinite alternate;
  }
  @keyframes google-gradient {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
  }
  .fa-google {
    --google-red: rgb(219,68,55);
    --google-yellow: rgb(244,160,0);
    --google-green: rgb(15,157,88);
    --google-blue: rgb(66,133,244);
    animation: google-gradient 4s ease-in-out infinite;
    background: linear-gradient(
                    -45deg,
                    var(--google-blue) 0%,
                    var(--google-blue) 32%,
                    var(--google-yellow) 32%,
                    var(--google-yellow) 51%,
                    var(--google-green) 51%,
                    var(--google-green) 70%,
                    var(--google-red) 70%,
                    var(--google-red) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400%;
    padding: 1px;
    -webkit-text-fill-color: transparent;
  }
  
  @keyframes point-right {
    0% { transform: translate(0, 0); }
    20% { transform: translate(0, 0); }
    50% { transform: translate(0.2em, 0); }
    80% { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
  }
  @keyframes point-left {
    0% { transform: translate(0, 0); }
    20% { transform: translate(0, 0); }
    50% { transform: translate(-0.2em, 0); }
    80% { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
  }
  
  /* MEDIUM SCREENS */
  @media only screen and (min-width: 768px) {
    .timeline {
      --grid-gap: 3rem;
      --left-column-width: 8rem;
    }
  
    .timeline-item {
      display: grid;
      gap: var(--grid-gap);
      grid-template-columns: var(--left-column-width) auto;
      padding: 0;
    }
    .timeline-item::before {
      animation-name: point-right;
      content: "\f101";
      left: calc(var(--left-column-width) + var(--grid-gap) / 2 - var(--dot-size) / 2);
    }
  
    .timeline-date {
      font-size: 1.3em;
      padding-top: calc((var(--dot-size) - 1em) / 2);
    }
  
    .timeline-period {
      left: calc(var(--left-column-width) + var(--grid-gap) / 2 - var(--dot-size) / 2);
    }
  
    .timeline-period {
      width: calc(100% - var(--left-column-width) - var(--grid-gap) / 2 + var(--dot-size) / 2);
    }
  
    .timeline-item::after {
      left: calc(var(--left-column-width) + var(--grid-gap) / 2 - var(--vertical-line-width) / 2);
    }
  
    .timeline-content {
      padding-top: 0;
    }
  
    .timeline-date {
      text-align: right;
    }
  }
  
  /* WIDE SCREENS */
  @media only screen and (min-width: 1024px) {
    .timeline-item {
      grid-template-columns: 50% 50%;
      width: calc(100% - var(--grid-gap));
    }
  
    .timeline-item:nth-of-type(even) {
      grid-template-areas: "date content";
    }
  
    .timeline-item:nth-of-type(odd) .timeline-date {
      text-align: left;
    }
  
    .timeline-item:nth-of-type(odd) .timeline-content {
      text-align: right;
    }
  
    .timeline-item:nth-of-type(odd) {
      grid-template-areas: "content date";
    }
  
    .timeline-item::before {
      left: calc(50% + var(--grid-gap) / 2 - var(--dot-size) / 2);
    }
    .timeline-item:nth-of-type(odd)::before {
      animation-name: point-left;
      content: "\f100";
    }
  
    .timeline-item::after {
      left: calc(50% + var(--grid-gap) / 2 - var(--vertical-line-width) / 2);
    }
  
    .timeline-date {
      font-size: 1.5em;
      grid-area: date;
    }
  
    .timeline-content {
      grid-area: content;
    }
  
    .timeline-period {
      left: 0;
      text-align: center;
      width: 100%;
    }
  
    .timeline-period::before,
    .timeline-period::after {
      left: calc(50% - var(--vertical-line-width) / 2);
    }
  }
  