@font-face {
  font-family: 'IvarText-Bold';
  src: url('../fonts/IvarText-Bold.woff2') format('woff2'),
  url('../fonts/IvarText-Bold.woff') format('woff');
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'IvarText-Regular';
  src: url('../fonts/IvarText-Regular.woff2') format('woff2'),
  url('../fonts/IvarText-Regular.woff') format('woff');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LabAntiqua-Medium';
  src: url('../fonts/LabAntiqua-Medium.woff2') format('woff2'),
  url('../fonts/LabAntiqua-Medium.woff') format('woff');
  font-display: swap;
  font-weight: 500; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: 'LabAntiqua-MediumCondensed';
  src: url('../fonts/LabAntiqua-MediumCondensed.woff2') format('woff2'),
  url('../fonts/LabAntiqua-MediumCondensed.woff') format('woff');
  font-display: swap;
  font-weight: 500; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: 'LabAntiqua-Small';
  src: url('../fonts/LabAntiqua-Small.woff2') format('woff2');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LabGrotesque-Bold';
  src: url('../fonts/LabGrotesque-Bold.woff2') format('woff2'),
  url('../fonts/LabGrotesque-Bold.woff') format('woff');
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'LabGrotesque-Regular';
  src: url('../fonts/LabGrotesque-Regular.woff2') format('woff2'),
  url('../fonts/LabGrotesque-Regular.woff') format('woff');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #1A194D;
  --primary-color-darkened: #1f1b77;
  --primary-color-lighter: #32314d;

  --secondary-color: #151F6D;
  --secondary-color-darkened: #0b1669;

  --black: #333333;
  --offwhite: #EDEFE1;
  --white: #ffffff;
  --lighter-gray: #F9F5EB;
  --light-gray: #E0E0E0;
  --gray: #989898;
  --dark-gray: #BACFC5;

  --header-font-family: "LabAntiqua-MediumCondensed", -apple-system, BlinkMacSystemFont,
  "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
  sans-serif;
  --body-font-family: "IvarText-Regular", sans-serif, -apple-system,
  BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
  "Helvetica Neue", sans-serif;
  --accent-font-family: 'LabGrotesque-Regular', -apple-system, BlinkMacSystemFont,
  "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
  sans-serif;
  --japanese-font-family: 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  background-color: var(--white);
}

p,
li {
  color: var(--black);
  line-height: 1.4;
  font-family: var(--body-font-family);
}

.jp p,
.jp li {
  font-family: var(--japanese-font-family) !important;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--black);
  font-family: var(--header-font-family);
}

.jp h1,
.jp h2,
.jp h3,
.jp h4,
.jp h5 {
  font-family: var(--japanese-font-family) !important;
}

a {
  transition: filter 0.3s;
}

a:hover {
  filter: brightness(50%);
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-family: var(--accent-font-family);
  padding: 15px 40px;
  text-align: center;
  border-radius: 5px;
  transition: filter 0.3s;
}

.button:hover {
  filter: brightness(50%);
}

/* For phone only */
@media (max-width: 320px) {
  .button {
    font-size: 13px;
  }
}

.button--full-width {
  display: block;
  width: 100%;
}

.button--fixed-width {
  display: inline-block;
}

.button--primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.button--primary:hover {
  background-color: var(--primary-color-darkened);
  color: var(--white);
}

.button--secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 1px solid var(--secondary-color);
}

.button--secondary:hover {
  background-color: var(--secondary-color-darkened);
  color: var(--white);
}

.button--white {
  background-color: var(--white);
  color: var(--secondary-color);
}

.button--outline,
.button--outline-primary {
  border: 1px solid var(--primary-color);
  background-color: inherit;
  background-image: inherit;
  color: var(--primary-color);
}

.button--outline:hover,
.button--outline-primary:hover,
.button--outline-primary.is-active {
  background-color: var(--primary-color);
  color: var(--offwhite);
}

.button--outline-secondary {
  border: 1px solid var(--secondary-color);
  background-color: var(--white);
  color: var(--secondary-color);
}

.button--outline-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.button--outline-white {
  background-color: inherit;
  color: var(--white);
  border: 1px solid var(--white);
}

.button--gradient-primary {
  color: var(--white);
  background: linear-gradient(90deg, #76A852 0%, #2A353C 100%);
}

.button--gradient-secondary {
  color: var(--white);
  background: linear-gradient(90deg, #4E55A0 0%, #18206A 100%);
}

.button--with-image {
  display: flex;
  justify-content: space-between;
}

.button--with-image p {
  font-size: 16px;
}

.button--with-image img {
  width: 25px;
}

.button--whiteOutline {
  border: 1px solid var(--white);
}

.button--whiteOutline p {
  color: var(--white);
}

.button--no-radius {
  border-radius: 0;
}

.button[disabled] {
  opacity: 0.5;
}

/* fade image in after load */
.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 300ms;
}

.wrapper {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* APP WINDOW */
.app {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* IF THE HAMBURGER BUTTON IS CLICKED, MAKE SURE THAT THE FLOATING BUTTONS ARE HIDDEN */
body.is-active .app {
  z-index: 1000;
  position: relative;
}

.app__window {
  width: 100%;
  display: none;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .app__window {
    width: 50%;
    display: block;
    position: sticky;
    top: 0;
  }
}

/* For desktop up */
@media (min-width: 1200px) {
  .app__window {
    width: 45%;
  }
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .app__window.is-not-sticky {
    position: relative;
  }
}


.app__content {
  width: 100%;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .app__content {
    width: 50%;
  }
}

/* For desktop up */
@media (min-width: 1200px) {
  .app__content {
    width: 55%;
  }
}

.is-d-logo {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 50%;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  .is-d-logo {
    display: block;
  }
}

.is-d-logo svg {
  width: 100%;
  height: 100%;
}

spline-viewer {
  width: 100%;
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

/* For tablet landscape up */
@media (min-width: 900px) {
  spline-viewer {
    width: 100%;
    height: 100vh;
  }
}

.tf-v1-popup {
  z-index: 99999999999999 !important;
}