/* style sheet for the webpage */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #D5E5D5;
}

header {
    background-color: #ADB2D4;
    color: #222;
    text-align: center;
    padding: 1rem;
    border-bottom: 3px solid #606676;
    }

i {
    color: #222;
    font-size: 36px;
    margin: 10px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    }

/* Let the main content be arranged */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
    }

/* Hold each division separately */
.card {
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid lightgrey;
    margin-bottom: 1.5rem;
    }

.card h2 {
    margin-top: 0;
    margin-bottom: 4px;
}

textarea {
    width: 90%;
    height: 200px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #999;
    resize: vertical;
    background-color: #F1F0E8;
}

button, .btn {
    padding: 10px 15px;
    margin-right: 10px;
    font-size: 14px;
    border: 3px solid #B1C381;
    border-radius: 20px;
    cursor: pointer;
    background-color: #f9f6e8;
    color: #222222;
    }

button:hover, .btn:hover{
    opacity: 0.9;
    background-color: #D5E5D5;
}

.input_seq {
  position: relative; /* needed for tooltip positioning */
  display: inline-block;
  font-weight: bold;
  margin: 10px 8px 0;
  font-size: 18px;
}

.input_seq .tooltip {
  visibility: hidden; /* hide the tooltip before hovering */
  width: 200px; /* size of 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;
}

.input_seq:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Arrow pointing left at the left side of tooltip */
.input_seq .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 */
}

.file {
  margin-right: 0px;
  background: #B1C381;
  color: #222;
  padding: 10px ;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  width: 300px;
  text-align: left;
}

.file:hover {
  background-color: #D2E0FB;
  color: #9BB8CD;
}
