@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100;9..40,200;9..40,300;9..40,400;9..40,500;9..40,600;9..40,700;9..40,800;9..40,900;9..40,1000&family=Preahvihear&display=swap');

/* custom.css */
:root {
    --bs-body-font-size: 0.7rem;
    --primary-color: rgb(0, 92, 185);
    --secondary-color: rgb(0, 167, 225);
    --tertiary-color: rgb(220, 240, 255);
    --quaternary-color: rgb(244, 250, 252);
  }
  
  g.mpld3-xaxis{
    visibility: hidden;
  }
  #alignment{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .dropdown-wrapper {
    display: flex;
  }
  
  .dropdown {
    margin-right: 10px; /* Adjust the amount of padding between the dropdowns */
  }

  .loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .documentation-font {
    font-family: 'DM Sans';
    line-height: 1.6;
    font-size: 1.75rem;
    margin-bottom: 100px;
    margin-top: 20px;
  }

  .documentation-main-page {
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
  }

  .documentation-font h1 {
    font-weight: 1000;
    font-size: 4rem;
    padding-bottom: 1.5rem;
    padding-top: 3rem;
  }


  .documentation-font h3 {
    font-weight: 800;
    font-size: 3rem;
  }

  .documentation-font h4 {
    font-weight: 600;
    font-size: 2.5rem;
    padding-bottom: 0.5rem;
    padding-top: 1.0rem;
  }

  .documentation-font h5 {
    font-weight: 600;
    font-size: 2rem;
    padding-bottom: 1.0rem;
    padding-top: 1.0rem;
  }

  p + h4 {
    margin-top: 20px;
  }

  ol + h4 {
    margin-top: 20px;
  }

  ol + h5 {
    margin-top: 20px;
  }

  h3 + h4 {
    margin-top: 20px;
  }

  p + p {
    margin-top: 10px;
  }

  p + ul {
    margin-top: 10px;
  }

  p + ol {
    margin-top: 10px;
  }

  li + li {
    margin-top: 5px;
  }

  h3 + ol {
    margin-top: 10px;
  }

  h3 + p {
    margin-top: 10px;
  }

  ul + p {
    margin-top: 10px;
  }

  ol + p {
    margin-top: 10px;
  }

  /*Bold numbers in ordered lists*/
  ol > li::marker {
    font-weight: bold;
  }

  .blue-border {
        border-top: 2px solid rgb(0, 92, 185);
        margin-top: 10px; /* Optional: Add some padding for better visual separation */
        margin-bottom: 30px;
        margin-left: 40px;
        margin-right: 40px;
  }

  .turquoise-border {
        border-top: 2px solid lightblue;
        margin-top: 30px; /* Optional: Add some padding for better visual separation */
        margin-bottom: 30px;
        margin-left: 40px;
        margin-right: 40px;
  }

  .image-container {
    text-align: center;
    margin: 40px;
}

.image-container img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: auto;
    max-width: 800px;
    max-height: 400px;
    object-fit: contain;
    border: 3px solid lightblue;
    border-radius: 10px; /* Set the border radius for rounded corners */
    padding: 20px; /* Adjust the padding as needed */
}


.next-button {
    padding: 10px 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    margin-right: 40px; 
    float: right;
}

.next-button-top {
  padding: 10px 20px;
  margin-top: 30px;
  margin-bottom: 0px;
  margin-right: 40px; 
  float: right;
}

.back-button {
    padding: 10px 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    margin-left: 10px; 
    float: left;
}

.back-button-top {
  padding: 10px 20px;
  margin-top: 30px;
  margin-bottom: 0px;
  margin-left: 10px; 
  margin-right: 150px;
  float: right;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 20px;
}

.video-container-homepage {
  width: 800px; /* Set the width to 800px */
  max-width: 100%; /* Ensure it doesn't exceed the container's width */
  margin-top: 20px; /* Add margin for spacing */
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
}

.video-container-homepage iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}

.video-container {
  max-width: 900px; /* Set your desired width */
  margin: 0 auto; /* Center the container horizontally */
  padding-bottom: 20px; /* Add padding for spacing */
}

.video-container iframe {
  aspect-ratio: 16 / 9; /* Set the aspect ratio */
  height: auto;
  width: 100%;
}


 .sidebar {
  width: 250px;
  padding: 20px;
  background-color: var(--quaternary-color);
  border: 2px solid var(--tertiary-color);
  border-radius: 8px;
 }

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar a {
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: background-color 0.3s;
}

.faq-container {
  max-width: 1000px; /* Set the maximum width of the container */
  margin: 0 auto 0 0; /* Center the container to the left */
  padding: 20px;
  margin-top: 10px;
}

.nav {
  width: 100%;
  padding: 10px;
}

.main-nav {
  background-color: var(--tertiary-color);
  border: solid 2px #ccc;
  margin-top: 5px;
}

.nav-tabs {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border: none !important;
}

.nav-item {
  margin-right: 10px;
}

.nav-item a {
  font-weight: bold;
}

.nav-item .nav-link:hover {
  background-color: var(--quaternary-color);
  color: var(--secondary-color);
  border-radius: 5px;
  border-color: var(--quaternary-color);
}

.nav-item.active,
.nav-item.active .nav-link {
  background-color: var(--secondary-color);
  border-radius: 5px;
  border: none;
  color: #fff;
}
.nav-item.active .nav-link:hover {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

.nav-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.nav-link:hover {
  text-decoration: underline;
}

.welcome-message {
  font-weight: bold;
  color: var(--primary-color);
  font-family: Preahvihear, sans-serif;
  font-size: 1.5rem;
  background-color: transparent;
}

.dropdown-menu {
  background-color: #f8f9fa;
}

.dropdown-item {
  color: #495057;
}

.dropdown-item:hover {
  background-color: var(--tertiary-color);
  color: black;
}

.login-container {
  margin-top: 50px;
  text-align: center;
}

.login-link {
  padding: 10px 20px;
  margin: 20px;
}

.login-link:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.fa-spinner {
  margin-right: 8px;
}

.mt-2 {
  padding-top: 20px;
}


.spaced-button {
  margin-right: 15px; /* Adjust the value based on the spacing you desire */
}

.spaced-card {
  margin-bottom: 15px; /* Adjust the value based on the spacing you desire */
  border-width: 2px;
  border-color: var(--tertiary-color);
  border-radius: 10px;
  overflow: hidden;
}

.projects-card {
  background-color: var(--quaternary-color);
}

.options-card {
  margin-bottom: 10px; /* Adjust the value based on the spacing you desire */
  background-color: var(--quaternary-color);
}

.projects-container {
  margin-top: 20px;
}

.card-title {
  font-weight: bold;
  color: var(--primary-color);
}

.icon-button {
  margin-left: 8px; /* Adjust the value based on your preferred spacing */
}

.link-container {
  /* display: flex; */
  align-items: center; /* Align items vertically in the center */
}

/* Styles for the tab list */
.custom-tab-list {
  display: flex;
  list-style: none;
  padding: 0;
}

.list-disc.list-inside {
  margin-bottom: 10px;
}

/* Styles for the individual tabs */
.custom-tab {
  padding: 10px 15px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  background-color: #f0f0f0;
  color: #333;
  user-select: none;
  transition: background-color 0.3s ease;

  &.react-tabs__tab--selected {
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 5px;
    border-color: black;
    border-width: 1px;
  }

  /* Styles for non-selected tabs */
  &:not(.react-tabs__tab--selected) {
    background-color: var(--quaternary-color); /* Adjust the background color for non-selected tabs */
  }

  &:not(.react-tabs__tab--selected):hover {
    background-color: var(--tertiary-color);
  }
}

.nav-tabs .hoverable:hover a {
  /* Define hover styles for the "DOCS" element */
  /* This will override the default active styles when the element is hovered */
  color: var(--secondary-color) !important;
  background-color: var(--quaternary-color) !important;
  cursor: pointer !important;
}

.tabs-container {
  margin-top: 20px;
}

.upload-container {
  max-width: 100%; /* Ensure the content doesn't extend beyond its container */
  margin: 0 auto; /* Center the container horizontally */
  padding-right: 20px; /* Adjust padding as needed */
  /* Add any other styling you need */
}

/* Styles for the login page */
.form-header {
  text-align: center;
  font-family: 'Preahvihear', sans-serif;;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.form-panel {
  background-color: var(--quaternary-color);
  padding: 40px;
  margin: 40px;
  border-radius: 8px;
  position: relative;
  border: 1px solid var(--primary-color);
}

.login-button {
  margin-top: 20px;
  background-color: var(--primary-color) !important;
}

.login-button:hover {
  background-color: white !important;
  color: var(--primary-color) !important;
}

/* Position the logo and developer text container in the bottom right corner */
.logo-and-developer-container {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: flex-end;
}

/* Style the logo container */
.logo-container {
  margin-left: 10px; /* Add some spacing between the logo and developer text */
}

/* Style the company logo */
.sil-logo {
  max-width: 100%;
  height: auto;
  max-height: 30px;
}

/* Style the developer text */
.developer-text {
  font-size: 12px;
  color: #555;
}

/* Override the default color for primary buttons */
.btn-primary {
  background-color: var(--primary-color) 
  /* Add any additional styles you need */
}

.btn-primary:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Override the default color for secondary buttons */
.btn-secondary {
  background-color: var(--secondary-color);
  /* Add any additional styles you need */
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color) !important;
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color) !important;
  color: white !important;
  border-color: var(--secondary-color);
}

.examples-table {
  border-collapse: collapse;
  width: 100%;
}

.examples-table, .examples-table th, .examples-table td {
  border: 1px solid black;
}

.examples-table th, .examples-table td {
  padding: 10px;
  text-align: center;
}

.examples-table .merge {
  border-right: none;
}

.examples-table .score {
  font-weight: bold;
  background-color: var(--tertiary-color);
}

.language-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

.language-table th, .language-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid black;  
}

.language-table th {
  border: 1px solid black;
  background-color: var(--primary-color);
  color: white;
}

.language-table td {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.language-table tr:nth-child(odd) {
  background-color: var(--tertiary-color);
}

.language-table tr:nth-child(even) {
  background-color: white;
}

