@font-face {
  font-family: 'ocr_a_regular';
  src: url('../fonts/ocr_a_regular.ttf');
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  font-family: 'ocr_a_regular', sans-serif;
  margin: 0 auto;
  background: #7C6172;
  background: url('../img/bg/background.jpg') no-repeat top center, #7C6172;
}

.mobile-menu {
  display: none;
}

.mobile-social {
  display: none;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  width: 1050px;
}

.left-bar {
  width: 40px;
}

.right-bar {
  width: 40px;
}

.content {
  width: 100%;
}

.left-bar > ul, .right-bar > ul {
  list-style: none;
  margin-top: 90px;
}

.left-bar > ul > li:not(.social), .right-bar > ul > li {
  margin-left: -35px;
  writing-mode: vertical-lr;
  transform: scale(-1, -1);
  margin-bottom: 40px;
}

.left-bar > ul > li > a, .right-bar > ul > li > a {
  padding: 4px 0px;
  color: #2AFE7F;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 2px;
}

.left-bar > ul > li.social {
  margin-left: -35px;
  margin-bottom: 16px;
}

.left-bar > ul > li.social > a > img {
  width: 32px;
}

.left-bar > ul > li:first-child > a {
  color: #2AFE7F;
  border-bottom: 1px solid #2AFE7F;
  writing-mode: initial;
  transform: scale(-1, -1);
}

.left-bar > ul > li:nth-child(2) > a {
  color: #6A0E8B;
  background-color: #2AFE7F;
}

.right-bar > ul > li:last-child > a {
  color: #6A0E8B;
  background-color: #93EE67;
}

.content > .top-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  margin-top: 20px;
}

.content > .top-bar > a {
  display: block;
  width: 160px;
  color: #2AFE7F;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 2px;
}

.content > .top-bar > a:first-child {
  margin-right: 31px;
  text-align: right;
}

.content > .top-bar > a:last-child {
  margin-left: 31px;
  text-align: left;
}

.content > .top-bar > a.highlighted {
  width: auto;
  color: #6A0E8B;
  background: rgb(243,212,116);
  background: linear-gradient(90deg, rgba(243,212,116,1) 0%, rgba(118,255,3,1) 100%);
  font-size: 26px;
  padding: 1px 70px;
  letter-spacing: 3px;
}

.content > .highlighted-description {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 5px;
}

.content > .capsule {
  margin-top: 600px;
}

.capsule > .welcome {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcome > h1 {
  display: inline-block;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 3px;
  background: rgb(187,173,77);
  background: linear-gradient(90deg, rgba(187,173,77,1) 26%, rgba(149,213,95,1) 49%, rgba(131,225,101,1) 74%);
  margin: 0 0 4px 0;
  padding: 1px 10px;
}

.welcome > h1:last-child {
  background: rgb(211,159,221);
  background: linear-gradient(90deg, rgba(211,159,221,1) 6%, rgba(187,173,77,1) 22%, rgba(149,213,95,1) 49%, rgba(131,225,101,1) 74%, rgba(93,223,117,1) 100%);
}

.capsule > .about {
  width: 730px;
  margin: 50px auto 0 auto;
}

.capsule > .about > h1 {
  display: inline-block;
  font-size: 23px;
  background-color: #6BC29F;
  color: #ffffff;
  padding: 2px 10px;
}

.capsule > .about > p {
  text-align: left;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

.capsule > .story {
  width: 730px;
  margin: 50px auto 0 auto;
}

.capsule > .story > h1 {
  display: inline-block;
  font-size: 23px;
  background-color: #9001F3;
  color: #ffffff;
  padding: 2px 10px;
}

.capsule > .story > p {
  text-align: left;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

.capsule > .roadmap {
  margin-top: 70px;
}

.capsule > .roadmap > .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.roadmap > .title > h1, .roadmap > .title > h2 {
  display: inline-block;
  text-align: center;
  color: #ffffff;
  font-size: 26px;
  letter-spacing: 3px;
  background: rgb(187,173,77);
  background: linear-gradient(90deg, rgba(187,173,77,1) 26%, rgba(149,213,95,1) 49%, rgba(131,225,101,1) 74%);
  margin: 0 0 4px 0;
  padding: 2px 30px;
}

.roadmap > .title > h2 { 
  margin: 40px 0 90px 0;
}

.roadmap > .timeline {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.timeline > .milestone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline > .milestone:nth-child(1) > div:first-child::before {
  background: url('../img/bg/milestone-1.png') no-repeat right;
}

.timeline > .milestone:nth-child(2) > div:last-child::before  {
  background: url('../img/bg/milestone-2.png') no-repeat left;
}

.timeline > .milestone:nth-child(3) > div:first-child::before  {
  background: url('../img/bg/milestone-3.png') no-repeat right;
}

.timeline > .milestone:nth-child(4) > div:last-child::before  {
  background: url('../img/bg/milestone-4.png') no-repeat left;
}

.timeline > .milestone > div {
  position: relative;
  padding: 6px 15px;
  flex: 50%;
}

.timeline > .milestone > div::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  margin: -6px -15px;
  background-size: 100% 100% !important;
  z-index: -1;
}

.timeline > .milestone > div > h3 {
  margin-top: 10px;
  font-size: 21px;
  color: #ffffff;
  text-align: end;
  letter-spacing: 2px;
}

.timeline > .milestone > div > p {
  font-size: 14px;
  color: #ffffff;
  margin: 20px 0 10px 0;
  text-align: end;
  letter-spacing: 1px;
}

.timeline > .milestone:nth-child(even) > div > h3 {
  text-align: start;
}

.timeline > .milestone:nth-child(even) > div > p {
  text-align: start;
}

.timeline > .timeline-line {
  position: absolute;
  width: 1px;
  height: 106%;
  margin-top: 5px;
  background-color: #00E902;
}

.team {
  width: 85%;
  margin: 60px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.team > .profile {
  flex: 1 0 19%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15px 5px;
  text-decoration: none;
}

.team > .profile > h4 {
  margin: 14px 0 0 0;
  font-size: 16px;
  color: #00E902;
  letter-spacing: 2px;
  text-align: center;
}

.team > .profile > span {
  margin: 0;
  padding: 0;
  color: #FEDF00;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.faq {
  width: 80%;
  margin: 60px auto 50px auto;
}

.faq > h1 {
  font-size: 18px;
  color: #ffffff;
  margin: 15px 0;
  letter-spacing: 2px;
}

.faq > h2 {
  display: inline-block;
  font-size: 14px;
  color: #ffffff;
  background-color: #6BC2A0;
  margin: 15px 0;
  padding: 4px 10px;
  letter-spacing: 2px;
}

.faq > p {
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0 0 25px 0;
}

footer {
  margin: 30px auto 10px auto;
  width: 98%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer > .social {
  text-align: start;
}

footer > .social > a {
  text-decoration: none;
  margin: 0 12px 0 0;
}

footer > .social > a > img {
  width: 42px;
}

footer > .team-message {
  color: #00E902;
  font-size: 11px;
}

footer > .copyright {
  text-align: end;
  font-size: 16px;
  color: #00E902;
  letter-spacing: 1px;
}

/* Responsive */
@media only screen and (max-width: 1050px) {

  .mobile-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 100px;
    left: 0;
  }

  .mobile-menu > ul {
    list-style: none;
    padding: 0;
  }

  .mobile-menu > ul > li {
    margin-bottom: 3px;
  }

  .mobile-menu > ul > li > a {
    text-decoration: none;
    color: #760090;
    font-size: 14px;
    letter-spacing: 2px;
    background-color: #00ffc8;
    padding: 2px 4px 2px 12px;
  }

  .mobile-menu > ul > li:nth-child(2) > a {
    background-color: #00FF6F;
  }

  .mobile-menu > ul > li:nth-child(3) > a {
    background-color: #00E900;
  }

  .mobile-menu > ul > li:nth-child(4) > a {
    background-color: #00FF6F;
  }

  .mobile-menu > ul > li:nth-child(5) > a {
    background-color: #69E44F;
  }

  .mobile-menu > ul > li:nth-child(6) > a {
    background-color: #48C49E;
  }

  .mobile-menu > ul > li:nth-child(7) > a {
    background-color: #F75FFF;
  }

  .mobile-menu > ul > li:nth-child(8) > a {
    background-color: #E7F300;
  }

  .mobile-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 100px;
    right: 15px;
  }

  .mobile-social > ul {
    list-style: none;
    padding: 0;
  }

  .mobile-social > ul > li {
    margin-bottom: 10px;
  }

  .mobile-social > ul > li > a {
    text-decoration: none;
  }

  .mobile-social > ul > li > a > img {
    width: 28px;
    background-color: #470F72;
    border-radius: 50%;
  }

  .container {
    width: 100%;
  }

  .left-bar, 
  .right-bar, 
  .content > .top-bar > a:first-child, 
  .content > .top-bar > a:last-child {
    display: none;
  }

  .content > .capsule {
    margin-top: 500px;
  }
  
  .welcome > h1 {
    max-width: 80%;
  }

  .capsule > .about,
  .capsule > .story {
    max-width: 80%;
    margin: 50px auto 0 auto;
  }

  .capsule > .about > h1,
  .capsule > .story > h1 {
    font-size: 21px;
  }

  .capsule > .about > p,
  .capsule > .story > p {
    text-align: left;
    font-size: 13px;
  }

  .roadmap > .title > h1, .roadmap > .title > h2 {
    max-width: 80%;
    font-size: 24px;
  }

  .roadmap > .timeline {
    width: 95%;
    align-items: flex-start;
  }

  .timeline > .milestone {
    margin-bottom: 30px;
  }

  .timeline > .milestone > div {
    flex: 100%;
  }

  .timeline > .milestone:nth-child(1) > div:last-child,
  .timeline > .milestone:nth-child(2) > div:first-child,
  .timeline > .milestone:nth-child(3) > div:last-child,
  .timeline > .milestone:nth-child(4) > div:first-child {
    display: none;
  }

  .timeline > .milestone:nth-child(1) > div:first-child::before,
  .timeline > .milestone:nth-child(3) > div:first-child::before {
    transform:scaleX(-1);
  }

  .timeline > .milestone > div > h3 {
    font-size: 18px;
    text-align: start;
  }
  
  .timeline > .milestone > div > p {
    text-align: start;
    font-size: 12px;
  }

  .timeline > .timeline-line {
    margin-top: -8px;
    height: 100%;
  }

  .team {
    width: 90%;
  }

  .team > .profile > img {
    width: 86px;
  }

  .team > .profile > h4 {
    font-size: 13px;
  }
  
  .team > .profile > span {
    margin-top: 3px;
    font-size: 9px;
  }

  footer {
    width: 90%;
  }

  footer > .social > a > img {
    width: 32px;
  }

  footer > .copyright {
    display: none;
  }
}

/* Utils */
.blink {
  animation: blinker 0.9s linear infinite;
}

/* Animations */
@keyframes blinker {
  50% {
    opacity: 0;
  }
}