* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #000 url('../img/bg.png') no-repeat right -26px top 800px;
  background-size: auto;
  font-family: 'SuisseIntl', sans-serif;
  color: #fff;
}

a {
  color: #0090ff;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img-contain {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.container {
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
}

.filecoin-link {
  display: flex;
  color: #000;
  text-decoration: none;
  z-index: 2;
  position: absolute;
  top: 32px;
  left: calc(100vw - 174px);
  width: 70px;
  height: 70px;
}

.section-liftoff {
  position: absolute;
  top: 166px;
  left: calc(100vw - 28px);
  transform: rotate(90deg);
  transform-origin: top left;
  white-space: nowrap;
  z-index: 2;
}

.section-liftoff h1 {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 76px;
  color: #fff;
  margin: 0;
}

.section-liftoff h1 span {
  content: attr(data-after);
  font-size: 36px;
  line-height: 40px;
  vertical-align: baseline;
  opacity: 0.7;
}

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 32px 0;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav {
  white-space: nowrap;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.header-link {
  font-family: 'SuisseIntlMono', sans-serif;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 18px;
  padding: 11px 17px;
  display: inline-block;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
  background: rgba(0, 0, 0, 0.6);
  margin-right: 24px;
  white-space: nowrap;
}

.header-link:hover {
  border: 1px solid white;
  opacity: 1;
}

.header-link.active {
  color: #0090ff;
  border: 1px solid rgba(0, 144, 255, 1);
}

.header-link:last-of-type {
  margin-right: 0;
}

.main {
  padding-top: 112px;
}

.section-introduction {
  padding-bottom: 160px;
}

.introduction-row {
  display: flex;
}

.introduction-row + .introduction-row {
  padding-top: 160px;
}

.rocket-launch-text {
  max-width: 400px;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  margin-right: 120px;
  color: #fff;
}

.rocket-launch-img-wrap {
  width: 236px;
  height: 236px;
}

.astronauts-img-wrap {
  width: 236px;
  height: 236px;
  margin-top: 120px;
}

.liftoff-complete {
  background: #008DFF url('../img/book-flight-bg.png') no-repeat right bottom;
  background-size: 70%;
  width: 400px;
  height: 400px;
  margin: 0;
  padding: 32px;
  font-weight: 500;
  font-size: 62px;
  line-height: 80px;
  display: flex;
  align-items: center;
}

.shuttle-img-wrap {
  width: 236px;
  height: 347px;
  background: #a5a5a5;
  display: inline-flex;
  align-self: flex-end;
  margin: 0 auto;
}

.section-schedule {
  /*padding-bottom: 80px;*/
}

.schedule-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 45px;
  margin: 0 0 32px;
}

.schedule-description {
  font-size: 30px;
  font-weight: 500;
  line-height: 39px;
  max-width: 1000px;
  color: rgba(255, 255, 255, 0.6);
}

.section-events {
  padding-top: 160px;
}

.section-events.track {
  padding-top: 80px;
}

.section-event-subtitle {
  font-family: 'SuisseIntlMono', monospace;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin: 0 0 8px;
}

.section-event-title {
  font-size: 30px;
  line-height: 39px;
  font-weight: 500;
  margin: 0 0 8px;
}

.section-event-description {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}

.section-event-title + .events-wrap {
  margin-top: 32px;
}

.event {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
}

.event + .event {
  margin-top: 4px;
}

.event-description-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-right: 16px;
}

.event-tags {
  display: flex;
  align-items: center;
}

.event-tags span {
  font-family: 'SuisseIntlMono', monospace;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  padding: 4px 8px;
  margin-right: 8px;
}

.event-tags span:last-of-type {
  margin-right: 0;
}

.event-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  margin: 4px 0 0;
}

.event-subtitle {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0;
}

.event-subtitle span {
  margin-right: 16px;
}

.event-subtitle span:last-of-type {
  margin-right: 0;
}

.event-filfox {
  margin-top: 8px;
  width: 89px;
  height: 32px;
}
.event-filscan {
  margin-top: 8px;
  width: 87px;
  height: 32px;
}
.event-filscout {
  margin-top: 8px;
  width: 97px;
  height: 32px;
}
.event-filplorer {
  margin-top: 8px;
  width: 98px;
  height: 32px;
}

.event-speakers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.event-speaker {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 100px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 4px;
}

.event-speaker:last-of-type {
  margin-right: 0;
}

.event-links {
  display: flex;
  align-items: center;
}

.event-links > * {
  margin-right: 24px;
}

.event-links > *:last-child {
  margin-right: 0;
}

.event-yt-link,
.event-details-link,
.event-ama-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  color: transparent;
  font-size: 0;
}

.event-details-link {
  cursor: pointer;
  background: transparent;
}

.event-yt-link:hover,
.event-details-link:hover,
.event-ama-link:hover {
  opacity: 0.8;
}

.event-yt-link {
  background: #fff;
}

.event-yt-link::before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.2616 5.49023C22.9957 4.49331 22.2092 3.70684 21.2086 3.43731C19.3994 2.95361 12.1403 2.95361 12.1403 2.95361C12.1403 2.95361 4.88494 2.95361 3.07202 3.43731C2.07509 3.70315 1.28863 4.48961 1.01909 5.49023C0.5354 7.29946 0.5354 11.0767 0.5354 11.0767C0.5354 11.0767 0.5354 14.8539 1.01909 16.6632C1.28494 17.6601 2.0714 18.4465 3.07202 18.7161C4.88494 19.1998 12.1403 19.1998 12.1403 19.1998C12.1403 19.1998 19.3994 19.1998 21.2086 18.7161C22.2056 18.4502 22.992 17.6638 23.2616 16.6632C23.7452 14.8539 23.7452 11.0767 23.7452 11.0767C23.7452 11.0767 23.7452 7.29946 23.2616 5.49023Z' fill='%23FF0000'/%3E%3Cpath d='M9.82153 14.5589L15.8511 11.0771L9.82153 7.59521V14.5589Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  display: block;
  width: 24px;
  height: 24px;
}

.event-details-link::before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.5 23C17.8513 23 23 17.8513 23 11.5C23 5.14873 17.8513 0 11.5 0C5.14873 0 0 5.14873 0 11.5C0 17.8513 5.14873 23 11.5 23ZM15.256 14.4881V16.0001H8.85803V14.4881H11.042V9.9801H8.85803V8.4681H13.058V14.4881H15.256ZM11.042 7.7121V5.8501H13.058V7.7121H11.042Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  display: block;
  width: 23px;
  height: 23px;
}

.event-ama-link::before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 5C11.776 5 12 4.776 12 4.5C12 4.224 11.776 4 11.5 4H2.5C1.122 4 0 5.122 0 6.5V12.5C0 13.878 1.122 15 2.5 15H2.806L2.026 17.342C1.957 17.55 2.03 17.778 2.208 17.906C2.295 17.969 2.397 18 2.5 18C2.605 18 2.711 17.967 2.8 17.9L6.667 15H7.5C7.776 15 8 14.776 8 14.5V8.5C8 6.57 9.57 5 11.5 5Z' fill='white'/%3E%3Cpath d='M21.5 6H11.5C10.122 6 9 7.122 9 8.5V14.5C9 15.878 10.122 17 11.5 17H17.333L21.2 19.9C21.289 19.967 21.394 20 21.5 20C21.507 20 21.513 19.999 21.52 20C21.796 20 22.02 19.776 22.02 19.5C22.02 19.396 21.988 19.298 21.933 19.218L21.194 17H21.5C22.878 17 24 15.878 24 14.5V8.5C24 7.122 22.878 6 21.5 6Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  display: block;
  width: 24px;
  height: 24px;
}

.event.talk {
  background: #191919;
}
.event.talk .event-tags span {
  background: rgba(255, 255, 255, 0.08);
}

.event.chat {
  background: #0090FF;
}
.event.chat .event-tags span {
  background: rgba(255, 255, 255, 0.16);
}

.event.workshop {
  background: #0F39CC;
}
.event.workshop .event-tags span {
  background: rgba(255, 255, 255, 0.16);
}

.event.demo {
  background: #6B6B6B;
}
.event.demo .event-tags span {
  background: rgba(255, 255, 255, 0.16);
}

.event.meetup {
  background: #3A3A3A;
}
.event.meetup .event-tags span {
  background: rgba(255, 255, 255, 0.08);
}

.event.panel {
  background: #fff;
}
.event.panel .event-title {
  color: #000;
}
.event.panel .event-tags span {
  color: #000;
  background: rgba(0, 0, 0, 0.08);
}
.event.panel .event-yt-link {
  border-color: #000;
}
.event.panel .event-details-link {
  border-color: #000;
}
.event.panel .event-details-link::before {
  background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.5 23C17.8513 23 23 17.8513 23 11.5C23 5.14873 17.8513 0 11.5 0C5.14873 0 0 5.14873 0 11.5C0 17.8513 5.14873 23 11.5 23ZM15.256 14.4881V16.0001H8.85803V14.4881H11.042V9.9801H8.85803V8.4681H13.058V14.4881H15.256ZM11.042 7.7121V5.8501H13.058V7.7121H11.042Z' fill='black'/%3E%3C/svg%3E%0A");
}

.event.ama {
  background: #0090FF;
}
.event.ama .event-tags span {
  background: rgba(255, 255, 255, 0.16);
}
.event.ama .event-yt-link,
.event.ama .event-details-link {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.event.lightblue {
  background: #5DA4DB;
}
.event.lightblue .event-title {
  margin: auto 0;
}

.event.gray {
  background: #7B7B7B;
}
.event.gray .event-title {
  margin: auto 0;
}

.event.dark {
  background: #191919;
}

.section-speakers {
  padding-top: 160px;
}

.speakers-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 45px;
  margin: 0 0 32px;
}

.speakers-description {
  font-size: 30px;
  font-weight: 500;
  line-height: 39px;
  max-width: 1000px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 64px;
}

.speakers-wrap {
  display: flex;
  flex-wrap: wrap;
}

.speaker-wrap {
  display: inline-flex;
  position: relative;
  flex: 0 0 20%;
  color: #fff;
}

.speaker-photo {
  width: 100%;
  height: 236px;
  margin: 0;
  object-fit: cover;
  background-position: center;
}

.speaker-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.1s ease-out;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-wrap:focus .speaker-info,
.speaker-wrap:hover .speaker-info {
  opacity: 1;
}

.speaker-role {
  margin-bottom: 4px;
}

.speaker-t {
  position: absolute;
  left: 30px;
  bottom: 20px;
}

.footer {
  margin: 160px 0 32px;
  border-top: 1px solid rgba(102, 98, 98, 0.7);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-self: center;
}

.footer-s-wrap {
  display: flex;
  align-self: center;
}

.footer-filecoin-link {
  font-size: 0;
  color: transparent;
}

.footer-s-link {
  margin-right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
}

.footer-s-link:last-of-type {
  margin-right: 0;
}

/* slider */
.slider-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
  display: none;
}

.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 80px 50px 30px;
}

.slider-close {
  background: transparent;
  color: transparent;
  font-size: 0;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  top: 32px;
  right: 32px;
  position: absolute;
  cursor: pointer;
  z-index: 3;
}

.slider-close::before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.6568 6.34314L12 12M12 12L6.34314 17.6568M12 12L17.6568 17.6568M12 12L6.34314 6.34314' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  display: block;
  width: 24px;
  height: 24px;
}

.slider-close:hover {
  opacity: 0.8;
}

.card-wrap {
  max-height: 100%;
  overflow-y: auto;
  max-width: 510px;
  padding: 32px;
  margin: 0;
  position: relative;
  width: 100%;
}

.card-wrap.talk {
  background: #191919;
  color: #fff;
}

.card-wrap.chat {
  background: #0090FF;
  color: #fff;
}

.card-wrap.workshop {
  background: #0F39CC;
  color: #fff;
}

.card-wrap.demo {
  background: #6B6B6B;
  color: #fff;
}

.card-wrap.meetup {
  background: #3A3A3A;
  color: #fff;
}

.card-wrap.panel {
  background: #fff;
  color: #000;
}
.card-wrap.panel .card-header span {
  background: rgba(0, 0, 0, 0.08);
}
.card-wrap.panel .slider-close::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.6568 6.34314L12 12M12 12L6.34314 17.6568M12 12L17.6568 17.6568M12 12L6.34314 6.34314' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}
.card-wrap.panel .tooltip {
  background: #ccc;
}
.card-wrap.panel .tooltip::after {
  border-bottom-color: #ccc;
}

.card-header {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: inherit;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: 'SuisseIntlMono', sans-serif;
}

.card-header span {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.08);
}

.card-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: inherit;
  margin-bottom: 16px;
}

.card-paragraph {
  font-size: 18px;
  line-height: 27px;
  margin: 0 0 32px;
  font-weight: 400;
  color: inherit;
}

.card-link {
  font-family: 'SuisseIntlMono', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  padding: 12px 24px;
  display: inline-block;
  color: inherit;
  border: 1px solid #fff;
  margin: 0 0 24px 0;
}

.card-wrap.panel .card-link {
  border: 1px solid #000;
}

.card-speakers {
  display: flex;
  flex-wrap: wrap;
}

.card-speaker {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 33%;
}

.card-speaker .tooltip {
  font-family: 'SuisseIntlMono', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  visibility: hidden;
  background-color: #555;
  color: inherit;
  text-align: center;
  border-radius: 4px;
  padding: 5px 10px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  white-space: nowrap;
  z-index: 4;
}

.card-speaker .tooltip::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #555;
}

.card-speaker:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.card-speaker-img {
  width: 80px;
  height: 80px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.speaker-s-link {
  color: inherit;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.card-footer {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1200px) {
  .filecoin-link {
    width: 40px;
    height: 40px;
    top: 88px;
    left: auto;
    right: 16px;
  }
  .section-liftoff {
    top: 144px;
    left: calc(100vw - 16px);
  }
  .section-liftoff h1 {
    font-weight: 700;
    font-size: 39px;
    line-height: 40px;
  }
  .section-liftoff h1 span {
    font-size: 21px;
    line-height: 27px;
    opacity: 0.6;
  }
  .astronauts-img-wrap {
    display: none;
  }
  .shuttle-img-wrap {
    display: none;
  }
  .rocket-launch-text {
    margin-right: 40px;
  }
  .speaker-wrap {
    flex: 0 0 25%;
  }
}

@media (max-width: 800px) {
  .container {
    max-width: none;
  }

  .header {
    padding: 24px 0;
  }
  .section-introduction {
    padding-bottom: 80px;
  }
  .introduction-row {
    flex-wrap: wrap;
  }
  .introduction-row + .introduction-row {
    padding-top: 80px;
  }
  .rocket-launch-text {
    margin-right: 0;
    order: 2;
    max-width: none;
    font-size: 16px;
    line-height: 22px;
  }
  .rocket-launch-img-wrap {
    order: 1;
    margin-bottom: 24px;
  }

  .liftoff-complete {
    margin: 0 auto;
    max-width: 340px;
    height: 340px;
    font-size: 40px;
    line-height: 44px;
  }
  .schedule-title {
    font-size: 26px;
    line-height: 30px;
    margin: 0 0 16px;
  }
  .schedule-description {
    font-size: 18px;
    line-height: 22px;
  }
  .section-events {
    padding-top: 80px;
  }
  .section-events.track {
    padding-top: 40px;
  }
  .section-event-title {
    font-size: 26px;
    line-height: 30px;
  }
  .section-events.track .section-event-title {
    font-size: 18px;
    line-height: 24px;
  }
  .event {
    padding: 16px;
  }
  .event-links {
    flex-direction: column;
  }
  .event-links > * {
    margin-right: 0;
    margin-top: 12px;
  }
  .event-links > *:first-child {
    margin-top: 0;
  }
  .section-speakers {
    padding-top: 80px;
  }
  .speakers-title {
    font-size: 26px;
    line-height: 30px;
    margin: 0 0 16px;
  }
  .speakers-description {
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 24px;
  }
  .speaker-wrap {
    display: flex;
    flex: 1 1 100%;
    margin: 12px 0;
  }
  .speaker-photo {
    width: 120px;
    height: 120px;
  }
  .speaker-info {
    position: static;
    opacity: 1;
    margin-left: 16px;
    padding: 0;
    justify-content: flex-start;
  }
  .speaker-role {
    font-family: 'SuisseIntlMono', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin: 0 0 2px;
  }
  .speaker-name {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    margin: 0 0 2px;
  }
  .speaker-t {
    position: static;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    opacity: 0.7;
  }
  .footer {
    margin: 80px 0 32px;
  }
  .slide {
    padding: 24px 16px;
  }
  .slider-container {
    padding: 16px 0;
  }
  .slider-close {
    top: 16px;
    right: 16px;
  }
  .card-wrap {
    padding: 16px;
  }
}
