/* Shared */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: rgb(15, 15, 20);
}

.fade-in {
  filter: blur(15px);
  opacity: 0;
  transition: filter .5s ease-out, opacity .75s ease-out;
}

.fade-in.loaded {
  filter: blur(0px);
  opacity: 1;
}

p {
  font-family: "Roboto Mono", monospace;
  color: #f7f5e6ff;
}

.button {
  font-family: "Roboto Mono", monospace;
  color: #f7f5e6ff;
}

.header-links {
  display: flex;
  align-items: center;
  transform: translateY(.6rem);
}

.header-links .b-icon {
  text-decoration: none;
  color: #f7f5e6ff;
  font-size: 2.5rem;
  transform: translateY(-.35rem);
  padding-right: 10px;
}

.b-icon.git { margin: 0 10px; }

.header-links .b-icon:hover {
  color: #333;
}

.header-links .nav-link:hover {
  color: #333;
}

.header-links .button:hover {
  color: #333;
}

.fa-solid {
  margin-right: 10px;
}

/* Signup */
form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

form label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: normal !important;
}

form input, form select {
  width: 100%;
  margin-bottom: .1rem;
  box-sizing: border-box;
  color: black;
}

form input[name="email"],
form input[name="password"],
form input[name="use_case"],
form input[name="position"],
form input[name="consent"],
form input[name="captcha_1"] {
  background-color: #f7f5e6ff;
}

input[type="password"] {
  letter-spacing: 2px;
}

input[type="checkbox"]#id_consent {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: 400px;
}

form .button {
  display: block;
  margin: 0 auto 2rem auto;
}

.errorlist {
  color: rgb(221, 46, 46);
  list-style: none;
  padding-left: 0;
  font-size: 1.5rem;
}

.messages {
  list-style: none;
  padding: 0;
  font-size: 1.5rem;
}

.messages .success {
  color: rgb(42, 199, 42);
}

.messages .error {
  color: rgb(221, 46, 46);
}

ul.errorlist,
ul.messages {
  margin-bottom: 0.25rem;
}

ul.errorlist li,
ul.messages li {
  margin-bottom: 0.25rem;
}

input.error,
textarea.error,
select.error {
  border: 2px solid rgb(221, 46, 46);
  background-color: #ffe6e6;
}

.captcha {
  display: block;
  margin: 10px auto;
}

/* Hero */
#simu { position: relative; }

#p5canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.company {
  background: linear-gradient(45deg, #822ebe, #007bff);
  color: #f7f5e6ff;
  border-radius: 5px;
  padding: 0px .6rem;
}

.hero-heading::before {
  content: "Turn simulations into decisions";
  background: linear-gradient(45deg, #822ebe, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sol-heading.flush-right {
  background: linear-gradient(45deg, #007bff, #cd10f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sol-heading {
  background: linear-gradient(45deg, #cd10f3, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sec-div-chevron {
  -webkit-text-stroke: 1px #f7f5e6ff;
}

.flush-right {
  text-align: right;
}

.solution-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.solution-list li {
  margin-bottom: -.75em;
  line-height: 1.75;
}

.solution-highlight {
  background: linear-gradient(45deg, #822ebe, #007bff);
  color: #f7f5e6ff;
  border-radius: 5px;
  padding: .1rem .6rem .1rem .6rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-divider { text-align: center; }

.section-divider > p { font-size: 3rem; }

.hdiw-row { margin-top: 2rem; }

.hdiw-img {
  display: block;
  margin: 0 auto 1rem;
  width: 80%;
  height: auto;
}

.hdiw-text { text-align: center; }

/* default */
.container { max-width: 50%; }
.site-header { padding: 2rem 0rem; }
.head-container {
  margin: 0 auto;
  max-width: 55%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 17rem;
  height: auto;
}
.head-container > .button {
  margin-top: 1.5rem; 
}

#text-container {
  padding-top: 10rem;
  padding-bottom: 0rem;
}
p { font-size: 2rem; }
#hero-top { padding-bottom: 2rem; }
#hero-bot { padding-top: 2rem; }
.hero-heading { font-size: 4rem; }

#sol-top, #sol-bot { font-size: 1.75rem; }
.sol-heading { font-size: 3rem; }
.sol-img { width: 100%; }

.row.sol {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.lhiw-cta { text-align: center; }
.lhiw-cta > .twelve.columns > .button { margin-top: 1rem; }

.button {
  font-size: 1.2rem;
  padding: 0rem 1rem;
}

#whitepaper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
#whitepaper > .button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding: 2rem 1.2rem;
  z-index: 1000;
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem auto;
}

.button-container .button {
  margin-right: 1rem;
  margin-left: 1rem;
  margin-bottom: .5rem;
}

.site-footer { margin-top: auto; text-align: center }
.footer-container > p { font-size: 1.5rem; }

/* Smaller than 1750 */
@media (max-width: 1750px) {
  .container { max-width: 55%; }
  .head-container { max-width: 60%; }
}

/* Smaller than 1590 */
@media (max-width: 1590px) {
  .container { max-width: 60%; }
  .head-container { max-width: 64%; }
}

/* Smaller than 1460 */
@media (max-width: 1460px) {
  .container { max-width: 65%; }
  .head-container { max-width: 70%; }
}

/* Smaller than 1350 */
@media (max-width: 1350px) {
  .container { max-width: 70%; }
  .head-container { max-width: 74%; }
}

/* Smaller than 1250 */
@media (max-width: 1250px) {
  .container { max-width: 75%; }
  .head-container { max-width: 79%; }
}

/* Smaller than 1170 */
@media (max-width: 1170px) {
  .container { max-width: 80%; }
  .head-container { max-width: 85%; }
}

/* Smaller than 1100 */
@media (max-width: 1100px) {
  p { font-size: 1.8rem; }
  .hero-heading { font-size: 4rem; }
  .footer-container > p { font-size: 1.3rem; }
  .section-divider > p { font-size: 2.5rem; }
}

/* Smaller than 990 */
@media (max-width: 990px) {
  p { font-size: 1.5rem; }
  .hero-heading { font-size: 3.8rem; }
  .sol-heading { font-size: 2.8rem; }
  #sol-top, #sol-bot { font-size: 1.5rem; }
  .footer-container > p { font-size: 1rem; }
}

/* Smaller than 920 */
@media (max-width: 920px) {
  .hero-heading { font-size: 3.6rem; }
  .sol-heading { font-size: 2.6rem; }
  .header-links .nav-link { margin: 0 1.45em 0 0!important; align-items: center; }
  .logo { width: 16rem; }
}

/* Smaller than 830 */
@media (max-width: 830px) {
  .hero-heading { font-size: 3rem; }
  .sol-heading { font-size: 2rem; }
}

/* portrait */
/* @media (max-aspect-ratio: 1) { */
@media (orientation: portrait) {
  #text-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #outer-text { width: 100%; }
  #simu {
    width: 100%;
    padding-bottom: 3rem;
  }

  #hero-top { padding-bottom: .1rem; margin-bottom: 1rem;}
  #hero-bot { padding-top: .1rem; }
  .hero-heading { margin-bottom: 1rem; }

  #sol-top { margin-bottom: .1rem; }
  #sol-bot { margin-top: .1rem; }
  .sol-heading { margin: .5rem; }

  @media (max-width: 550px) {
    .logo {
      width: 15rem;
      height: auto;
    }

    .header-links { transform: translateY(.4rem); }
    .header-links .b-icon { padding-right: 5px; }
    
    #text-container {
      padding-top: .5rem;
      padding-bottom: 0rem;
    }
    p { font-size: 1.5rem; }
    #hero-top { padding-bottom: .1rem; margin-bottom: .5rem;}
    #hero-bot { padding-top: .1rem; }
    .hero-heading { font-size: 2.5rem; margin-bottom: .5rem; }
    .sol-heading { font-size: 2rem; margin: .25rem }
    #sol-top, #sol-bot { font-size: 1.5rem; }
    .footer-container > p { font-size: .8rem; }
    
    .button {
      font-size: 1rem;
      padding: 0rem 1rem;
    }
    #whitepaper > .button {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      padding: 1rem 1.2rem;
      margin-bottom: 1rem;
    }

    .button-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin: 1rem auto;
    }
  }

  @media (max-width: 395px) {
    .site-header { padding: 1rem 0rem; }
    .logo {
      width: 12rem;
      height: auto;
    }
    
    #text-container {
      padding-top: .5rem;
      padding-bottom: 0rem;
    }
    p { font-size: 1.2rem; }
    #hero-top { padding-bottom: .5rem; }
    #hero-bot { padding-top: .5rem; }
    .hero-heading { font-size: 2rem; }
    .sol-heading { font-size: 2rem; }
    #sol-top, #sol-bot { font-size: 1.2rem; }
    .footer-container > p { font-size: .8rem; }
    
    .button {
      font-size: 1rem;
      padding: 0rem 1rem;
    }
    #whitepaper > .button {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      padding: 1rem 1.2rem;
      margin-bottom: 1rem;
    }
  }

  .row.sol {
    display: flex;
    flex-direction: column;
  }

  .row.sol.flush-right {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .flush-right {
    text-align: left;
  }

  .three.columns, .nine.columns {
    width: 100% !important;
    margin: 0;
    float: none !important;
  }

  .three.columns {
    margin: -15vw auto;
  }

  .sol-img {
    display: block;
    transform: rotate(90deg);
    height: auto;
    width: 30vw;
    margin: 0 auto;
    max-width: none;
  }

  .sol-img.sol-img-flip {
    transform: rotate(-90deg);
  }
}

/* nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 3rem;
  color: #f7f5e6ff;
  cursor: pointer;
  margin-right: 2rem;
}

.header-links .nav-link {
  transform: translateY(-.7rem);
  align-items: center;
  font-family: "Roboto Mono", monospace;
  color: #f7f5e6ff;
  text-decoration: none;
  margin: 0 2.5em 0 0;
  font-size: 1.75rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3000;
  }

  .header-links {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 50vh;
    padding: 2rem 0;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1500;
  }

  .header-links.show {
    display: flex;
  }

  .header-links .nav-link,
  .header-links .b-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 2.5rem;
  }

  .header-links .button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .header-links .b-icon:hover {
    color: #f7f5e6ff;
  }

  .header-links .nav-link:hover {
    color: #f7f5e6ff;
  }

  .header-links .nav-link { margin: 0 1.45em!important; align-items: center; }
  .header-links .b-icon { margin: .5em 0 .75em 0; }
}

.menu-toggle i {
  transition: transform 0.3s ease, rotate 0.3s ease;
}

.menu-toggle.active i {
  transform: rotate(90deg);
}

.menu-toggle.active i {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}


/* Blog */
.blog-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgb(15, 15, 20);
  font-family: "Roboto Mono", monospace;
  color: #f7f5e6ff;
}

.blog-page-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
}

.blog-page-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-page-post {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  max-width: 100%;
}

.blog-page-content {
  flex: 1;
}

.blog-page-post-title {
  margin-top: 0;
  font-size: 2.2rem;
  background: linear-gradient(230deg, #822ebe, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.blog-page-post-date,
.blog-page-post-author,
.blog-page-post-editor {
  margin: 4px 0;
  font-size: 1.75rem;
}

.blog-page-image img {
  max-height: 200px;
  max-width: 200px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.blog-page-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media screen and (max-width: 768px) {
  .blog-page-post {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .blog-page-post-title {
    font-size: 1.75rem;
  }

  .blog-detail-container {
    text-align: left!important;
  }

  .our-thesis { text-align: left!important; }
}

/* blog detail */
.blog-detail-container {
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Roboto Mono", monospace;
  color: #f7f5e6ff;
  line-height: 1.7;
  text-align: justify;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

.title-text {
  background: linear-gradient(45deg, #822ebe, #007bff);
  color: #f7f5e6ff;
  border-radius: 5px;
  padding: .1rem .6rem .1rem .6rem;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: bold;
  font-size: 1.75rem !important;
}

.blog-detail-title .author {
  font-weight: normal;
  font-size: 1.5rem;
}

.blog-detail-container p {
  font-family: "Roboto Mono", monospace;
  color: #f7f5e6ff;
  font-size: 1.6rem;
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
}

.blog-detail-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 2rem;
  background: linear-gradient(230deg, #822ebe, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.blog-detail-list {
  margin: 1rem 0 1rem 2rem;
  list-style-type: decimal;
  padding-left: 1.2rem;
}

.blog-detail-list li::marker {
  font-family: "Roboto Mono", monospace;
  font-size: 1.6rem;
  color: #f7f5e6ff;
}

.blog-detail-list li p {
  display: inline;
  margin: 0;
}

.blog-detail-list-bullets {
  margin: 1rem 0 1rem 2rem;
  list-style-type: disc;
  padding-left: 1.2rem;
}

.blog-detail-list-bullets li {
  margin: 0.4rem 0;
}

.blog-detail-list-bullets li p {
  display: inline;
  margin: 0;
}

.blog-detail-image-block {
  text-align: center;
  margin: 2rem 0;
}

.blog-detail-image-block img {
  max-width: 70%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* about */
.our-thesis { text-align: justify; }

.outer-team-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-img-div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.gradient-circle {
  position: relative;
  width: min(50vw, 230px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(45deg, #007bff, #cd10f3);
  padding: 7px;
  box-sizing: border-box;
}

.gradient-circle img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: rgb(15, 15, 20);
}

.about-text-container {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.about-text-container p {
  margin: 0;
  line-height: 2;
}

.about-li-icon {
  text-decoration: none;
  color: #f7f5e6ff;
  font-size: 2.5rem;
}

.about-li-icon:hover {
  color: #333;
}

/* faq */
.faq-video-block {
  text-align: center;
  margin: 2rem 0;
}

.faq-video-block video {
  width: 500px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgb(30,30,40);
}
