@font-face {
    font-family: "Basier Square";
    src: url("fonts/Basier_Square_Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Basier Square Medium";
    src: url("fonts/Basier_Square_Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  html,
  body {
    font-family: "Basier Square";
    color: #0d0f2c;
    scroll-behavior: smooth;
  }

  .dark {
    background-color: #0d0f2c;
    color: #f1f1f1;
    font-family: "Basier Square";
  }

  .navbar-item.nav-link {
    color: white;
  }

  .navbar-item.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
  }

  .navbar {
    padding-top: 1.5rem !important;
    padding-bottom: 1.75rem !important;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
  }

  .navbar .navbar-item img {
    display: block;
    max-height: 48px;
    margin: 0;
    padding: 0;
  }

  .shadow {
    box-shadow: none;
  }

  .subtitle,
  .title,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Basier Square Medium";
  }

  .title,
  h1,
  h2 {
    font-weight: 500 !important;
    /* Medium */
  }

  .subtitle,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 400 !important;
    /* Regular */
  }

  .section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .box {
    margin-bottom: 2rem !important;
    padding: 2.5rem !important;
    box-shadow: none !important;
    /* <-- Add this line */
  }

  .box__no-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .box__no-top {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  * {
    box-sizing: border-box;
  }

  .img-zoom-container {
    position: relative;
    float: right;
  }

  .img-zoom-lens {
    position: absolute;
    border: 2px solid #ff2020;
    width: 40px;
    height: 40px;
  }

  .img-zoom-result {
    border: 2px solid #ff2020;
    width: 300px;
    height: 300px;
  }

  .chart_container {
    width: 100%;
    height: 400px;
    position: relative;
  }

  @media (max-width: 800px) {
    .vssim-chart-col {
      margin-bottom: 50px;
      /* Adjust as needed for your label size */
    }

    .section__blue {
      padding: 3rem 0 !important;
    }

    .title__small-indent {
      margin-left: 2.3rem !important;
    }

    .chart_container__super-wide {
      left: 0;
    }

    .box__no-top {
      padding-top: 0 !important;
      padding-left: 5px !important;
      padding-right: 5px !important;
    }
  }

  /** Navigation **/
  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    width: 100%;
  }

  .navbar .logo {
    width: 170px;
    height: 100%;
    background: url(./logo.png) left center no-repeat;
    background-size: contain;
  }

  .navbar .desktop-menu,
  .navbar .mobile-menu {
    display: flex;
    flex: 1;
  }

  .navbar .desktop-menu {
    box-sizing: border-box;
  }

  .navbar .mobile-menu {
    justify-content: end;
  }

  .navbar .mobile-menu button {
    border: 0;
    background: none;
    color: white;
    font-size: 200%;
    line-height: 0;
    position: relative;
    top: 4px;
  }

  .navbar .mobile-menu-container {
    display: relative;
  }

  .navbar .mobile-menu-options {
    height: 0;
    position: absolute;
    margin-left: -50px;
    margin-top: 10px;
    width: 200px;
    overflow-y: hidden;
    background: #0d0f2c;

    transition: height ease-in 75ms;
  }

  .navbar .mobile-menu-options.show {
    height: 125px;
  }

  @media screen and (max-width: 1023px) {
    .navbar .desktop-menu {
      display: none;
    }
  }

  @media screen and (max-width: 1023px) {
    .navbar {
      padding-left: 30px;
      padding-right: 30px;
    }
  }

  @media screen and (min-width: 1024px) {
    .navbar .mobile-menu {
      display: none;
    }
  }

  .first-section {
    padding-top: 75px !important;
  }

  .navbar-container {
    display: flex;
    width: 100%;
  }

  @media screen and (min-width: 1408px) {
    .navbar-container:not(.is-max-desktop):not(.is-max-widescreen) {
      max-width: 1344px;
    }
  }
  @media screen and (min-width: 1216px) {
    .navbar-container:not(.is-max-desktop) {
      max-width: 1152px;
    }
  }
  @media screen and (min-width: 1024px) {
    .navbar-container {
      max-width: 960px;
    }
  }

/* Custom Styles */
.synthesia-button {
  background-color: #3e57da !important;
}

.title-with-top-margin {
  margin-top: 1rem;
}

.custom-subtitle {
  color: #9f9f9f;
}

.video-player {
  border-radius: 10px;
  width: 100%;
}

.main-video {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 100%;
  height: auto;
}

.section-extra-margin {
  margin-top: 2rem !important;
}

.responsive-img {
  max-width: 100%;
}

.section-subtitle {
  font-size: 1.5rem !important;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

section[id] {
  scroll-margin-top: 100px; /* Match or slightly exceed your navbar height */
}

/* From Synthesia brand team */
h1.title.dark.title-with-top-margin {
  font-size: 3.5rem !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 3.625rem !important; /* 103.571% */
  letter-spacing: -0.14rem !important;
  margin-top: 1rem !important;
  margin-bottom: 1.5rem !important;
}
h2 {
  font-size: 2.5rem !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 2.75rem !important; /* 110% */
  letter-spacing: -0.1rem !important;
  color: #0D0F2C !important;
  margin-bottom: 1.5rem !important;
}
h3 {
  font-size: 1.5rem !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.75rem !important; /* 116.667% */
  letter-spacing: -0.045rem !important;
  color: #0D0F2C !important;
  margin-bottom: 1rem !important;
}
p {
  color: #333B52 !important;
  font-size: 1.125rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.625rem !important; /* 144.444% */
  letter-spacing: -0.009rem !important;
}
@media screen and (max-width: 767px) {
  h1.title.dark.title-with-top-margin {
      font-size: 2.5rem !important;
      font-style: normal !important;
      font-weight: 500 !important;
      line-height: 2.75rem !important; /* 110% */
      letter-spacing: -0.1rem !important;
  }
  h2 {
      font-size: 1.75rem !important;
      font-style: normal !important;
      font-weight: 500 !important;
      line-height: 2.125rem !important; /* 121.429% */
      letter-spacing: -0.06125rem !important;
  }
  h3 {
      font-size: 1.125rem !important;
      font-style: normal !important;
      font-weight: 500 !important;
      line-height: 1.625rem !important; /* 144.444% */
      letter-spacing: -0.009rem !important;
  }
}
p:last-child {
  margin-top: 1rem !important;
}

a:not(nav a) {
  font-weight: 500 !important;
  color: #3E57DA !important;
}

.subtitle.custom-subtitle {
  font-family: "Basier Square" !important;
  font-size: 1.25rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.75rem !important; /* 140% */
  letter-spacing: -0.0125rem !important;
  color: #D1D6E5 !important;
  margin: 0 !important;
  margin-bottom: 4rem !important;
}

.has-text-justified, .has-text-centered {
  text-align: left !important;
}

.navbar-end {
  gap: .75rem !important;
}
.navbar-item.nav-link {
  color: #E6EAF4!important;
  background: rgba(255, 255, 255, 0) !important;
  padding: .25rem .5rem !important;
  transition: background .2s ease !important;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 160% */
  letter-spacing: -0.00375rem;
}
.navbar-item.nav-link:hover {
  color: #ffffff!important;
  background: rgba(255, 255, 255, 0.20) !important;
  border-radius: .25rem
}
.navbar {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.navbar-container {
  width: 100% !important;
  max-width: 81rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}
@media screen and (max-width: 767px) {
.navbar-container {
      padding-left: 1.5rem !important;
      padding-right: 1.5rem !important;
  }
  .navbar .mobile-menu-options {
      right: 0 !important;
  }
}




.section {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}
@media screen and (max-width: 767px) {
.section {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
}

.section:not(#header.section) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 3.5rem
}
@media screen and (max-width: 767px) {
  .section:not(#header.section) {
      margin-top: 1.5rem
  }
}

/*Hero*/
#header.section.shadow.dark.first-section {
  padding-top: 8rem !important;
  margin-bottom: 4rem !important;
}
@media screen and (max-width: 767px) {
  #header.section.shadow.dark.first-section {
      padding-top: 6rem !important;
      margin-bottom: 0rem !important;
  }
}
#header .container {
  width: 100% !important;
  max-width: 76rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}
#header video {
  border-radius: 1rem !important;
}


/*Body*/
#introduction.section {
  margin-top: 4.5rem !important;
}
@media screen and (max-width: 767px) {
 #introduction.section {
      margin-top: 2rem !important;
  }
}
.columns.is-multiline {
  margin-top: 1rem !important;
  margin-bottom: 2.5rem !important;
}


.container {
  width: 100% !important;
  max-width: 54.5rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
}

footer.section {
  margin-bottom: 5rem !important;
  margin-top: 3.5rem !important;

}
footer p {
  text-align: center !important;
}