body {
  background-color: #e6ecf2; 
  color: rgb(46, 44, 44);
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; 
  margin: 0;
  flex-direction: column;
  height: 100%;
  text-align: justify; 
  text-justify: inter-word; 

}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger {
  display: none; 
  background: none;
  border: 1px solid #fbf9f9;
  cursor: pointer;
  padding: 1px 10px 6px 10px;
  /* width: 32px;
  height: 32px;
  position: relative; */
}

.hamburger-box {
  width: 15px;
  height: 3px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: #fefefe;
  position: absolute;
  left: 0;
}

.hamburger-inner::before {
  top: -5px;
}

.hamburger-inner::after {
  bottom: -5px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: #144e91;
    padding: 2px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    margin: 1px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
}



nav {
  background-color: #144e91; 
  /* background: linear-gradient(45deg, #144e91, #013794f7); */
  border-bottom: 1px solid #ddd; 
  position: fixed; 
  left: 0; 
  right: 0; 
  top: 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 60px; 
  z-index: 1000; 
  height: 76px; 
}

nav .logo {
  position: relative;
  width: 150px;
  height: 56px;
  display: flex;
  flex-direction: row;
}

nav .logo img {
  transform: scale(2); 
  width: 100%; 
  height: auto; 
  transform-origin: 50% 60%; 
  overflow: hidden;
}

nav ul {
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
}

nav ul li {
  margin-left: 20px; 
}

nav ul li a {
  text-decoration: none; 
  color: rgb(237, 237, 237); 
  padding: 10px 15px; 
  display: inline-block; 
  font-size: 18px; 
}

nav ul li a:hover {
  color: #8eb3f2; 
  border-radius: 5px; 
}

.current-page {
  color: #b9d2ff; 
  font-weight: bold; 
}

.nav-icon {
  width: 27px;
  height: 27px;
  margin-right: 3px; 
  cursor: pointer;
  /* background-color: transparent; */
  padding-bottom: 3px;
  
}

.current-page .nav-icon {
  filter: brightness(0) saturate(100%) invert(70%) sepia(100%) saturate(53%) saturate(687%) hue-rotate(180deg) brightness(90%) contrast(91%);
}

.container {
  flex: 1; 
  margin-top: 100px; 
  margin-bottom: 20px; 
  background-color: rgba(248, 248, 248, 0); 
  display: flex; 
  flex-direction: column; 
}

.title-container {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;

  /* border-bottom: 1px solid #ccc; */
  font-size: 24px;
  font-weight: bold;
  color: #0b50b2;
  position: relative; 
}

.nav-link{
  color: #b2afaf;
}

.nav-link:hover{
  color: #58595a;
}

.search-container {
  width: 100%;
  margin-top: 20px; 
  margin-bottom: 20px; 
  display: flex;
  justify-content: center; 
  padding-left: 50px; 
  padding-right: 50px; 
}

.search-container-a {
  width: 100%;
  display: flex;
  flex-direction: column; 
  align-items: flex-start; 
  position: relative; 
}

.input-result {
  position: relative; 
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

input[type="text"] {
  padding: 10px; 
  width: 100%; 
  height: 50px; 
  border: 1px solid #acc9e7; 
  transition: border-color 0.3s; 
}

input[type="text"]:focus {
  border-color: #0056b3; 
  outline: none; 
  box-shadow: 0 0 5px #0056b3; 
}

.search-button {
  background-color: #0056b3;
  border: 1px solid #356396;
  color: #333;
  height: 50px;
  padding: 2px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-button:hover {
  border-color: #0056b3; 
  outline: none; 
  box-shadow: 0 0 5px #3c5570; 
}

.example-text {
  font-size: 13px; 
  margin-top: 10px; 
}

.clickable-example {
  text-decoration: underline; 
  margin-right: 5px; 
  color: #4565a6; 

  cursor: pointer; 
}

.clickable-example:hover {
  color: #0056b3; 
}

.search-result {
  border: 1px solid #ccc;
  max-height: 120px;
  width: 100%;
  overflow-y: auto;
  position: absolute; 
  background-color: white;
  z-index: 100; 
}

.search-result-item {
  padding: 5px; 
  line-height: 1.2; 
  text-align: left; 
  cursor: pointer;
}
.search-result-item:hover {
  background-color: #f0f0f0; 
}

#result1 {
  top: 50px; 
}
#result2 {
  top: 50px; 
}

.input-DS,
.input-gene,
.input-submit {
  display: flex;
  flex-direction: row; 
}

.input-DS .input-result {
  flex-grow: 1; 
}
.input-text {
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: flex-start;
  margin-left: 65px; 
  margin-top: 34.5px; 
}

.input-submit {
  margin-top: 30px; 
}

.input-submit:nth-last-child(1){
  display: flex;
  justify-content: center;
}
/* .input-group-append {
  margin-left: 42%;
  background-color: #6390eb;
  color: white;
  border-radius: 5px;
  cursor: pointer;
} */

.input-group-append button:hover {
  border-color: #6390eb; 
  outline: none; 
  box-shadow: 0 0 5px #3c5570; 
  background-color: #6390eb;
}
.input-group {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
}

#uploadForm {
  width: 80%;
}

.input-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  position: relative;
}


#custom-disease1,
#custom-disease2 {
  height: 40px;
  width: 100%;
  border-color: #c6c7c8;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #495057; 
  text-align: center; 
}

#custom-disease1::placeholder,
#custom-disease2::placeholder {
  color: #495057; 
}
.input-group .example-text {
  text-align: right; 
  margin-bottom: 5px; 
}

.input-gene {
  margin-top: 34.5px;
}

#custom-result1,
#custom-result2 {
  top: 100%;
  border: 1px solid #2e90f8;
  max-height: 150px;
  width: 100%;
  overflow-y: auto;
  position: absolute; 
  background-color: rgb(250, 250, 250);
  box-shadow: 0 0 2px #88898a; 
  z-index: 100; 
}

#custom-result1.empty,
#custom-result2.empty {
  border: none; 
}

.loader {
  position: relative;
  height: 30px;
  width: 30px;
}

.outer,
.middle,
.inner {
  border: 3px solid transparent;
  border-top-color: #6390eb;
  border-right-color: #6390eb;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
}

.outer {
  width: 3.5em;
  height: 3.5em;
  margin-left: -1.75em;
  margin-top: -1.75em;
  animation: spin 2s linear infinite;
}

.middle {
  width: 2.1em;
  height: 2.1em;
  margin-left: -1.05em;
  margin-top: -1.05em;
  animation: spin 1.75s linear reverse infinite;
}

.inner {
  width: 0.8em;
  height: 0.8em;
  margin-left: -0.4em;
  margin-top: -0.4em;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#message {
  color: rgb(203, 0, 0);
  font-size: 14px;
  margin-top: 15px;
}

#main {
  width: 100%;
  height: 600px;
  margin-top: 20px; 
  padding-left: 50px; 
}

.tree-container {
  width: 90%;
  height: 600px;
  margin-top: 20px; 
  margin-right: 20px; 
  padding-left: 50px; 
  padding-right: 50px; 
}

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 2.8em;
  height: 1.6em;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #c3c1c4;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.12em;
  width: 1.12em;
  left: 0.24em;
  bottom: 0.24em;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.switch input:checked + .slider {
  background: #6390eb;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #6390eb;
}

.switch input:checked + .slider:before {
  transform: translateX(1.28em);
  width: 1.6em;
  height: 1.6em;
  bottom: 0;
}

.input-text-botton {
  width: 100%; 
  margin-top: 5px; 
  margin-bottom: 5px; 
  display: flex;
  flex-direction: row; 
  justify-content: flex-end; 
}

.input-text-botton-example,
.input-text-botton-clear {
  font-size: 12px;
  width: 60px;
  height: 20px;
  border-radius: 5px;
  margin-left: 10px;
  /* background-color: #0056b3; */
  border: 1px solid #3b568d;
  color: #333;
  padding: 2px 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4565a6;
}
.input-text-botton-example:hover,
.input-text-botton-clear:hover {
  border-color: #6390eb; 
  outline: none; 
  box-shadow: 0 0 2px #3c5570; 
}

.card {
  margin-top: 30px;
}

.footer {
  margin-top: 50px;
  height: 95px;
  background-color: #144e91; 
  color: rgb(246, 244, 244); 
  font-size: 14px; 
  text-align: center; 
  padding: 10px; 
  width: 100%;
  z-index: 100; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  flex-direction: row;
}
.footer-row:nth-child(1) {
  width: 50%;
  display: flex;
  justify-content: left; 
  align-items: center; 
  flex-direction: column;
}

.footer-row:nth-child(2) {
  width: 23%;
  display: flex;
  justify-content: right; 
  align-items: center; 
  flex-direction: column;
  margin-left: 27%;
}
.footer-title:nth-child(2) {
  margin-top: 10px; 
}

#multiCheckboxContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 130px;
}

.checkbox-option:checked {
  accent-color: #6390eb;
}

input::placeholder {
  color: #c0c0c0 !important; 
  opacity: 1; 
}

textarea::placeholder {
  color: #c0c0c0; 
  opacity: 1; 
}

#fileLabel {
  color: #c0c0c0;
}

.footer-title a{
  color: rgb(246, 244, 244);
}
.footer-title a:hover{
  color: #fff;
  text-decoration:underline;
  
}

.btn {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #6390eb;
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.95;
}

.btn .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1),
      0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1),
      0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1),
      0 0 0 80px rgba(255, 255, 255, 0);
  }
}
