body {
	font-family: Arial, sans-serif;
	background-color: #fafafa;
	margin: 0;
	padding: 0;
	color: #333;
	}

.container {
	padding: 0 20px 40px;
	}


h1, h2 {
	color: #5d3878;
	margin-bottom: 10px;
	padding: 0 20px;
	}

.banner {								/* add the background image */
	  background-image: url('http://103.18.1.10/sqf7007/meikie/p1/dnaBanner.jpg');
	  background-size: cover;
	  background-position: center;
	  width: 100%;
	  height: 230px;
	  display: flex;
	  align-items: center;
	  justify-content: flex-start; 			/* aligns the box to the left */
	  color: white;
	}

.header {
	display: flex;
	align-items: center;
	padding: 50px 100px;
	}
	
.footer {
	align-items: center;
	background-color: #5d3878;
	padding: 30px 100px; 
	}

.logo {
	flex: 1;
	font-size: 1.5rem;
	font-weight: bold;
	border: 2px solid ;
	}


.logo img {
	height: 30px;
	}


.title {
	flex: 9;
	margin: 10px;
	color: white;
	font-size: 50px;
	font-family: "Lucida Console";
	font-weight: bold;
	text-shadow:
                0 0 5px #5d3878,
                0 0 10px #5d3878,
                0 0 20px #5d3878,
                0 0 40px #5d3878,
                0 0 80px #5d3878;
	}

.navbar {
	display: flex;
	justify-content: flex-start;
	background-color: #CBC3E3;
	border-bottom: 3px solid #5d3878;
	}

.navbar a {
	margin-left: 20px ;
	font-size: 16px;
	text-decoration: none;
	color: #333;
	font-weight: bold;
	padding: 10px;
	}

.navbar a:hover {
	text-decoration: underline;
	background-color: #f7f0fc;
	padding: 10px;
	cursor: pointer;
	}

.highlight2 { 
	font-weight: 500; 
	}

.highlight2:hover {
	text-decoration: underline;
	cursor: pointer;
	}

.main-content {
  padding: 20px;
  margin:20px;
}

.query-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
  position: relative;
}

.query-label .tooltip {
  visibility: hidden;
  width: 150px;
  background-color: #666;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  font-size: 10px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.query-label:hover .tooltip {
  visibility: visible;
}

.query-box {
  width: 100%;
  height: 150px;
  margin-bottom: 15px;
  padding: 10px;
  font-family: monospace;
}

.file-input {
  margin-bottom: 15px;
  background-color: mediumpurple;
}

.file {
  margin-right: 0px;
  background: #3a1c61;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 12px;
  border: none;
  cursor: pointer;
  width: 300px;
  text-align: left;
}

.file:hover {
  background-color: #974bfa;
}

.seq {
  margin-right: 10px;
  background: white;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 12px;
  border-width: 3px;
  border-color: #3a1c61;
  cursor: pointer;
}

.seq:hover {
  background-color: #f5edfa;
}

.types {
  margin-top: 40px;
  margin-right: 20px;
}

.buttons {
  margin-top: 40px;
}

.buttons button {
  margin-right: 10px;
  padding: 15px;
  font-weight: bold;
  border-color: #5d3878;
  background-color: white;
}

.buttons button:hover {
  cursor: pointer;
  background-color: #f5edfa;
}


.palindrome-type-options {
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 14px;
}

.palindrome-type-options label {
  margin-right: 20px;
  cursor: pointer;
}

.palindrome-type-options input[type="radio"] {
  margin-right: 5px;
}

.query-label {
  position: relative; /* needed for tooltip positioning */
  display: inline-block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
}

.query-label .tooltip {
  visibility: hidden;
  width: 200px; /* wider tooltip */
  background-color: #666;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;

  /* Position tooltip to the right, centered vertically */
  position: absolute;
  top: 50%;
  left: 105%; /* slightly right of the label */
  transform: translateY(-50%);
  
  z-index: 10;
  
  /* smooth fade-in */
  opacity: 0;
  transition: opacity 0.3s;
  
  pointer-events: none;
  box-sizing: border-box;
}

.query-label:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Arrow pointing left at the left side of tooltip */
.query-label .tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;  /* at the left edge */
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #666 transparent transparent; /* arrow pointing left */
}
