html, body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* layout */
.header {
  border-bottom: 1px solid var(--code-bg-color);
  grid-template-columns: 1fr 200px 60% 1fr;
}

.wrapper {
  display: flex;
  flex-grow: 1;
}

/* logo */
.logo {
  font-weight: 900;
  color: var(--primary-color);
  font-size: 1.4em;
  grid-column: 2;
}

.logo__thin {
  font-weight: 300;
}

/* menu */
.menu {
  grid-template-columns: 1fr 180px 60% 1fr;
}

.menu__item {
  padding: 1.5rem 1rem;
}

/* doc */
.doc__bg {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 28%;
  background-color: var(--bg-color);
  z-index: -1;
}

.doc__nav {
  flex-basis: 20%;
  font-weight: 200;
}

.doc__nav ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
}

.doc__nav ul.fixed {
  position: fixed;
  top: 2rem;
}

.doc__nav li:hover {
  color: var(--primary-color-light);
  cursor: pointer;
  transition: color .3s ease-in-out;
}

.doc__nav .selected {
  color: var(--accent-color);
  position: relative;
}

.doc__nav .selected:after {
  position: absolute;
  content: "";
  width: 1rem;
  height: 1rem;
  background-color: var(--accent-color);
  left: -1.5rem;
  top: 0.3rem;
}

.doc__content {
  flex-basis: 80%;
  padding: 0 0 5rem 1rem;
}

@media (max-width: 850px) {
  .wrapper {
    flex-direction: column;
  }
  .doc__content {
    padding-left: 0;
  }
  .doc__nav ul {
    border-bottom: 1px solid var(--code-bg-color);
    padding-bottom: 0.5rem;
  }
  .doc__nav ul.fixed {
    /* nutralized the fixed menu for mobile*/
    position: relative;
    top: 0;
    bottom: 10;
  }
  .doc__nav li {
    display: inline-block;
    padding-right: 1rem;
  }
  .doc__nav .selected:after {
    display: none;
  }
}


/* API buttons */

.request-button {
  background-color: white;
  color: #007bff;
  padding: 10px 20px;
  border: 1px solid #007bff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
}

.method {
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.endpoint {
  padding: 5px 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.request-button:hover {
  background-color: #eff0f1;
}

/* JSON response */

.json-response {
  margin-top: 10px;
  background: #19222b;
  border: 1px solid var(--code-bg-color);
  padding: 10px;
  border-radius: 5px;
  font-family: Space Mono, SFMono-Regular, Menlo,Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-size: 15px;
  white-space: pre-line;
  color: #f8f6f6;
  white-space: pre-wrap;
  max-height: 400px; /* Add a max height with overflow for large responses */
  overflow-y: auto;
}

 /* Loading progress bar container */
 .loading-container {
  margin: 10px;
  width: 100%;
  height: 20px;
  background-color: #ccc;
  position: relative;
}

/* Text inside the loading bar */
.loading-text {
  color: #fff;
  text-align: center;
  width: 100%; /* Take up the entire width */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide text overflow */
  position: absolute;
  top: 0;
}

/* Loading bar animation */
.loading-bar {
  width: 0;
  height: 100%;
  background-color: #3498db;
  position: absolute;
  animation: loading 1s linear infinite; /* Adjust animation duration as needed */
  display: flex;
  align-items: center; /* Center vertically */
}

.th-header-style { /* Table header style for TH */
  background-color: rgb(137, 222, 255);
  font-style: italic;
}

.hr-styled-line { /* HR tag style */
  border: none;
  border-top: 2px solid rgb(255, 224, 137); /* Line color and thickness */
  
}

/* For the logos use as expertise */
.tech-logos {
  display: flex;
  flex-wrap: wrap; /* Allow logos to wrap if the screen is too small */
  justify-content: center; /* Center the logos horizontally */
  gap: 20px; /* Space between logos */
}

.tech-logos img {
  max-width: 50px; /* Set a max size for each logo */
  height: auto;
}

.tech-logos-2 {
  display: flex;
  flex-wrap: wrap; /* Allow logos to wrap if the screen is too small */
  justify-content: center; /* Center the logos horizontally */
  gap: 30px; /* Space between logos */
  margin-top:30px;
}

.tech-logos-2 img {
  max-width: 100px; /* Set a max size for each logo */
  height: auto;
}

.bold-underline { /* Bold and underline text */
  font-weight: bold; /* Makes the text bold */
  text-decoration: underline; /* Underlines the text */
}

@keyframes loading {
  0% { width: 0; }
  100% { width: 100%; }
}



