@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css");
@keyframes Float {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(20px);
  }
}
@keyframes AnimateScroll {
  50%, 100% {
    transform: scale(0.8);
    opacity: 0;
  }
}
.shake {
  animation: Shake 1s ease-in-out both;
}

@keyframes Shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70% {
    transform: translateX(-4px);
  }
  20%, 40%, 60% {
    transform: translateX(4px);
  }
  80% {
    transform: translateX(2px);
  }
  90% {
    transform: translateX(-2px);
  }
}
@keyframes SlideIn {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes titleBottom {
  0% {
    opacity: 0;
    transform: rotateX(-90deg) translateY(100%);
  }
  100% {
    transform: none;
  }
}
.insight {
  animation: inSight 0.4s ease-in-out both;
  animation-delay: 0.2s;
}

@keyframes inSight {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes moveDiv {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
::selection {
  user-select: none;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  touch-action: manipulation;
  background: #000000;
}

h1 {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 2.5em;
  line-height: 1.2;
} /* 40px */
h2 {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 2.25em;
  line-height: 1.2;
} /* 36px */
h3 {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 2em;
  line-height: 1.2;
} /* 32px */
h4 {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 1.75em;
  line-height: 1.2;
} /* 28px */
h5 {
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 1.5em;
  line-height: 1.2;
} /* 24px */
.subtitle {
  margin: 0;
  padding: 0;
  display: inline-block;
  letter-spacing: -0.5px;
  font-size: 1.125em;
  line-height: 1.2;
  font-weight: 700;
} /* 18px */
.card-label {
  text-transform: uppercase;
  width: 100%;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 0.875em;
  line-height: 1.2;
  font-weight: 700;
  opacity: 0.6;
} /* 14px */
.card-desc {
  width: 80%;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 1.5em;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 10px;
} /* 24px */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

.background-special {
  display: block;
  background: url(../resources/bg.jpg) center center no-repeat;
  background-size: cover;
  opacity: calc(1 / var(--scrolled) * 0.2);
  width: 100%;
  height: 100vh;
  z-index: 0;
  position: fixed;
}

.nav-sticky {
  background: rgba(19, 19, 20, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

nav {
  width: 100%;
  position: fixed;
  top: 0;
  height: 48px;
  display: flex;
  z-index: 100;
  transition: all 0.4s ease-in-out;
  backdrop-filter: blur(0);
}
nav #nav-menu {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  background: #000000;
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 2;
  transform: translateY(-100vh);
  transition: all 0.4s ease-in-out;
  visibility: hidden;
}
nav #nav-menu a {
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  width: calc(100% - 80px);
  max-height: 60px;
  margin: 0 auto;
  padding: 15px 0px;
  font-size: 2em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.5, 0, 0.5, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-30px);
}
nav #nav-menu a:last-child {
  border: 0;
}
nav #nav-menu a:hover, nav #nav-menu a :active, nav #nav-menu a :focus {
  color: #FFFFFF;
}
nav .nav-open {
  visibility: visible !important;
  transform: translateY(0vh) !important;
}
nav #nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  position: relative;
  align-items: center;
  margin: 0 20px;
  z-index: 1;
}
nav #nav-container #nav-button {
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  position: absolute;
  right: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 100%;
  transition: all 0.2s cubic-bezier(0.5, 0, 0.5, 1);
  cursor: pointer;
}
nav #nav-container #nav-button span::before {
  display: block;
  width: 17px;
  height: 2px;
  content: "";
  background: #FFFFFF;
  margin-bottom: 4px;
}
nav #nav-container #nav-button span::after {
  display: block;
  width: 17px;
  height: 2px;
  content: "";
  background: #FFFFFF;
  margin-bottom: 4px;
}
nav #nav-container #nav-button.active {
  background: #0080FF;
}
nav #nav-container #nav-button.active span::before {
  color: red;
}
nav #nav-container #nav-button.active span::after {
  color: red;
}
nav #primary-logo {
  width: 20px;
  height: 16px;
  display: block;
  fill: #0080FF;
  position: absolute;
  left: 0;
}

header {
  width: 100%;
  height: 100vh;
  display: flex;
  margin: 0 auto;
  perspective: 600px;
  position: fixed;
}
header #header-container {
  max-width: 1200px;
  width: 100%;
  height: fit-content;
  flex-wrap: wrap;
  align-items: flex-start;
  text-align: center;
  margin-top: 68px;
  display: flex;
  animation: AnimateScroll 1s linear infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scrolled) * -1s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
header #header-container #header-text {
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  perspective: 600px;
}
header #header-container #float {
  animation-name: Float, SlideIn;
  animation-duration: 2s, 1s;
  animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
  animation-iteration-count: infinite, 1;
  animation-direction: alternate, normal;
  animation-fill-mode: forwards, backwards;
  display: flex;
  align-items: center;
  margin: 40px 0 0 0;
  width: 100%;
  height: 280px;
  background-size: auto 100%;
  z-index: -1;
}
header #header-container #float video {
  display: block;
  height: 100%;
  margin: 0 auto;
}
header #header-container h1 {
  width: fit-content;
  background: linear-gradient(90deg, #5CE65C, #0080FF 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  animation: titleBottom 1s cubic-bezier(0.5, 0, 0.5, 1) both;
  transform-style: preserve-3d;
  transform-origin: center bottom;
}
header #header-container .subtitle {
  margin: 10px 0 0 0;
  width: 270px;
  color: #FFFFFF;
  animation: titleBottom 1s cubic-bezier(0.5, 0, 0.5, 1) both;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  animation-delay: 0.2s;
}

#main-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  top: 100vh;
}
#main-container .content-transition {
  display: flex;
  width: 100%;
  height: 200px;
  position: relative;
  background: linear-gradient(to top, hsl(0, 0%, 0%) 0%, hsla(0, 0%, 0%, 0.987) 8.1%, hsla(0, 0%, 0%, 0.951) 15.5%, hsla(0, 0%, 0%, 0.896) 22.5%, hsla(0, 0%, 0%, 0.825) 29%, hsla(0, 0%, 0%, 0.741) 35.3%, hsla(0, 0%, 0%, 0.648) 41.2%, hsla(0, 0%, 0%, 0.55) 47.1%, hsla(0, 0%, 0%, 0.45) 52.9%, hsla(0, 0%, 0%, 0.352) 58.8%, hsla(0, 0%, 0%, 0.259) 64.7%, hsla(0, 0%, 0%, 0.175) 71%, hsla(0, 0%, 0%, 0.104) 77.5%, hsla(0, 0%, 0%, 0.049) 84.5%, hsla(0, 0%, 0%, 0.013) 91.9%, hsla(0, 0%, 0%, 0) 100%);
}
#main-container #content {
  color: #FFFFFF;
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: #000000;
}
#main-container #content #card-container {
  max-width: 1200px;
  padding: 0 20px 20px 20px;
  margin: 0 auto;
}
#main-container #content .card {
  width: 100%;
  height: calc(100vw + 60px);
  position: relative;
  display: flex;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 20px;
  flex-wrap: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  background: #292C33;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2);
}
#main-container #content .card.bg-tile-1 {
  background: url(../);
}
#main-container #content .card.bg-tile-2 {
  background: url(../resources/tiles/bg2.jpg) no-repeat center center;
  background-size: cover;
}
#main-container #content .card.bg-tile-3 {
  background: url(../);
}
#main-container #content .card.bg-tile-4 {
  background: url(../);
}
#main-container #content .card a {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#main-container #content .card:hover ::after {
  margin: 0;
  box-shadow: inset 0 0 0 4px #0080ff;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 30px;
}
#main-container #content .card ::after {
  content: "";
  display: block;
  position: absolute;
  margin: 6px;
  box-shadow: inset 0 0 0 0px #0080ff;
  transition: all 0.15s cubic-bezier(0.5, 0, 0.5, 1);
  border-radius: 24px;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  z-index: -2;
}
#main-container #content .card.disabled .icon {
  display: flex;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
#main-container #content .card.disabled .icon::before {
  margin-top: -3px;
  content: "\f023";
  font-size: 24px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #FFFFFF;
}
#main-container #content .card.disabled::after {
  box-shadow: inset 0 0 0 0px #ff2727 !important;
}
#main-container #content .card.disabled:hover::after {
  box-shadow: inset 0 0 0 4px #ff2727 !important;
}
#main-container #content .card-text {
  width: 100%;
  height: fit-content;
  flex-wrap: wrap;
}
#main-container .copyright {
  display: flex;
  width: 100%;
  font-size: 0.875em;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.4);
  justify-content: center;
  align-items: center;
}
#main-container footer {
  width: 100%;
  display: flex;
  position: relative;
  flex-wrap: wrap;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 60px 0 0 0;
}
#main-container footer .footer-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  flex-wrap: nowrap;
  position: relative;
  justify-content: space-between;
}
#main-container footer .footer-container .contact {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  margin-left: 20px;
  font-size: 1.5em;
  font-weight: 700;
}
#main-container footer .footer-container .contact .footer-title {
  width: 100%;
  color: rgba(255, 255, 255, 0.4);
}
#main-container footer .footer-container .contact .email {
  width: fit-content;
  color: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.5, 0, 0.5, 1);
}
#main-container footer .footer-container .contact .email:hover, #main-container footer .footer-container .contact .email :visited, #main-container footer .footer-container .contact .email :active, #main-container footer .footer-container .contact .email :focus {
  color: #0080FF;
  text-decoration: underline;
}

/* iPhone */
@media only screen and (min-width: 375px) and (max-width: 413px) {
  h1 {
    font-size: 3em;
  } /* 48px */
  h2 {
    font-size: 2.5em;
  } /* 40px */
  h3 {
    font-size: 2em;
  } /* 32px */
  h4 {
    font-size: 1.5em;
  } /* 24px */
  h5 {
    font-size: 1em;
  } /* 16px */
  .subtitle {
    font-size: 1.5em;
  } /* 24px */
  .card-label {
    font-size: 1em;
  } /* 16px */
  .card-desc {
    font-size: 1.5em;
  } /* 24px */
  header #header-container .subtitle {
    width: 340px;
  }
  header #header-container #float {
    margin: 40px 0 0 0;
    width: 100%;
    height: 460px;
  }
  #main-container #content .card {
    padding: 30px;
    width: 100%;
    height: calc(100vw + 60px);
  }
}
/* iPhone Max */
@media only screen and (min-width: 414px) and (max-width: 767px) {
  h1 {
    font-size: 3em;
  } /* 48px */
  h2 {
    font-size: 2.5em;
  } /* 40px */
  h3 {
    font-size: 2em;
  } /* 32px */
  h4 {
    font-size: 1.5em;
  } /* 24px */
  h5 {
    font-size: 1em;
  } /* 16px */
  .subtitle {
    font-size: 1.5em;
  } /* 24px */
  .card-label {
    font-size: 1em;
  } /* 16px */
  .card-desc {
    font-size: 1.5em;
  } /* 24px */
  header #header-container .subtitle {
    width: 360px;
  }
  header #header-container #float {
    margin: 40px 0 0 0;
    width: 100%;
    height: 540px;
  }
  #main-container #content .card {
    padding: 30px;
    width: 100%;
    height: calc(100vw + 45px);
  }
}
/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  h1 {
    font-size: 3.5em;
  } /* 56px */
  h2 {
    font-size: 3em;
  } /* 48px */
  h3 {
    font-size: 2.5em;
  } /* 40px */
  h4 {
    font-size: 2em;
  } /* 32px */
  h5 {
    font-size: 1.5em;
  } /* 24px */
  .subtitle {
    font-size: 2em;
  } /* 32px */
  .card-label {
    font-size: 1.25em;
  } /* 20px */
  .card-desc {
    width: 50%;
    font-size: 2.5em;
  } /* 40px */
  #nav-menu {
    top: 56px;
  }
  nav {
    height: 56px;
  }
  nav #nav-container {
    margin: 0 40px;
  }
  nav #primary-logo {
    width: 25px;
    height: 20px;
  }
  header #header-container {
    margin-top: 76px;
  }
  header #header-container .subtitle {
    width: 520px;
  }
  header #header-container #float {
    margin: 40px 0 0 0;
    width: 100%;
    height: 600px;
  }
  header #header-container #float video {
    margin: 0 auto;
  }
  #main-container #content #card-container {
    padding: 0 40px 40px 40px;
  }
  #main-container #content #card-container .card {
    padding: 40px;
    width: 100%;
    height: 600px;
    margin-bottom: 40px;
  }
  #main-container footer .footer-container .contact {
    margin-left: 40px;
  }
}
/* Laptop */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
  h1 {
    font-size: 4em;
  } /* 64px */
  h2 {
    font-size: 3.5em;
  } /* 56px */
  h3 {
    font-size: 3em;
  } /* 48px */
  h4 {
    font-size: 2.5em;
  } /* 40px */
  h5 {
    font-size: 2em;
  } /* 32px */
  .subtitle {
    font-size: 2.5em;
  } /* 40px */
  .card-label {
    font-size: 1.25em;
  } /* 20px */
  .card-desc {
    width: 50%;
    font-size: 2.5em;
  } /* 40px */
  nav {
    height: 56px;
  }
  nav #nav-container {
    margin: 0 40px;
  }
  nav #primary-logo {
    width: 25px;
    height: 20px;
  }
  header #header-container {
    width: 100%;
    margin: 0;
    height: 100%;
    text-align: left;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
  }
  header #header-container .subtitle {
    width: 540px;
  }
  header #header-container #header-text {
    margin: 0 0 0 40px;
    align-items: flex-start;
  }
  header #header-container #float {
    margin: 40px 0 0 0;
    height: 600px;
  }
  #main-container #content #card-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0 40px 40px 40px;
  }
  #main-container #content .card {
    width: calc(50% - 20px);
    height: 600px;
    padding: 40px;
    margin: 0 0 40px 0;
    box-sizing: border-box;
  }
  #main-container #content .card:nth-child(2) {
    margin-right: 40px;
  }
  #main-container #content .card:nth-child(3n+1) {
    width: 100%;
  }
  #main-container footer .footer-container .contact {
    margin-left: 40px;
  }
}
/* Laptop L */
@media screen and (min-width: 1281px) {
  h1 {
    font-size: 4em;
  } /* 64px */
  h2 {
    font-size: 3.5em;
  } /* 56px */
  h3 {
    font-size: 3em;
  } /* 48px */
  h4 {
    font-size: 2.5em;
  } /* 40px */
  h5 {
    font-size: 2em;
  } /* 32px */
  .subtitle {
    font-size: 2.5em;
  } /* 40px */
  .card-label {
    font-size: 1.25em;
  } /* 20px */
  .card-desc {
    width: 50%;
    font-size: 2.5em;
  } /* 40px */
  nav {
    height: 56px;
  }
  nav #primary-logo {
    width: 25px;
    height: 20px;
  }
  nav #nav-container {
    margin: 0 auto;
  }
  header #header-container {
    margin: 0 auto;
    height: 100%;
    text-align: left;
    flex-wrap: nowrap;
    align-items: center;
  }
  header #header-container .subtitle {
    width: 560px;
  }
  header #header-container #header-text {
    align-items: flex-start;
  }
  header #header-container #float {
    margin: 40px 0 0 0;
    height: 600px;
  }
  header #header-container #float video {
    margin: 0 0 0 auto;
  }
  #main-container #content #card-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
  #main-container #content .card {
    width: calc(50% - 20px);
    height: 600px;
    padding: 40px;
    margin: 0 0 40px 0;
    box-sizing: border-box;
  }
  #main-container #content .card:nth-child(2) {
    margin-right: 40px;
  }
  #main-container #content .card:nth-child(3n+1) {
    width: 100%;
  }
  #main-container footer .footer-container .contact {
    margin-left: 0;
  }
}