/* Navbar */

.navbar-blur {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}


/* Scrollbar */


::-webkit-scrollbar-track {
  background: var(--meta-blue-2) !important;
}

::-webkit-scrollbar-thumb {
  background: var(--meta-blue);
}

:hover::-webkit-scrollbar-thumb {
  background: var(--meta-blue-4);
}


/* Flags */
/* https://www.svgrepo.com/vectors/flag */

.language-flag {
  width: 20px;
  margin-top: -4px;
  -webkit-filter: drop-shadow(1px 1px 8px rgba(0, 0, 0, .2));
  filter: drop-shadow(1px 1px 8px rgba(0, 0, 0, .2));
}

.landing-upper-grainy-gradient-static {
  position: relative;
  overflow: auto; /* Позволяет прокручивать содержимое внутри блока */
}

.landing-upper-grainy-gradient-static::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/static/img/landing_page/upper_gradient.d342c3342bab.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  z-index: -1; /* Отправляет фоновое изображение на задний план */
}

.landing-upper-grainy-gradient {
  background-image: url("/static/img/landing_page/upper_gradient.d342c3342bab.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.landing-lower-grainy-gradient {
  background-image: url("/static/img/landing_page/lower_gradient.ccd82c85f8d2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}



.fs-0 {
  font-size: calc(1.7rem + 1.4vw) !important;
}

@media (min-width: 1200px) {
  .fs-0 {
    font-size: 3rem !important;
  }
}

.scrumo-in-space-logo {
  width: 100%; height: auto;
  max-width: 650px;
  margin-top: -20px;
  margin-bottom: -20px;
}

@media (min-width: 1150px) {
  .scrumo-in-space-logo {
    margin-left: -50px;
  }
}


/* Scrumo Video */

.video-container-wrapper {
  border: dashed 4px #ffffff;
  border-radius: 18px;
  min-height: 180px;
}

.video-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 12px;
}

video {
  border-radius: 12px;
  display: block;
}

.video-play-button {
  font-size: 4rem !important;
  transform: translate(20px, -4px);
  z-index: 1;
}

@media (max-width: 992px) {
  .video-play-button {
    font-size: 2.8rem !important;
    transform: translate(18px, 2px) !important;
  }
}

@media (max-width: 768px) {
  .video-play-button {
    font-size: 2.4rem !important;
    transform: translate(12px, -2px) !important;
  }
}

@media (max-width: 576px) {
  .video-play-button {
    font-size: 2.2rem !important;
    transform: translate(8px, -4px) !important;
  }

  .video-subtitle {
    color: var(--meta-blue-8) !important;
  }

  .video-container-wrapper {
    border-color: var(--meta-blue) !important;
  }
}

.video-play-button {
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

.video-container:hover .video-play-button {
  color: var(--meta-red) !important;
}


/* Kanban Board */


.kanban-main-landing {
  cursor: grab;
  overflow-x: auto;
  overflow-y: auto;
  border-top-left-radius: 14px;
  scroll-behavior: auto !important;
  position: relative;
  height: auto;
}

.kanban-main-landing.active {
  cursor: grabbing !important;
}

@media (max-width: 576px) {
  .kanban-main-landing {
    max-width: 110%;
  }
}

@media (min-width: 576px) {
  .kanban-main-landing {
    max-width: 150%;
  }
}

/* Article Graph */

.meta-network-container-landing {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--bs-body-bg);
  border: dashed 3px var(--meta-silver-4);
}

@media (max-width: 967px) {
  .meta-network-container-landing {
    height: 400px;
  }
}

/* Timeline */

@media (min-width: 1200px) {
  .timeline-wrapper {
    padding-right: 10.8vw;
  }
}

.timeline {
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.timeline-column {
  width: 48%;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  opacity: 0;
  transform: translateY(-58px);
  transition: all 0.6s ease-out;
  margin-bottom: 50px;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 40px;
  width: 70px;
  border-top: 10px solid var(--meta-blue);
  transition: all 0.6s ease-out;
}

.timeline-item-text {
  line-height: 1;
  font-size: 18px;
}

.left-column, .right-column {
  padding-bottom: 60px;
}

.left-column {
  padding-top: 60px;
}

.right-column {
  padding-top: 120px;
}

@media (min-width: 768px) {
  .left-column {
    padding-right: 20px;
    border-right: 5px solid var(--meta-blue);
  }

  .right-column {
    padding-left: 20px;
    border-left: 5px solid var(--meta-blue);
  }
}

.left-column > .timeline-item::before {
  right: -26px;
}

.right-column > .timeline-item::before {
  left: -26px;
}

.content {
  padding: 20px 30px 30px;
  background-color: var(--bs-body-bg);
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile styles */
@media (max-width: 1200px) {
  .timeline {
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .timeline-column {
    display: contents;
  }

  .timeline-item {
    width: 100%;
    padding: 10px 0;
    transform: none;
    opacity: 1;
    margin-bottom: 0;
  }

  .timeline-item::before {
    display: none;
  }

  .timeline-item.visible {
    transform: none;
  }

  .timeline-item-text {
    font-size: 22px;
  }

  /* Content ordering */
  .left-column .timeline-item:nth-child(1) {order: 1;}
  .right-column .timeline-item:nth-child(1) {order: 2;}
  .left-column .timeline-item:nth-child(2) {order: 3;}
  .right-column .timeline-item:nth-child(2) {order: 4;}
  .left-column .timeline-item:nth-child(3) {order: 5;}
  .right-column .timeline-item:nth-child(3) {order: 6;}
  .left-column .timeline-item:nth-child(4) {order: 7;}
  .right-column .timeline-item:nth-child(4) {order: 8;}
  .left-column .timeline-item:nth-child(5) {order: 9;}
  .right-column .timeline-item:nth-child(5) {order: 10;}
  .left-column .timeline-item:nth-child(6) {order: 11;}
  .right-column .timeline-item:nth-child(6) {order: 12;}
  .left-column .timeline-item:nth-child(7) {order: 13;}
  .right-column .timeline-item:nth-child(7) {order: 14;}
  .left-column .timeline-item:nth-child(8) {order: 15;}
  .right-column .timeline-item:nth-child(8) {order: 16;}
  .left-column .timeline-item:nth-child(9) {order: 17;}
  .right-column .timeline-item:nth-child(9) {order: 18;}
  .left-column .timeline-item:nth-child(10) {order: 19;}
  .right-column .timeline-item:nth-child(10) {order: 20;}
  .left-column .timeline-item:nth-child(11) {order: 21;}
  .right-column .timeline-item:nth-child(11) {order: 22;}
  .left-column .timeline-item:nth-child(12) {order: 23;}
  .right-column .timeline-item:nth-child(12) {order: 24;}
  .left-column .timeline-item:nth-child(13) {order: 25;}
  .right-column .timeline-item:nth-child(13) {order: 26;}
  .left-column .timeline-item:nth-child(14) {order: 27;}
  .right-column .timeline-item:nth-child(14) {order:28;}
  .left-column .timeline-item:nth-child(15) {order: 29;}
  .right-column .timeline-item:nth-child(15) {order: 30;}
  .left-column .timeline-item:nth-child(16) {order: 31;}
  .right-column .timeline-item:nth-child(16) {order: 32;}
  .left-column .timeline-item:nth-child(17) {order: 33;}
  .right-column .timeline-item:nth-child(17) {order: 34;}
  .left-column .timeline-item:nth-child(18) {order: 35;}
  .right-column .timeline-item:nth-child(18) {order: 36;}
  .left-column .timeline-item:nth-child(19) {order: 37;}
  .right-column .timeline-item:nth-child(19) {order: 38;}
  .left-column .timeline-item:nth-child(20) {order: 39;}
  .right-column .timeline-item:nth-child(20) {order: 40;}
}

@media (max-width: 768px) {
  .timeline-item-text {
    font-size: 14px;
  }
}