:root {
  --coreblue: #211d53;
  --lightgray: #e8ecf2;
  --mediumgray: #d3dae6;
  --backgroundgray: #f6f7fa;
  --blue1: #c2e5f9;
  --blue2: #94c5e8;
  --blue3: #5090c9;
  --blue4: #0e69a7;
  --blue5: #074784;
  --blue6: #022851;
  --yellow1: #ffefbe;
  --yellow2: #f4d685;
  --yellow3: #e7bf52;
  --yellow4: #c49434;
  --yellow5: #906d22;
  --yellow6: #604b19;
  --red1: #f8c9c8;
  --red2: #e99b9e;
  --red3: #d75e5e;
  --red4: #c0383b;
  --red5: #902426;
  --red6: #681918;
}

@font-face {
  font-family: "Raleway";
  src: url("/static/Raleway-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "DREAMS";
  src: url("/static/DREAMS.ttf") format("truetype");
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.main-container {
  display: flex;
  flex: 1;
  margin-left: 280px;
  z-index: 1;
  background: var(--backgroundgray);
}

#sidenav-placeholder {
  position: fixed;
  background-color: white;
  top: 56px;
  left: 0;
  height: calc(100vh - 56px);
  overflow-y: auto;
  color: black;
  flex-shrink: 0;
  width: 280px;
  padding: 32px;
  box-shadow: 0px 4px 4px rgba(33, 31, 82, 0.15);
  z-index: 999; /* Ensure it's above content */
}

.page-content {
  /* background: no-repeat top left
    radial-gradient(
      at top left,
      rgba(44, 83, 131, 0.2) 0%,
      rgba(44, 83, 131, 0) 70%
    ); */
  margin: 24px;
  flex-grow: 1;
}

.page-content > main {
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
}

.main-container > main {
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
}

.code-container {
  background-color: black;
  color: black;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: monospace;
}

/* Homepage */
/* .homepage_main {
  margin: 24px;
} */

.homepage_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.homepage_card_container {
  border-radius: 8px;
  background-color: white;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
}

.homepage_card {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.homepage_card h2 {
  margin: 0;
}

.homepage_gradient_container {
  position: absolute;
  bottom: 18px;
  right: 18px;
  padding: 4px;
  border-radius: 8px;
  background: linear-gradient(to right, #5090c9, #d75e5e, #e7bf52);
  display: inline-block;
  cursor: pointer;
}

.homepage_gradient_button {
  background-color: var(--lightgray);
  color: black !important;
  padding: 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.homepage_gradient_container:hover .homepage_gradient_button {
  background-color: transparent;
  color: #fff !important;
}

/* End of Homepage */

/* Finance planning */

.about-us-finance-simulation {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

/* Finance planning end */

.code-line {
  display: block;
  white-space: nowrap;
}
.card-content {
  display: none;
}

.card-content.active {
  display: block;
}

.about-us-card {
  padding: 26px !important;
  padding-top: 20px !important;
  margin-top: 0px !important;
  border-radius: 0 8px 8px 8px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  background-color: white !important;
  gap: 0px !important;
}

.live-card {
  padding: 26px !important;
  padding-top: 20px !important;
  margin-top: 0px !important;
  border-radius: 0 8px 8px 8px !important;
  /* display: grid !important; */
  background-color: white !important;
  gap: 24x !important;
}

.about-us-div {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 18px;
}

.about-us-div-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-us-div-right {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr;
}

.about-us-uas-movie {
  display: block;
  margin: 24px auto 0;
  max-width: 100%;
  height: auto;
}

* {
  font-family: "Raleway", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: black;
  background-color: white;
}

#landing_chart {
  margin-top: 30px;
  background-color: white;
}

#landing_chart .apexcharts-marker {
  color: inherit;
  /* filter: drop-shadow(0 0 2px currentColor); */
}

.apexcharts-legend-marker {
  filter: none !important;
  box-shadow: none !important;
  background: white !important;
}

.gradient-text {
  max-width: 90%;
  font-size: clamp(48px, 5.2vw, 96px);
  background: linear-gradient(
    to right,
    var(--blue3),
    var(--red3),
    var(--yellow3)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* PROGRESS BARS */
.progress-container {
  width: 100%;
  height: 30px;
  background-color: var(--lightgray);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 4px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #5090c9;
  transition: width 0.5s;
}

.progress-bar-red {
  height: 100%;
  width: 0%;
  background-color: #d75e5e;
  transition: width 0.5s;
}

.progress-div {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  margin-bottom: 12px;
}

.header_link {
  font-family: "Raleway", sans-serif;
  /* font-weight: 500; */
  font-size: 14px;
  color: #211d53;
  text-decoration: none;
}

#header-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header {
  display: flex;
  flex-wrap: nowrap;
  height: 56px;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 24px;
  box-shadow: 0px 4px 8px rgba(33, 31, 82, 0.15);
  background-color: white;
}

/* The main container for the search elements */
#search_container {
  display: flex;
  height: 47px;
  align-items: center;
  background-color: #e8ecf2;
  border-radius: 8px;
  padding: 5px;
  transition: background-color 0.4s ease;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#search_button {
  background: none;
  border: none;
  padding: 0;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 47px;
  flex-shrink: 0;
  transition: width 0.4s ease-in-out, padding 0.4s ease-in-out,
    opacity 0.4s 0.2s ease-in-out;
}

#search_button img {
  width: 24px;
  height: 24px;
}

#search_container:hover {
  background-color: #e1e5eb;
}

/* The search input field */
#search_input {
  width: 340px;
  max-width: 0;
  opacity: 0;
  padding-left: 0;
  padding-right: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 16px;
  font: inherit;
  transition: max-width 0.4s ease-in-out, padding 0.4s ease-in-out,
    opacity 0.4s ease-in-out;
}

/* Search is open */
#search_container.open #search_input {
  max-width: 500px;
  padding: 8.5px 14px;
  opacity: 1;
}

.page_content {
  background: red;
}

footer {
  color: black;
  background: #e8ecf2;
  padding: 36px;
  z-index: 5;
}

.card {
  /* outline: 1px white solid; */
  margin-top: 24px;
  margin-bottom: 24px;
  /* margin-left: 5%; */
  /* margin-right: 5%; */
  padding: 16px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
  display: grid;
  grid-template-columns: 1fr 3fr;
  justify-content: space-around;
  flex-direction: row;
  gap: 16px;
}

.selector {
  margin-top: 24px;
  /* margin-left: 5%; */
  /* margin-right: 5%; */
  width: 25%;
  min-width: 520px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 8px 8px 0 0;
  background-color: white;
  color: black;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
  display: flex;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-around;
  gap: 8px;
  border-bottom: 1px #e6e0e9 solid;
  overflow: auto;
  text-wrap: nowrap;
}

/* Legend for Mission Planning Map */
.legend {
  padding: 10px 10px;
  font: 14px Arial, Helvetica, sans-serif;
  background: #d3dae6e5;
  border-radius: 5px;
  line-height: 20px;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
  outline: 1px black solid;
  overflow-y: auto;
  max-height: 60vh;
}
.legend h4 {
  text-align: center;
  margin-bottom: 8px;
  margin-top: 0;
}
.legend h5 {
  margin-bottom: 8px;
  margin-top: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.legend i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  float: left;
  margin-right: 8px;
  margin-top: 0px;

  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.legend span {
  display: inline-block;
  vertical-align: middle;
  line-height: 28px;
}

/* Custom scrollbar for webkit browsers */
.legend::-webkit-scrollbar {
  width: 10px;
}
.legend::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.legend::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
.legend::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.logo {
  cursor: pointer;
  margin-right: auto;
  height: 40px;
  width: auto;
}

.nav_links {
  white-space: nowrap;
  list-style: none;
  list-style-type: none;
}

.nav_links li {
  display: inline-block;
  padding: 0px 16px;
}

.nav_links li a {
  transition: all 0.3s ease 0s;
}

.nav_selected {
  position: relative;
  display: inline-block;
  padding-bottom: 25px;
}

.nav_selected::after {
  content: "";
  position: absolute;
  left: 12.5%;
  bottom: 0;
  top: 33px;
  width: 75%;
  height: 4px;
  background-color: #211d53;
  border-radius: 8px 8px 0 0;
}

/* LEFT AND RIGHT INTERFACE */

.live_demo_left {
  padding: 24px;
  border-radius: 8px;
  color: black;
  background-color: #f6f7fa;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
  display: flex;
  flex-direction: column;
  flex: 1;
  grid-column: 1;
  min-width: 250px;
}

.live_demo_right {
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  grid-column: 2;
  overflow: hidden;
}

.landing-section {
  background-color: #f6f7fa;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.landing-box {
  /* outline: 1px white solid; */
  height: 150px;
  width: 100%;
  padding: 12px;
  border-radius: 8px 8px 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.landing-name {
  border-radius: 0px 0px 8px 8px;
  color: black;
  background-color: white;
  padding: 4px;
  font-weight: 600;
  text-align: center;
}

.options {
  margin-top: 8px;
  margin-bottom: 8px;
}

.uas-section-content {
  max-height: 1000px;
  transition: max-height 0.4s ease-in-out;
  overflow: hidden;
}

#uas-results {
  display: flex;
  justify-content: space-between;
}

.uas-section-content.uas-content-collapsed {
  max-height: 0;
}

.uas-section {
  padding: 24px;
  border-radius: 8px;
  color: black;
  background-color: #f6f7fa;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
}

.chart {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.boost_section {
  padding: 8px;
}

.boost_section:first-child {
  padding-right: 18px;
  border-right: 1px solid #ccc;
}

/* ACCORDION */

.faqs-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background-color: var(--backgroundgray);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #374151;
  transition: background-color 0.2s ease-in-out;
}

.faq-question:hover {
  background-color: var(--lightgray);
}

details > summary::-webkit-details-marker {
  display: none;
}

.arrow-icon {
  height: 1.25rem;
  width: 1.25rem;
  color: #6b7280;
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}

.faq-item[open] .arrow-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.25rem 1.25rem;
  color: #4b5563;
  border-top: 1px solid #e5e7eb;
}

.faq-answer:hover {
  background-color: var(--lightgray);
}

/* BUTTONS */

.button-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  white-space: nowrap;
  padding: 10px 24px;
  background-color: #211d53;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  margin-left: 26px;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  max-width: 110px;
  font-size: 14px;
  font-weight: 400;
}

.button-reset {
  height: 48px;
  margin-top: auto;
  padding: 10px 24px;
  white-space: nowrap;
  background-color: hsl(218, 28%, 86%);
  background-color: #e8ecf2;
  color: black;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  text-align: left;
}

.uas-button-reset {
  height: 68px;
  /* margin-top: auto; */
  padding: 10px 24px;
  white-space: nowrap;
  background-color: hsl(218, 28%, 86%);
  background-color: var(--mediumgray);
  color: black;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease 0s;
  text-align: left;
}
.uas-button-reset:hover {
  height: 70px;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
}

.uas-button-submit {
  height: 68px;
  padding: 10px 24px;
  white-space: nowrap;
  background-color: #d3dae6;
  color: black;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease 0s;
  /* box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2); */
  text-align: left;
}
.uas-button-submit:hover {
  height: 70px;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.button-submit {
  height: 48px;
  margin-top: auto;
  padding: 10px 24px;
  white-space: nowrap;
  /* background-color: #e8ecf2; */
  background-color: #d3dae6;
  color: black;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.button-try-demo {
  height: 60px;
  width: 100%;
  margin-top: auto;
  padding: 10px 24px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 18px;
  background: linear-gradient(to right, #5090c9, #d75e5e, #f4d685);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.button-try-demo:hover {
  background: linear-gradient(to right, #447fb2, #c25151, #e2c77b);
}

.button-expand {
  height: auto;
  padding: 8px 16px;
  background-color: transparent;
  color: #212d53;
  white-space: nowrap;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: none;
  text-align: left;
  font-weight: bold;
}

.button-expand:hover {
  background-color: #f0f0f0;
}

.button-contact:hover {
  opacity: 0.8;
}
.button-reset:hover {
  background-color: rgb(193, 199, 210);
}
.button-submit:hover {
  background-color: #b7bcc2;
}

.button-about {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin-top: auto;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 18px;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
  text-align: center;
  background: linear-gradient(to right, #5090c9, #94c5e8);
}

.button-about.disabled {
  cursor: not-allowed;
  background: linear-gradient(to right, #c8cbcd, #e5e8ea);
  opacity: 0.8;
  pointer-events: none;
}

.selector-button {
  display: inline-block;
  position: relative;
  padding: 20px 20px;
  cursor: pointer;
  overflow: hidden;
  font-weight: 600;
}

.selector-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: var(--blue4);
  visibility: hidden;
  transition: visibility 0s, opacity 0.3s linear;
  white-space: nowrap;
  border-radius: 4px 4px 4px 4px;
}

.selector-button.button-active::after {
  visibility: visible;
  opacity: 1;
}

.selector-button.button-active {
  color: var(--blue4) !important;
}

/* TABLES */

.boost-table {
  width: 100%;
  border-collapse: collapse;
  color: black;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  /* outline: 1px white solid; */
  margin-bottom: 4px;
}

.boost-table th,
.boost-table td {
  padding: 8px 12px;
  text-align: left;
}

.boost-table th {
  background-color: #2e2e39;
  color: black;
}

.boost-table tr:nth-child(even) {
  background-color: #2e2e39;
  color: black;
}

.boost-table tr:hover {
  background-color: #141414;
}

select {
  background-color: white;
  color: black;
}

/* HTML: <div class="loader"></div> */
.loader {
  position: relative;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: none;
  width: 75px;
  aspect-ratio: 2;
  --_g: no-repeat
    radial-gradient(circle closest-side, rgb(33, 29, 83, 1) 90%, #ffffffcf);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%;
  }
  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%;
  }
  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%;
  }
  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%;
  }
}

#queue-status.demo-portfolio-optimization {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  text-align: center;
}

/* HTML: <div class="loader_portfolio"></div> */
.loader_portfolio {
  position: absolute;
  left: 50%;
  top: 45%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 60px;
  height: 30px;
  aspect-ratio: 2;
  display: none;
  z-index: 10;
}
.loader_portfolio:before,
.loader_portfolio:after {
  content: "";
  grid-area: 1/1;
  --c: no-repeat linear-gradient(var(--blue3) 0 0);
  background: var(--c), var(--c), var(--c);
  animation: l14-1 1s infinite linear, l14-2 1s infinite linear;
}
.loader_portfolio:after {
  transform: scale(-1);
}
@keyframes l14-1 {
  0%,
  3% {
    background-size: 0 4px, 4px 0, 0 4px;
  }
  16.67% {
    background-size: calc(50% - 6px) 4px, 4px 0, 0 4px;
  }
  33.33% {
    background-size: calc(50% - 6px) 4px, 4px 14px, 0 4px;
  }
  46%,
  54% {
    background-size: calc(50% - 6px) 4px, 4px 14px, calc(50% + 6px) 4px;
  }
  66.67% {
    background-size: 0 4px, 4px 14px, calc(50% + 6px) 4px;
  }
  83.33% {
    background-size: 0 4px, 4px 0, calc(50% + 6px) 4px;
  }
  96%,
  100% {
    background-size: 0 4px, 4px 0, 0 4px;
  }
}
@keyframes l14-2 {
  0%,
  49.9% {
    background-position: 0 50%, left calc(50% - 6px) bottom 13px,
      left 24px top 3px;
  }
  50%,
  100% {
    background-position: right 36px top 50%, left calc(50% - 6px) top 3px,
      right 0 top 3px;
  }
}

/* Skeleton Loader */
#loader_qml {
  margin: 18px;
  display: none;
}

.br {
  border-radius: 8px;
}
.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 90%);
  }
  100% {
    background-color: hsl(200, 20%, 95%);
  }
}

.skeleton_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.skeleton {
  background-color: var(--lightgray);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--mediumgray),
    transparent 100%
  );
  background-size: 200% 100%;
  background-position-x: -100%;
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  to {
    background-position-x: 100%;
  }
}

/* End of Skeleton */

input {
  width: 100%;
  height: 36px;
  padding-left: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* PYTHON CODE */
pre {
  background-color: #000000;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}
code {
  font-family: "Roboto Mono", Consolas, Monaco, "Andale Mono", "Ubuntu Mono",
    monospace !important;
  color: #ffffff;
}

/* LEAFLET */
#map {
  z-index: 1;
  height: 100%;
  width: 100%;
  border-radius: 8px;
}

.map-container {
  z-index: -2;
  width: 100%;
  height: auto;
  position: relative;
}

.leaflet-dragging {
  cursor: default;
}

.leaflet-dragging .leaflet-grab {
  cursor: move;
}

.leaflet-container {
  background-color: rgb(255, 255, 255) !important;
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
}

.live_demo_right_uas {
  height: 60vh;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 2;
  overflow: hidden;
  position: relative;
  outline: 1px var(--mediumgray) solid;
}
/* QML Data Box */
.data-container {
  margin-top: 12px;
  gap: 12px;
}
.data-top {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 4;
  flex-basis: auto;
  gap: 8px;
}
.data-top-small {
  height: 150px;
  width: auto;
  background-color: var(--red3);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.data-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.data-top-small {
  flex-basis: calc(50% - 4px);
  flex-grow: 1;
  background-color: var(--red3);
}

.data-bottom {
  /* border-radius: 8px; */
  height: 200px;
  width: auto;
  background-color: var(--red3);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.center-text {
  color: white !important;
  font-size: clamp(24px, 4vw, 60px);
  z-index: 1;
  padding-bottom: 12px;
  margin: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-text {
  color: white !important;
  position: absolute;
  bottom: 8px;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.data-top-small::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 80%
  );
  pointer-events: none;
}
.data-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 80%
  );
  pointer-events: none;
}

/* CSS for Modal */
.modal-bubble {
  position: absolute;
  display: none;
  z-index: 999;
}

.modal-content {
  position: relative;
  background-color: white;
  color: black;
  padding: 16px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  min-width: 150px;
  max-width: 300px;
  width: 100%;
}

.close-modal {
  position: absolute;
  top: 6px !important;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  font-weight: 500;
}

.info-icon {
  font-size: 18px;
  cursor: pointer;
}

.modal-content::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid white;
}

/* New Modal Items */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-box {
  /* outline: 1px white solid; */
  color: black;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-right: 10px;
}

.modal-content-row-use-case {
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 20px;
  margin-right: 10px;
}

/* .modal-use-case-image {
  flex: 1 1 300px;
  min-width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 18px;
} */

.modal-use-case-image {
  width: 100%;
  max-width: 140px;
  height: auto;
  align-self: center;
}

.modal-use-case-text {
  flex: 2 1 300px;
  min-width: 250px;
  line-height: 1.6;
  color: black;
  /* margin-top: 18px; */
}

.left-column img {
  width: 75%;
}

.right-column {
  flex: 1;
  min-width: 200px;
}
.right-column img {
  width: 75%;
}

.red {
  color: #e99b9e;
  font-weight: 600;
}

.blue {
  color: #94c5e8;
  font-weight: 600;
}

/* Mission Planning */
.mission_planning_card {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 16px;
  background-color: white;
  /* outline: 1px white solid; */
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
.mission_planning_card_left {
  border-right: 1px black solid;
}

.zone-tooltip {
  font-weight: bold;
  font-size: 1.5em;
  white-space: nowrap;
}

.leaflet-tooltip.zone-tooltip {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  line-height: 1;
}

.leaflet-tooltip.zone-tooltip.leaflet-tooltip-top:before,
.leaflet-tooltip.zone-tooltip.leaflet-tooltip-bottom:before,
.leaflet-tooltip.zone-tooltip.leaflet-tooltip-left:before,
.leaflet-tooltip.zone-tooltip.leaflet-tooltip-right:before {
  border-color: transparent !important;
}

.mission_planning_card {
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  background-color: #333;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.mission_planning_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mission_planning_card.button-active {
  border: 1px solid #c2e5f9;
  background-color: var(--lightgray);
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.mission_planning_card.disabled,
.button-submit.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

.button-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mission Planning World Q Description */
.review_box {
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 24px;
}

ul,
ol {
  margin-left: 24px;
  list-style-position: inside;
}
/* Container div for centering and background */
.review_button {
  border: none;
  border-radius: 8px;
  background: var(--gradient);
}
.review_button {
  position: relative;
  z-index: 1;
  height: 48px;
  margin-top: auto;
  padding: 10px 24px;
  background-color: #e8ecf2;
  color: black;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
  text-align: left;
}
.review_button::before {
  content: "";
  position: absolute;
  inset: 0.15em;
  /* background-color: black; */
  z-index: -1;
}

.mission_planning_border_gradient {
  border: 10px solid;
  border-radius: 8px;
  border-image-slice: 1;
  border-width: 4px;
  border-image-source: linear-gradient(to right, #5090c9, #d75e5e, #e7bf52);
}
.mission_planning_gradient_container {
  width: 100%;
  position: relative;
  padding: 4px;
  border-radius: 8px;
  background: linear-gradient(to right, #5090c9, #d75e5e, #e7bf52);
  display: inline-block;
  cursor: pointer;
}

.mission_planning_gradient_button {
  background-color: var(--lightgray);
  padding: 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.mission_planning_gradient_container:hover .mission_planning_gradient_button {
  background-color: transparent;
  color: #fff;
}

.mission_planning_gradient_button_white {
  color: black;
  background-color: var(--lightgray);
  padding: 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.mission_planning_gradient_container:hover
  .mission_planning_gradient_button_white {
  background-color: transparent;
  color: #fff;
}

#mission_planning_run_button.disabled {
  /* background: black; */
  cursor: not-allowed;
  opacity: 0.2;
  pointer-events: none;
}

#mission_planning_reset_button.disabled {
  /* background: black; */
  cursor: not-allowed;
  opacity: 0.2;
  pointer-events: none;
}

.mission_planning_unit {
  animation: pulsate 2s ease-out;
  animation-iteration-count: infinite;
  -webkit-animation: pulsate 2s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0.25;
}

@keyframes pulsate {
  0% {
    transform: opacity(1);
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: opacity(0);
  }
}

.mission_planning_location {
  /* Add styling to locations here if needed */
}

.leaflet-pane .zone-circle {
  cursor: default;
}

.demo_container {
  position: relative;
}

.loader_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: none;
}

/* UAS Loader */
.loader_uas {
  display: flex;
  z-index: 10;
  width: 4px;
  color: black;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 19px -19px 0 0px, 38px -19px 0 0px, 57px -19px 0 0px, 19px 0 0 5px,
    38px 0 0 5px, 57px 0 0 5px, 19px 19px 0 0px, 38px 19px 0 0px,
    57px 19px 0 0px;
  transform: translateX(-38px);
  animation: uas_animation 2s infinite linear;
}
@keyframes uas_animation {
  12.5% {
    box-shadow: 19px -19px 0 0px, 38px -19px 0 0px, 57px -19px 0 5px,
      19px 0 0 5px, 38px 0 0 0px, 57px 0 0 5px, 19px 19px 0 0px, 38px 19px 0 0px,
      57px 19px 0 0px;
  }
  25% {
    box-shadow: 19px -19px 0 5px, 38px -19px 0 0px, 57px -19px 0 5px,
      19px 0 0 0px, 38px 0 0 0px, 57px 0 0 0px, 19px 19px 0 0px, 38px 19px 0 5px,
      57px 19px 0 0px;
  }
  50% {
    box-shadow: 19px -19px 0 5px, 38px -19px 0 5px, 57px -19px 0 0px,
      19px 0 0 0px, 38px 0 0 0px, 57px 0 0 0px, 19px 19px 0 0px, 38px 19px 0 0px,
      57px 19px 0 5px;
  }
  62.5% {
    box-shadow: 19px -19px 0 0px, 38px -19px 0 0px, 57px -19px 0 0px,
      19px 0 0 5px, 38px 0 0 0px, 57px 0 0 0px, 19px 19px 0 0px, 38px 19px 0 5px,
      57px 19px 0 5px;
  }
  75% {
    box-shadow: 19px -19px 0 0px, 38px -19px 0 5px, 57px -19px 0 0px,
      19px 0 0 0px, 38px 0 0 0px, 57px 0 0 5px, 19px 19px 0 0px, 38px 19px 0 0px,
      57px 19px 0 5px;
  }
  87.5% {
    box-shadow: 19px -19px 0 0px, 38px -19px 0 5px, 57px -19px 0 0px,
      19px 0 0 0px, 38px 0 0 5px, 57px 0 0 0px, 19px 19px 0 5px, 38px 19px 0 0px,
      57px 19px 0 0px;
  }
}

/* LOADER / SPINNER */
#spinner-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1000;
  gap: 48px;
  display: none;
}

#spinner-text {
  font-size: larger;
}
/* Spinner CSS */
.loader2 {
  transform: rotateZ(45deg);
  perspective: 1000px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #5090c9;
}
.loader2:before,
.loader2:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  transform: rotateX(70deg);
  animation: 1s spin linear infinite;
}
.loader2:after {
  color: #d75e5e;
  transform: rotateY(70deg);
  animation-delay: 0.4s;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateZ(360deg);
  }
}

@keyframes rotateccw {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes spin {
  0%,
  100% {
    box-shadow: 0.2em 0px 0 0px currentcolor;
  }
  12% {
    box-shadow: 0.2em 0.2em 0 0 currentcolor;
  }
  25% {
    box-shadow: 0 0.2em 0 0px currentcolor;
  }
  37% {
    box-shadow: -0.2em 0.2em 0 0 currentcolor;
  }
  50% {
    box-shadow: -0.2em 0 0 0 currentcolor;
  }
  62% {
    box-shadow: -0.2em -0.2em 0 0 currentcolor;
  }
  75% {
    box-shadow: 0px -0.2em 0 0 currentcolor;
  }
  87% {
    box-shadow: 0.2em -0.2em 0 0 currentcolor;
  }
}

/* MONTE CARLO */

h1#title {
  outline: 2px red dotted !important;
  font-size: 5em;
  background: linear-gradient(45deg, #5090c9, #d75e5e, #e7bf52);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: inline-block;
}
div.demo-area {
  /* margin: 24px 0; */
  border-radius: 0 8px 8px 8px;
  box-shadow: 4px 4px 10px rgba(33, 29, 83, 0.15);
  background: var(--backgroundgray);
  padding: 24px;
  display: block;
  float: left;
  width: calc(100% - 40px);
  border: 1px solid white;
}
/* div.input-container {
  display: block;
  float: left;
  background: var(--backgroundgray);
  width: 240px;
  padding: 23px;
  border-radius: 8px;
  box-shadow: 4px 4px 10px rgba(33, 29, 83, 0.15);
  border: 1px solid white;
} */

div.inputs {
  position: relative;
}
div.results-container {
  float: left;
  display: block;
  margin: 0px;
  padding: 0px;
  margin-top: 0;
  padding-top: 0;
  /* width: calc(100% - 368px); */
}
div#results {
  margin-bottom: 12px;
}
.results-container-portfolio-optimization {
  position: relative;
}
#myChart {
  background: white;
}
div.header {
  width: 100%;
  background: white;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: 4px 4px 10px rgba(33, 29, 83, 0.15);
  border-bottom: 1px solid white;
}
#logo {
  width: 120px;
  margin: 8px;
  margin-left: 48px;
}
div.examples {
  width: 240px;
  height: 240px;
  background: white;
  margin: 16px;
  float: left;
  border-radius: 8px;
  box-shadow: 4px 4px 10px rgba(33, 29, 83, 0.15);
}
hr.break {
  width: 100%;
  margin-top: 24px;
}
/* canvas {
  background: #F6F3ED;
	padding: 12px;
	width:calc(100% - 40px);
} */

.slider-value {
  position: absolute;
  top: 34px;
  background: #5090c9;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
}

.tab-container {
  display: flex;
  border-bottom: 2px solid #ccc;
  background-color: var(--backgroundgray);
  width: 400px;
  color: white;
  border: 1px solid white;
  border-radius: 8px 8px 0 0;
}

.tab {
  flex: 1;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 8px 8px 0 0;
  color: white;
  padding: 24px 32px;
}

.tab:hover {
  background-color: var(--backgroundgray);
}

.tab.active {
  border-bottom: 4px solid #d75e5e;
  font-weight: bold;
  background-color: var(--backgroundgray);
  color: #d75e5e;
}

.tab-content {
  display: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

.about-area {
  max-width: 30%;
  float: left;
  position: relative;
  z-index: 1;
}

.graphic-area {
  width: 60%;
  float: left;
  display: flex;
  justify-content: center;
  margin: 24px;
}
img#monte {
  max-width: 1200px;
  margin: auto;
}

/* Sidebar and Header Navigation */
/* Hamburger Menu */
.hamburger-button {
  display: none; /* Hidden by default */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-button .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--coreblue);
  transition: all 0.3s ease-in-out;
}

.mobile-nav {
  margin-top: 56px;
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 336px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  flex-direction: column;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.1s ease-in-out, visibility 0.4s;
  visibility: hidden;
}

.mobile-nav.is-open {
  display: none;
  padding: 24px;
  transform: translateX(0);
  visibility: visible;
}

/* Custom rule to hide QCi logo and Sidebar button if lower than 1320px */
@media (max-width: 1320px) {
  header.search-active > .logo,
  header.search-active > .sidebar-button {
    visibility: hidden;
    display: none;
    opacity: 0;
    width: 0;
    padding: 0;
  }
}

@media (max-width: 1199px) {
  .mobile-nav {
    margin-top: 56px;
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 336px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    z-index: 1000;
  }

  .mobile-nav.is-open {
    display: flex;
    padding: 24px;
    transform: translateX(0);
    visibility: visible;
  }

  #search_input {
    width: 1000px !important;
    /* max-width: 100%; */
  }

  #search_container.open #search_input {
    max-width: 1000px;
  }
}

@media (max-width: 599px) {
  .mobile-nav {
    margin-top: 56px;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    z-index: 1000;
  }

  .mobile-nav.is-open {
    display: flex;
    padding: 24px;
  }
}

.mobile-nav .nav_links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mobile-nav .nav_links li {
  padding: 16px;
  width: 100%;
  /* text-align: center; */
}

.mobile-nav .header_link {
  font-size: 14px !important;
  color: black !important;
  /* font-weight: 600; */
}

.mobile-nav .nav_selected::after {
  display: none;
}

.mobile-nav .button-contact {
  max-width: 100%;
  margin-top: 16px;
  margin-left: 0;
  /* transform: scale(1.2); */
}

/* Sidebar Menu */
.sidebar-item.active {
  background-color: #eeeeee;
}

.active-link {
  background-color: #e9e9e9;
  border-radius: 4px;
}

.sidebar-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  margin-right: 24px;
}

.sidebar-button .bar {
  display: block;
  width: 17px;
  height: 2px;
  margin: 3px auto;
  background-color: var(--coreblue);
  transition: all 0.3s ease-in-out;
}

.sidebar-nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: lab(100% 0.01 -0.01 / 0.95);
  flex-direction: column;
  margin-top: 56px;
  z-index: 1000;
  padding: 0px 32px;
  transform: translateX(-100%);
  transition: transform 0.1s ease-in-out, visibility 0.4s;
  visibility: hidden;
}

.sidebar-nav.is-open {
  display: none;
}

@media (max-width: 1199px) {
  .sidebar-nav.is-open {
    display: flex;
    transform: translateX(0);
    visibility: visible;
  }
}

.sidebar-nav .nav_links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sidebar-nav .nav_links li {
  padding: 8px 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* text-align: center; */
}

.sidebar-nav .nav_links a {
  padding: 10px 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: black;
  /* text-align: center; */
}

.sidebar-nav .header_link {
  font-size: 14px;
  font-weight: 400;
  /* padding: 20px; */
}

.sidebar-nav .nav_selected::after {
  display: none;
}

.sidebar-nav .button-contact {
  margin-top: 30px;
  margin-left: 0;
  transform: scale(1.2);
}

/* Sidebar */

aside {
  margin: -32px;
}

aside h2 {
  margin: 16px 0px;
  padding: 0px 32px;
}

.sidebar-items {
  display: flex;
  flex-direction: column;
}

.sidebar-item {
  display: flex;
  padding: 8px 16px 8px 32px;
  justify-content: space-between;
}

a.sidebar-item {
  text-decoration: none;
  font-size: 14px;
  color: black; /* Set a default link color */
}

.sidebar-item.active {
  background-color: rgba(33, 29, 83, 0.08);
}

.sidebar-item:hover {
  background-color: var(--backgroundgray);
}

.sidebar-item.active:hover {
  background-color: rgba(24, 21, 64, 0.189);
}

.sidebar-demo span {
  margin-left: 16px;
}

/* MEDIUM SCREEN SIZE */
@media (max-width: 1199px) {
  .selector {
    /* margin-top: 24px; */
    /* margin-left: 24px; */
    /* margin-right: 24px; */
    width: unset;
    min-width: unset;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 8px 8px 0 0;
    background-color: white;
    color: black;
    box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
    display: flex;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    gap: 8px;
    border-bottom: 1px #e6e0e9 solid;
    overflow: auto;
    text-wrap: nowrap;
  }

  .picture-container {
    grid-template-columns: 1fr 1fr !important;
  }

  .about-us-card {
    width: unset;
    /* margin-right: 24px; */
    /* margin-left: 24px; */
    padding: 26px;
    padding-top: 20px;
    margin-top: 0px;
    border-radius: 0 0 8px 8px !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .live-card {
    width: unset;
    /* margin-right: 24px; */
    /* margin-left: 24px; */
    padding: 26px;
    padding-top: 20px;
    margin-top: 0px;
    border-radius: 0 0 8px 8px !important;
    display: flex !important;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
  }

  .about-us-div {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-us-div-right {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .main-container {
    padding-top: 100px;
    display: flex;
    flex: 1;
    margin-left: unset;
    z-index: 1;
  }

  #sidenav-placeholder {
    display: none;
  }

  .gradient-text {
    font-size: 64px;
  }

  .chart {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .boost_section:first-child {
    padding-right: unset;
    border-right: unset;
  }

  .legend {
    padding: 5px 5px;
    font: 14px Arial, Helvetica, sans-serif;
    background: #d3dae6e5;
    border-radius: 5px;
    line-height: 20px;
    overflow-y: auto;
    max-height: 25vh;
  }
}

/* Mobile Styles */
@media (max-width: 599px) {
  .gradient-text {
    font-size: 48px;
  }

  .picture-container {
    grid-template-columns: 1fr !important;
  }

  .about-us-finance-simulation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-us-uas-movie {
    margin: 0;
  }

  header .nav_links,
  header .button-contact {
    display: none;
  }

  header {
    padding: 8px 16px;
  }

  #header-placeholder {
    transition: top 0.4s ease-in-out;
  }

  #header-placeholder.header-hidden {
    top: -150px;
  }

  .card,
  .modal-content-row,
  .mission_planning_card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .homepage_container {
    grid-template-columns: 1fr;
  }

  .live_demo_left,
  .live_demo_right,
  .about-area,
  .graphic-area {
    grid-column: 1;
    width: 100%;
    float: none;
    max-width: 100%;
    margin: 12px 0;
  }

  .mission_planning_card_left {
    border-right: none;
    border-bottom: 1px #ccc solid;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .results-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  div.demo-area {
    width: 100%;
    padding: 12px;
  }

  h1#title {
    font-size: 12vw;
  }

  body {
    font-size: 16px;
  }

  .card,
  .live_demo_left,
  .live_demo_right {
    padding: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .button-contact {
    margin-left: 0;
  }

  .data-top-small {
    flex-basis: 100%;
  }

  .about-us-div-right {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
  }

  /* Use Case Modal */
  .modal-content-row-use-case {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-use-case-image {
    width: 100px;
    margin: 0 auto;
  }

  .modal-box {
    width: 90vw;
    padding: 20px;
  }

  .selector {
    margin-top: 24px;
    margin-left: unset;
    margin-right: unset;
    width: 100%;
    min-width: unset;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 8px 8px 0 0;
    background-color: white;
    color: black;
    box-shadow: 0px 4px 4px 0 rgba(33, 29, 83, 0.25);
    display: flex;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    gap: 8px;
    border-bottom: 1px #e6e0e9 solid;
    overflow: auto;
    text-wrap: nowrap;
  }

  .legend {
    padding: 5px 5px;
    font: 14px Arial, Helvetica, sans-serif;
    background: #d3dae6e5;
    border-radius: 5px;
    line-height: 20px;
    overflow-y: auto;
    max-height: 15vh;
  }
}

@media (max-width: 1199px) {
  header > nav,
  header > .button-contact {
    display: none;
  }

  /* Show the hamburger button */
  .hamburger-button {
    display: block;
  }

  .sidebar-button {
    display: block;
  }
}

@media (max-width: 1199px) {
  body.sidebar-is-open::before,
  body.mobile-nav-is-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    transition: opacity 0.3s ease-in-out;
  }

  body.sidebar-is-open,
  body.mobile-nav-is-open {
    overflow: hidden;
  }

  .sidebar-button .bar {
    transition: all 0.3s ease-in-out;
  }

  body.sidebar-is-open .sidebar-button .bar:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  body.sidebar-is-open .sidebar-button .bar:nth-child(2) {
    opacity: 0;
  }

  body.sidebar-is-open .sidebar-button .bar:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hamburger-button .close-icon {
    display: none;
  }

  body.mobile-nav-is-open .hamburger-button .hamburger-icon {
    display: none;
  }

  body.mobile-nav-is-open .hamburger-button .close-icon {
    display: block;
  }
}

/* Extremely small width screen */
@media (max-width: 360px) {
  .my_logo {
    display: none;
  }
  .sidebar-button {
    margin-right: 0;
  }
}

/* --- SPECIFIC CONFIGURATIONS --- */
.finance-simulation .range-slider {
  --step: 30; /* Specific step for Finance */
}

.portfolio-optimization .range-slider {
  --step: 1; /* Specific step for Portfolio */
}

/* --- SHARED STYLES --- */
.finance-simulation .range-slider.grad,
.portfolio-optimization .range-slider.grad {
  --progress-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2) inset;
  --progress-fill-shadow: var(--progress-shadow);
  --fill-color: linear-gradient(to right, var(--blue1), var(--blue3));
  --thumb-shadow: 0 0 4px rgba(0, 0, 0, 0.3),
    -3px 9px 9px rgba(255, 255, 255, 0.33) inset,
    -1px 3px 2px rgba(255, 255, 255, 0.33) inset,
    0 0 0 99px var(--primary-color) inset;
}

.finance-simulation .range-slider.grad input:hover,
.portfolio-optimization .range-slider.grad input:hover {
  --thumb-transform: scale(1.2);
}

.finance-simulation .range-slider.grad input:active,
.portfolio-optimization .range-slider.grad input:active {
  --thumb-shadow: inherit;
  --thumb-transform: scale(1);
}

/* --- MAIN SLIDER STYLES --- */
.finance-simulation .range-slider,
.portfolio-optimization .range-slider {
  --primary-color: var(--blue3);
  --value-offset-y: var(--ticks-gap);
  --value-active-color: white;
  --value-background: transparent;
  --value-background-hover: var(--primary-color);
  --value-font: 700 12px/1 Arial;
  --fill-color: var(--primary-color);
  --progress-background: #eee;
  --progress-radius: 20px;
  --track-height: calc(var(--thumb-size) / 2);
  --min-max-font: 12px Arial;
  --min-max-opacity: 0.5;
  --min-max-x-offset: 10%;
  --thumb-size: 22px;
  --thumb-color: white;
  --thumb-shadow: 0 0 3px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 0 99px var(--thumb-color) inset;
  --thumb-shadow-active: 0 0 0 calc(var(--thumb-size) / 4) inset
      var(--thumb-color),
    0 0 0 99px var(--primary-color) inset, 0 0 3px rgba(0, 0, 0, 0.4);
  --thumb-shadow-hover: var(--thumb-shadow);
  --ticks-thickness: 1px;
  --ticks-height: 5px;
  --ticks-gap: var(--ticks-height, 0);
  --ticks-color: silver;
  --step: 1;

  --ticks-count: calc((var(--max) - var(--min)) / var(--step));
  --maxTicksAllowed: 30;
  --too-many-ticks: min(1, max(var(--ticks-count) - var(--maxTicksAllowed), 0));
  --x-step: max(var(--step), var(--too-many-ticks) * (var(--max) - var(--min)));
  --tickInterval: 100/ ((var(--max) - var(--min)) / var(--step)) * var(--tickEvery, 1);
  --tickIntervalPerc: calc(
    (100% - var(--thumb-size)) / ((var(--max) - var(--min)) / var(--x-step)) *
      var(--tickEvery, 1)
  );
  --value-a: clamp(var(--min), var(--value, 0), var(--max));
  --value-b: var(--value, 0);
  --text-value-a: var(--text-value, "");
  --completed-a: calc(
    (var(--value-a) - var(--min)) / (var(--max) - var(--min)) * 100
  );
  --completed-b: calc(
    (var(--value-b) - var(--min)) / (var(--max) - var(--min)) * 100
  );
  --ca: min(var(--completed-a), var(--completed-b));
  --cb: max(var(--completed-a), var(--completed-b));
  --thumbs-too-close: clamp(
    -1,
    1000 * (min(1, max(var(--cb) - var(--ca) - 5, -1)) + 0.001),
    1
  );
  --thumb-close-to-min: min(1, max(var(--ca) - 2, 0));
  --thumb-close-to-max: min(1, max(98 - var(--cb), 0));

  display: inline-block;
  height: max(var(--track-height), var(--thumb-size));
  background: linear-gradient(
      to right,
      var(--ticks-color) var(--ticks-thickness),
      transparent 1px
    )
    repeat-x;
  background-size: var(--tickIntervalPerc) var(--ticks-height);
  background-position-x: calc(
    var(--thumb-size) / 2 - var(--ticks-thickness) / 2
  );
  background-position-y: var(--flip-y, bottom);
  padding-bottom: var(--flip-y, var(--ticks-gap));
  padding-top: calc(var(--flip-y) * var(--ticks-gap));
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 200px;
}

.finance-simulation .range-slider[data-ticks-position="top"],
.portfolio-optimization .range-slider[data-ticks-position="top"] {
  --flip-y: 1;
}

/* --- MIN/MAX TEXTS --- */
.finance-simulation .range-slider::before,
.finance-simulation .range-slider::after,
.portfolio-optimization .range-slider::before,
.portfolio-optimization .range-slider::after {
  --offset: calc(var(--thumb-size) / 2);
  content: counter(x);
  display: var(--show-min-max, block);
  font: var(--min-max-font);
  position: absolute;
  bottom: var(--flip-y, -2.5ch);
  top: calc(-2.5ch * var(--flip-y));
  opacity: clamp(0, var(--at-edge), var(--min-max-opacity));
  transform: translateX(calc(var(--min-max-x-offset) * var(--before, -1) * -1))
    scale(var(--at-edge));
  pointer-events: none;
}

.finance-simulation .range-slider::before,
.portfolio-optimization .range-slider::before {
  --before: 1;
  --at-edge: var(--thumb-close-to-min);
  counter-reset: x var(--min);
  left: var(--offset);
}

.finance-simulation .range-slider::after,
.portfolio-optimization .range-slider::after {
  --at-edge: var(--thumb-close-to-max);
  counter-reset: x var(--max);
  right: var(--offset);
}

/* --- STATIC LABELS --- */
.finance-simulation .range-slider__values,
.portfolio-optimization .range-slider__values {
  position: relative;
  top: 50%;
  line-height: 0;
  text-align: justify;
  width: 100%;
  pointer-events: none;
  margin: 0 auto;
  z-index: 5;
}

.finance-simulation .range-slider__values::after,
.portfolio-optimization .range-slider__values::after {
  content: "";
  width: 100%;
  display: inline-block;
  height: 0;
  background: red;
}

/* --- PROGRESS BAR --- */
.finance-simulation .range-slider__progress,
.portfolio-optimization .range-slider__progress {
  --start-end: calc(var(--thumb-size) / 2);
  --clip-end: calc(100% - (var(--cb)) * 1%);
  --clip-start: calc(var(--ca) * 1%);
  --clip: inset(-20px var(--clip-end) -20px var(--clip-start));
  position: absolute;
  left: var(--start-end);
  right: var(--start-end);
  top: calc(
    var(--ticks-gap) * var(--flip-y, 0) + var(--thumb-size) / 2 -
      var(--track-height) / 2
  );
  height: calc(var(--track-height));
  background: var(--progress-background, #eee);
  pointer-events: none;
  z-index: -1;
  border-radius: var(--progress-radius);
}

.finance-simulation .range-slider__progress::before,
.portfolio-optimization .range-slider__progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  clip-path: var(--clip);
  top: 0;
  bottom: 0;
  background: var(--fill-color, black);
  box-shadow: var(--progress-fill-shadow);
  z-index: 1;
  border-radius: inherit;
}

.finance-simulation .range-slider__progress::after,
.portfolio-optimization .range-slider__progress::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: var(--progress-shadow);
  pointer-events: none;
  border-radius: inherit;
}

/* --- INPUTS --- */
.finance-simulation .range-slider > input,
.portfolio-optimization .range-slider > input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: var(--thumb-size);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: calc(
    50% - max(var(--track-height), var(--thumb-size)) / 2 +
      calc(var(--ticks-gap) / 2 * var(--flip-y, -1))
  );
  cursor: -webkit-grab;
  cursor: grab;
  outline: none;
  background: none;
}

.finance-simulation .range-slider > input:not(:only-of-type),
.portfolio-optimization .range-slider > input:not(:only-of-type) {
  pointer-events: none;
}

.finance-simulation .range-slider > input::-webkit-slider-thumb,
.portfolio-optimization .range-slider > input::-webkit-slider-thumb {
  appearance: none;
  height: var(--thumb-size);
  width: var(--thumb-size);
  transform: var(--thumb-transform);
  border-radius: var(--thumb-radius, 50%);
  background: var(--thumb-color);
  box-shadow: var(--thumb-shadow);
  border: none;
  pointer-events: auto;
  transition: 0.1s;
}

.finance-simulation .range-slider > input::-moz-range-thumb,
.portfolio-optimization .range-slider > input::-moz-range-thumb {
  appearance: none;
  height: var(--thumb-size);
  width: var(--thumb-size);
  transform: var(--thumb-transform);
  border-radius: var(--thumb-radius, 50%);
  background: var(--thumb-color);
  box-shadow: var(--thumb-shadow);
  border: none;
  pointer-events: auto;
  transition: 0.1s;
}

.finance-simulation .range-slider > input::-ms-thumb,
.portfolio-optimization .range-slider > input::-ms-thumb {
  appearance: none;
  height: var(--thumb-size);
  width: var(--thumb-size);
  transform: var(--thumb-transform);
  border-radius: var(--thumb-radius, 50%);
  background: var(--thumb-color);
  box-shadow: var(--thumb-shadow);
  border: none;
  pointer-events: auto;
  transition: 0.1s;
}

.finance-simulation .range-slider > input:hover,
.portfolio-optimization .range-slider > input:hover {
  --thumb-shadow: var(--thumb-shadow-hover);
}

.finance-simulation .range-slider > input:hover + output,
.portfolio-optimization .range-slider > input:hover + output {
  --value-background: var(--value-background-hover);
  --y-offset: -5px;
  color: var(--value-active-color);
  box-shadow: 0 0 0 3px var(--value-background);
}

.finance-simulation .range-slider > input:active,
.portfolio-optimization .range-slider > input:active {
  --thumb-shadow: var(--thumb-shadow-active);
  cursor: grabbing;
  z-index: 2;
}

.finance-simulation .range-slider > input:active + output,
.portfolio-optimization .range-slider > input:active + output {
  transition: 0s;
}

/* --- OUTPUTS --- */
.finance-simulation .range-slider > input:nth-of-type(1),
.portfolio-optimization .range-slider > input:nth-of-type(1) {
  --is-left-most: clamp(0, (var(--value-a) - var(--value-b)) * 99999, 1);
}

.finance-simulation
  .range-slider
  > input:nth-of-type(1)
  + output:not(:only-of-type),
.portfolio-optimization
  .range-slider
  > input:nth-of-type(1)
  + output:not(:only-of-type) {
  --flip: calc(var(--thumbs-too-close) * -1);
}

.finance-simulation .range-slider > input:nth-of-type(1) + output,
.portfolio-optimization .range-slider > input:nth-of-type(1) + output {
  --value: var(--value-a);
  --x-offset: calc(var(--completed-a) * -1%);
}

.finance-simulation .range-slider > input:nth-of-type(1) + output::after,
.portfolio-optimization .range-slider > input:nth-of-type(1) + output::after {
  content: var(--prefix, "") var(--text-value-a) var(--suffix, "");
}

.finance-simulation .range-slider > input:nth-of-type(2),
.portfolio-optimization .range-slider > input:nth-of-type(2) {
  --is-left-most: clamp(0, (var(--value-b) - var(--value-a)) * 99999, 1);
}

.finance-simulation .range-slider > input:nth-of-type(2) + output,
.portfolio-optimization .range-slider > input:nth-of-type(2) + output {
  --value: var(--value-b);
}

.finance-simulation
  .range-slider
  > input:only-of-type
  ~ .range-slider__progress,
.portfolio-optimization
  .range-slider
  > input:only-of-type
  ~ .range-slider__progress {
  --clip-start: 0;
}

.finance-simulation .range-slider > input + output,
.portfolio-optimization .range-slider > input + output {
  --flip: -1;
  --ratio: calc((var(--value) - var(--min)) / (var(--max) - var(--min)));
  --pos: calc(
    (var(--thumb-size) / 2) + (var(--ratio) * (100% - var(--thumb-size)))
  );

  pointer-events: none;
  position: absolute;
  z-index: 5;
  background: var(--value-background);
  border-radius: 10px;
  padding: 2px 4px;
  margin: 0;
  white-space: nowrap;
  left: var(--pos);
  transform: translateX(-50%)
    translateY(
      calc(
        150% * var(--flip) - (var(--y-offset, 0px) + var(--value-offset-y)) *
          var(--flip)
      )
    );

  transition: all 0.12s ease-out, left 0s;
}

.finance-simulation .range-slider > input + output::after,
.portfolio-optimization .range-slider > input + output::after {
  content: var(--prefix, "") var(--text-value-b) var(--suffix, "");
  font: var(--value-font);
}
