html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #d3dbeb;
  /* background-image: linear-gradient(to bottom, rgba(240, 255, 40, 1) 0%, #d3dbeb), linear-gradient(to bottom, #d3dbeb 0%, #d3dbeb 100%); */
  background-clip: content-box, padding-box;
  /* padding-left: 100px;
  padding-right: 100px; */
  /* padding-top: 10px; */
}

header {
  text-align: center;
  padding: 40px 0;
  width: 80%;
  padding-left: 20%;
}

.main-container {
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
}

.left-column {
  width: 20%;
  padding-right: 60px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.right-column {
  width: 80%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.logo {
  width: 70px;
  /* position: absolute; */
  top: 20px;
  left: 20px;
}

.text {
  margin: 0;
  font-size: 35px;
  color: rgb(8, 8, 8);
}

.subtitle {
  margin: 0;
  /* margin-bottom: 2px; */
  font-size: 20px;
  color: rgb(13, 0, 0);
}

.main-content {
  padding: 20px;
  text-align: center;
}

#gene {
  width: 300px;
  /* Adjust the width */
  height: 40px;
  /* Adjust the height */
  font-size: 16px;
  /* Adjust the font size */
  padding: 10px;
  /* Add some padding */
  border-radius: 5px;
  /* Add border radius */
  border: 1px solid #ccc;
  /* Add border */
  box-sizing: border-box;
  /* Ensure padding is included in the width and height */
}

#search-gene {
  font-size: 18px;
  /* Adjust the font size */
  padding: 10px 20px;
  /* Adjust the padding */
  background-color: #4CAF50;
  /* Background color */
  color: white;
  /* Text color */
  border: none;
  /* Remove border */
  border-radius: 5px;
  /* Add border radius */
  cursor: pointer;
  /* Change cursor to pointer */
  margin-top: 20px;
  /* Add some top margin */
  margin-left: 10px;
  /* Add some left margin */
}

#search-gene:hover {
  background-color: #45a049;
  /* Change background color on hover */
}

.gene-selector {
  margin-bottom: 20px;
}

.gene-selector label {
  margin-right: 10px;
  font-size: 18px;
}

.autosuggest-input {
  width: 200px;
  height: 30px;
  font-size: 16px;
  padding: 5px;
}

.top-genes {
  margin-bottom: 20px;
  font-size: 13px;
  text-align: center;
}


.top-genes-list button {
  font-size: 13px;
  margin: 5px;
}

.similar-genes-section {
  margin-bottom: 20px;
  text-align: left;
  /* font-size: 13px; */
}

.similar-genes-section label {
  display: block;
  margin-bottom: 10px;
}

.similar-genes-list button {
  font-size: 13px;
  margin: 5px;

}


.transcript-section {
  margin-bottom: 20px;
  text-align: left;
}

.transcript-section label {
  display: block;
  margin-bottom: 10px;
}

.transcript-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: left;
}

.transcript-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  margin-bottom: 5px;
}

.transcript-item input {
  margin-right: 5px;
}

.tissue-section {
  margin-bottom: 20px;
  text-align: center;

}

.tissue-section label {
  display: block;
  margin-bottom: 10px;
}

.tissue-icons {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  justify-content: center;
}

.tissue-icon {
  cursor: pointer;
  text-align: center;
}

.tissue-icon img {
  width: 45px;
  height: 36px;
  filter: grayscale(1) contrast(100) brightness(1);
  mix-blend-mode: multiply;
}

.tissue-icon p {
  margin-top: 5px;
  font-size: 12px;
}

.selected-tissue {
  background-color: #ffff89;
  border-radius: 10px;
}

.selected-gene-label {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}



.resource-buttons {
  margin-bottom: 20px;
  text-align: center;
}

.resource-buttons label {
  display: block;
  margin-bottom: 10px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.button-container button {
  background: none;
  border: none;
  cursor: pointer;
  width: 100px;
}

.button-container button img {
  width: 82px;
}

.resource-section {
  text-align: center;
  margin-bottom: 20px;
}

.resource-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* justify-content: center; */
}

.resource-icon {
  cursor: pointer;
  text-align: center;
}

.resource-icons img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  /* filter: grayscale(1) contrast(100) brightness(1); */
  mix-blend-mode: multiply;
}

#resource-ARCHS4 img {
  width: 90%;
  /* Increase the size slightly for ARCHS4 */
  height: auto;
  /* Maintain aspect ratio */
}

.resource-icon p {
  margin-top: 5px;
  font-size: 10px;
}

.highlighted-button {
  background-color: #ffff89;
  /* Highlight color */
  /* border: 2px solid #000; */
  /* Optional: Add a border for better visibility */
}

.selected-resource {
  background-color: #ffff89;
  border-radius: 10px;
}

.submit-section {
  font-size: 20px;
  /* background-color: #a6a6a3; */
  align-items: center;
  text-align: center;

}

#submit-filters {
  font-size: 18px;
  padding: 10px 20px;
  background-color: #dadbda;
  color: black;

  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  align-items: center;
}

#submit-filters:hover {
  background-color: #ffff89;
}


.plots-section {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* justify-content: space-between; */
}

/* #plots-section iframe {
  width: 100%;
  max-width: 1200px;
  height: 600px;
  border: none;
  aspect-ratio: 16/9;
} */

.centered-plot {
  display: block;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  text-align: center;
}

.download-buttons button {
  height: 25px;
  width: 150px;
  /* padding: 10px 10px; */
  font-size: 14px;
  cursor: pointer;
  border: none;
  background-color: #717272;
  color: white;
  border-radius: 5px;
}

.download-buttons button:hover {
  background-color: #0056b3;
}

.loading-spinner {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #040404;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  position: fixed;
  left: 45%;
  top: 45%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.footer {
  background-color: #2c3e5054;
  padding: 20px 0;
  width: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 12px;
  flex-wrap: wrap;
  padding-left: 0px;
  padding-right: 0px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.footer-link {
  color: black;
  text-decoration: none;
  margin-bottom: 10px;
}

/* .footer-link, */
.footer-image {
  margin: 0 70px;
}

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

.footer-section img {
  margin: 0 15px;
  height: 100px;
  mix-blend-mode: multiply;
  filter: rgb(18, 18, 18);
  /* IE6-9 */
  -webkit-filter: grayscale(1);
  /* Google Chrome, Safari 6+ & Opera 15+ */
  filter: grayscale(1);
}

.footer-button {
  background-color: transparent;
  border: none;
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.download-item {
  margin-bottom: 20px;
  color: black;
}

.iframe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}

.plot-container {
  position: relative;
  display: inline-block;
}

.vertical-line {
  width: 5px;
  background-color: #000;
  height: 72.8%;
  position: absolute;
  left: 25%;
  top: 200px;
  bottom: 200px;
  position: relative;
}







@media (max-width: 1200px) {
  #plots-section iframe {
    height: 500px;
  }
}

@media (max-width: 992px) {
  #plots-section iframe {
    height: 400px;
  }
}

@media (max-width: 768px) {
  #plots-section iframe {
    height: 300px;
  }
}

@media (max-width: 576px) {
  #plots-section iframe {
    height: 200px;
  }
}