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

body {
  font-family: "Public Sans", sans-serif;
  background-color: #fafcff;
  color: #212632;
  overflow-x: hidden;
  font-size: 16px;
}

.arial {
  font-family: "Arial", sans-serif;
}

a, a:visited {
  color: grey;
  transition: all 0.15s;
}
a:hover, a:visited:hover {
  color: #212632;
  text-decoration: none;
}

strong {
  color: #353e55;
  font-weight: 550;
}

p {
  line-height: 1.3em;
  margin-bottom: 0.5em;
  max-width: 40rem;
}

ul {
  margin-left: 1em;
}

.big-paragraph {
  font-size: 1.3em;
  line-height: 1.5em;
  font-weight: 300;
  text-wrap: balance;
}

.underlined {
  text-decoration: underline;
}

.splash-img {
  margin-top: 2em;
  position: relative;
  margin-bottom: -10em;
}
.splash-img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(0deg, #fafcff 40%, transparent 70%);
}

img, svg, video, object {
  max-width: 100%;
  width: 100%;
  line-height: 0;
}

.grey {
  color: #8e939e;
}

.burning-sun {
  color: #FD5825;
}

.black-bg {
  background-color: #222;
}

h1 {
  font-size: 3.5em;
  letter-spacing: -0.02em;
  font-family: "Spectral", serif;
  font-weight: 300;
  max-width: 60rem;
}

.huge-title {
  font-size: clamp(4em, 8em, 7vw);
  font-weight: 200;
  max-width: 55rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2em;
  font-weight: 500;
}

h3 {
  font-size: 1.3em;
  font-weight: 300;
}

h4 {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8em;
}

.small {
  font-size: 0.8em;
}

.uppercase {
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.04em;
}

.low-opacity {
  opacity: 0.5;
}

.text-secondary {
  color: #353e55;
}

.lottie {
  border-radius: 14px;
  line-height: 0;
}
.lottie svg {
  max-height: 70vh;
  width: auto;
}

.centered-content {
  grid-column: span 12;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.hero-wrap {
  position: relative;
  margin-bottom: 8em;
}

#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 101vh;
  background-color: #222;
  transform-origin: top center;
}

.hero {
  position: relative;
  z-index: 1;
  height: 90vh;
  padding-top: 5em;
  display: flex;
  color: #CDC6BE;
  flex-flow: column;
  justify-content: space-between;
}
.hero .hero__top {
  display: flex;
  flex-flow: column;
  gap: 0.2em;
}
.hero .hero__top h2 {
  line-height: 1.5em;
}
.hero .hero__top h1 {
  margin-block: 0.8rem;
  line-height: 1;
}
.hero .hero__top p {
  width: 35em;
  max-width: 100%;
}

.start-fade {
  opacity: 0;
}

.hero__bottom {
  margin-bottom: 5em;
  display: flex;
  justify-content: space-between;
}
.hero__bottom div {
  display: flex;
  align-items: flex-end;
}

.bz-logo {
  position: relative;
  top: clamp(5px, 24%, 10px);
}

.g-logo {
  margin-top: 0.75em;
  margin-left: 0.5em;
  margin-bottom: -0.5em;
}

.logo {
  width: auto;
  height: 2em;
}

.bz-pattern {
  opacity: 5%;
  position: absolute;
  top: -2px;
  right: -2px;
  width: clamp(20em, 35%, 40em);
}
section {
  margin-bottom: 10em;
}

.small-section {
  margin-bottom: 5em;
  padding-bottom: 5em;
  display: flex;
  flex-flow: column;
  gap: 8em;
}
.small-section:not(:last-child) {
  border-bottom: 2px solid #e0e0e0;
}

.implementation h2 {
  margin-top: 0.5rem;
}

.code-box {
  margin-bottom: 15px;
  margin-top: 0.5em;
}

pre {
  clear: both;
  margin-block: 1em;
  color: #fff;
  background: none;
  padding: 0;
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -ms-word-break: normal;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
  position: relative;
  line-height: 28px;
  background-color: #f4f7f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  white-space: pre-wrap;
}

body pre.prettyprint {
  border: none;
}

pre code {
  white-space: pre;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  display: block;
  border-radius: 5px;
  max-width: 100%;
  min-width: 100px;
  font-size: 14px;
  padding: 0 1.5em 1.2em 1.5em;
  line-height: 1.5;
}

p code {
  font-size: 0.8em;
  display: inline-block;
  background-color: #f4f7f9;
  border: 1px solid #ddd;
  padding: 0 0.25em;
  line-height: 1.3em;
  border-radius: 3px;
}

.more-content {
  padding-left: 1.5em;
  border-left: 2px solid #e0e0e0;
  margin-top: 1.5em;
  display: none;
}

hr {
  border: none;
  border-bottom: 2px solid #e0e0e0;
  margin: 2em 0;
}

.margin-content {
  width: 85%;
  max-width: 1300px;
  margin-inline: auto;
}

.wide-content {
  margin-inline: -4%;
  width: 108%;
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  gap: 1em;
}

.dark-bg {
  background-color: #222;
  color: #fafcff;
  padding-block: 5em;
  margin-bottom: 10em;
}
.dark-bg .text-secondary {
  color: #FD5825;
}
.dark-bg a {
  color: #CDC6BE;
}
.dark-bg a:hover {
  color: #CDC6BE;
}

.footer {
  color: #CDC6BE;
  margin-bottom: 0;
}
.footer section {
  margin-bottom: 0;
}
.footer .hero__bottom {
  margin-top: 5em;
  margin-bottom: 0;
}

.col-4 {
  grid-column: span 4;
}

.col-8 {
  grid-column: span 8;
}

.text-content {
  display: flex;
  flex-flow: column;
  gap: 0.5em;
  max-width: 35em;
}
.text-content > p {
  margin-bottom: 0;
}

ul li {
  margin-bottom: 0.2em;
}

.toc {
  margin-bottom: 8em;
}
.toc h3 {
  margin-bottom: 0.5em;
}
.toc ol {
  margin-left: 2em;
}
.toc li {
  line-height: 1.5em;
  margin-bottom: 0.2em;
}
.toc li.sub-list {
  list-style-type: none;
  margin-bottom: 0.5em;
}
.toc li.sub-list li {
  list-style-type: disc;
}

.intro-section {
  margin-bottom: 10em;
}
.intro-section h1 {
  margin-block: -0.2em -0.2em;
}

#page-flow-splash {
  overflow: hidden;
}
#page-flow-splash:after {
  background: linear-gradient(0deg, #fafcff 20%, transparent 70%);
}

.idea .text-content, .idea .mobile-video-wrap {
  max-width: 25rem;
}
.idea h2 {
  color: #353e55;
}

.text-primary {
  color: #ef78a4;
}

.dropdown {
  border-radius: 0.5em;
  margin-top: 0.5em;
  font-size: 0.8em;
  color: #222;
  position: relative;
}
.dropdown.open .dropdown-content {
  max-height: 200px;
  padding: 1em 1em;
  opacity: 1;
  transition: all 0.25s;
}
.dropdown.open .dropdown-header:after {
  rotate: 225deg;
  top: 4px;
}

.dropdown-header {
  display: flex;
  background-color: #ebeeef;
  padding: 0.5em 1em;
  border-radius: 5px;
  justify-content: space-between;
  transition: all 0.1s;
  cursor: pointer;
}
.dropdown-header:hover {
  filter: brightness(95%);
}
.dropdown-header:active {
  filter: brightness(90%);
}
.dropdown-header a {
  color: #222;
  text-decoration: none;
}
.dropdown-header:after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  rotate: 45deg;
  position: relative;
  top: 2px;
}

.dropdown-content {
  max-height: 50;
  opacity: 0;
  padding-top: 1em;
  overflow: hidden;
  transition: all 0.5s;
  padding: 1em 1em;
  color: #222;
  background-color: #ebeeef;
  border-radius: 5px;
  position: absolute;
  bottom: -1em;
  left: 0;
  translate: 0 100%;
}

.media-content {
  position: relative;
  max-width: 100%;
}
.media-content.desktop-video-wrap {
  flex-grow: 1;
}
.media-content .inner-wrap.stretch {
  height: 100%;
}
.media-content .inner-wrap.stretch img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}

.small-br {
  border-radius: 10px;
}

.m-br {
  border-radius: 15px;
}

.border {
  border: 3px solid #e0e0e0;
}

.flex {
  display: flex;
  flex-flow: row wrap;
  gap: 4em;
}

.flex-reverse {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.align-bottom {
  align-items: flex-end;
}

.mobile-video-wrap {
  height: auto;
  max-width: 100%;
}
.mobile-video-wrap .inner-wrap {
  position: relative;
}
.mobile-video-wrap video {
  height: auto;
  width: calc(100% - 10px);
  position: absolute;
  top: 8px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  border-radius: 35px;
  -o-object-fit: contain;
     object-fit: contain;
}
.mobile-video-wrap svg {
  height: auto;
  position: relative;
  z-index: 10;
}

.desktop-video-wrap {
  width: 50%;
}
.desktop-video-wrap video {
  aspect-ratio: 8/5;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  border: 3px solid lightgrey;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.gallery-container h2 {
  margin-top: 0.5rem;
}
.gallery-container .big-image-container {
  position: relative;
  margin-block: 1em;
  gap: 2em;
  justify-content: space-between;
}
.gallery-container .big-image-container .big-image-container__wrapper {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  width: 100%;
  aspect-ratio: 8/5;
  height: 500px;
  position: relative;
  padding: 1em;
  background-color: rgb(37, 39, 45);
  width: 70%;
  flex-grow: 1;
  cursor: zoom-in;
}
.gallery-container .big-image-container .gallery-panel {
  width: 15em;
  background-color: rgb(37, 39, 45);
  padding: 2em 2em;
  border-radius: 10px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  flex-grow: 1;
}
.gallery-container .big-image-container img, .gallery-container .big-image-container video {
  height: auto;
  display: block;
  margin-inline: auto;
  width: auto;
  max-height: 100%;
}
.gallery-container .big-image-container .buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2em;
}
.gallery-container .big-image-container .buttons img {
  width: 60%;
}
.gallery-container .big-image-container .buttons__mobile {
  display: none;
}
.gallery-container button {
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  background-color: #fafcff;
  height: 1.5em;
  width: 1.5em;
  border-radius: 1em;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px -10px #222;
  justify-content: center;
  transition: all 0.5s;
}
.gallery-container button img {
  width: 0.75em;
}
.gallery-container button:hover {
  transition: all 0.1s;
  background-color: white;
  translate: 2px 0;
}
.gallery-container button:active {
  translate: 2px 1.5px;
}
.gallery-container .prev:hover {
  translate: -2px 0;
}
.gallery-container .prev:active {
  translate: -2px 1.5px;
}
.gallery-container .prev img {
  transform: rotate(180deg);
}

#caption {
  line-height: 1.3em;
}
#caption strong {
  color: white;
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
#caption span {
  color: #e0e0e0;
  display: inline-block;
  max-width: 50em;
}

.thumbnail-grid {
  display: flex;
  flex-flow: row wrap;
  gap: 1em;
  display: none;
}
.thumbnail-grid img {
  width: calc(33% - 1em);
  border-radius: 5px;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox .buttons {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
}
.lightbox .buttons button {
  margin-inline: 2%;
}
.lightbox .dots-container {
  position: absolute;
  bottom: 5%;
  left: 50%;
  translate: -50% 0;
}

img.lightbox-image {
  max-width: 80%;
  max-height: 80%;
  -o-object-fit: contain;
     object-fit: contain;
  cursor: zoom-out;
}

.lightbox .navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox .navigation button {
  background: none;
  border: none;
  font-size: 4em;
  color: #fff;
  cursor: pointer;
}

.lightbox .close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  cursor: pointer;
  color: #fff;
  font-size: 33px;
}

.grey-200 {
  color: #8e939e;
}

.grey-500 {
  color: #4f5560;
}

.thumbnail-container-outer-wrapper {
  border-radius: 15px;
  background-color: rgb(37, 39, 45);
  padding: 0 1.5em 1em 1.5em;
}

.thumbnail-container {
  display: flex;
  gap: 1em;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 1em;
  /* Custom Scrollbar Styling */
}
.thumbnail-container img {
  width: auto;
  height: 50px;
  scroll-snap-align: start;
  border-radius: 5px;
  cursor: pointer;
  transition: all 1s;
  opacity: 0.5;
}
.thumbnail-container img.active, .thumbnail-container img:hover {
  opacity: 1;
  transition: all 0.25s;
}
.thumbnail-container::-webkit-scrollbar {
  height: 4px;
  width: 10em;
  position: absolute;
}
.thumbnail-container::-webkit-scrollbar-thumb {
  background-color: #222;
  border-radius: 2px;
}
.thumbnail-container::-webkit-scrollbar-track {
  background: none; /* No background */
}

.dot {
  width: 7px;
  height: 7px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  opacity: 0.2; /* Initial opacity */
  transition: opacity 0.75s;
}

.dot.active {
  transition: opacity 0.15s;
  opacity: 0.8; /* Active state opacity */
}

.dots-container {
  width: -moz-fit-content;
  width: fit-content;
  align-self: center;
  justify-self: center;
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: -50px;
  translate: -50% 0;
}

.demo {
  padding: 1.2em 1.5em;
  background: rgb(245, 248, 255);
  border: 1px solid rgb(215, 220, 231);
  border-radius: 5px;
  margin-top: 2em;
}
.demo strong {
  margin-bottom: 0.5em;
  display: block;
}
.demo a, .demo a:visited, .demo a:focus {
  color: #212632;
}

a.btn {
  padding: 0.5em 1em;
  text-decoration: none;
  background-color: #353e55;
  color: white !important;
  margin-top: 1em;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 5px;
}
a.btn:hover {
  background-color: #4f5560;
}

@media screen and (max-width: 800px) {
  body {
    font-size: 14px;
  }
  p {
    font-size: 15px;
  }
  .gallery-container .big-image-container .big-image-container__wrapper {
    height: auto;
  }
  .gallery-container .big-image-container .big-image-container__wrapper img {
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    height: auto;
    max-height: 500px;
  }
  .gallery-container .big-image-container .big-image-container__wrapper .dots-container {
    bottom: -21px;
  }
  .logo {
    width: auto;
    height: 1.5em;
  }
  .gallery-panel .buttons {
    display: none !important;
  }
  .buttons__mobile {
    display: flex !important;
    position: absolute;
    top: 50%;
    margin-top: 0 !important;
    translate: 0 -50%;
    width: 110%;
    display: flex;
    justify-content: space-between;
  }
  .buttons__mobile button img {
    width: 60% !important;
  }
}