@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

body {
    font-family: 'Lato', sans-serif; /* or 'Roboto', 'Poppins', 'Inter' */
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Restores original alignment */
    padding: 10px 50px;
    position: relative;
    width: 100%;
    background-color: #000000;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#header-logo {
    height: 100px;
    width: auto;
}

.header-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 36px;
    color: #FFFFFF;
    text-align: center;
}

/* Media query for tablet and mobile screens */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stacks items vertically on smaller screens */
        padding: 10px;
    }

    #header-logo {
        height: 60px;
        margin-bottom: 10px; /* Adds space between logo and title */
    }

    .header-title {
        font-size: 24px;
        width: 100%; /* Full width to accommodate smaller font size */
        margin: 0; /* Resets margin */
    }
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1600px;
    margin: 10px auto 1px auto; /* Adjusted margin to prevent header overlap */
    padding: 20px;
    gap: 30px; /* Adds space between the columns */
}

.left-column,
.right-column {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    flex: 1; /* Makes both columns equal in width */
}

/* Media queries for the container and columns */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 15px;
    }

    .left-column,
    .right-column {
        padding: 20px;
    }
}

footer {
    padding: 20px 50px;
    background-color: #000000; /* Matching the header background color */
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Adding a subtle shadow like the header */
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-container p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #FFFFFF; /* Matching the header title color */
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.input-method {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.info-icon {
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: -150px;
    bottom: 30px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap;
}

input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: white;
    color: black;
    border: 1px solid #4CAF50;
}

.logos img {
    max-width: 150px;
    margin-right: 20px;
}

#funding-logos .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#method-explanation p,
#how-to-use p {
    text-align: justify;
    line-height: 1.6;
}

#citations {
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#citations h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

#citations ol {
    margin: 0;
    padding-left: 20px;
}

#citations li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

#citations a {
    color: #a60215;
    text-decoration: none;
}

#citations a:hover {
    text-decoration: underline;
}

#gene-form {
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#gene-form .input-method {
    max-width: 600px; /* Adjust the width as per your preference */
    margin: 0 auto 20px auto; /* Center align the elements */
}

#gene-form .input-method label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

#gene-form .input-method input,
#gene-form .input-method select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box; /* Ensure padding doesn’t make input go outside the container */
}

#gene-form button {
    display: block;
    width: 200px; /* Adjust the width as per your preference */
    padding: 10px;
    margin: 20px auto; /* Center align the button */
    background-color: #4CAF50; /* Choose a color that matches your design */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#gene-form button:hover {
    background-color: #45a049;
}


#gene-input input[type="text"]:first-of-type {
    margin-bottom: 10px; /* Adjust the size of the gap as you prefer */
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fffaf1;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Maximum width */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 600px) {
    .modal-content {
        margin: 10% auto; /* Reduced margin from the top */
        width: 95%; /* More width on smaller screens */
    }
}


/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* This styles the button text */
#button-text {
    vertical-align: middle;
}

/* This styles the button itself */
#predict-button {
    background-color: #4CAF50; /* Green background */
    border: none; /* No border */
    color: white; /* White text */
    padding: 15px 32px; /* Padding */
    text-align: center; /* Centered text */
    text-decoration: none; /* No underline */
    display: inline-block; /* Make it inline */
    font-size: 16px; /* Font size */
    margin: 4px 2px; /* Margin */
    transition-duration: 0.4s; /* Transition effect */
    cursor: pointer; /* Pointer cursor on hover */
}

/* This changes button style on hover */
#predict-button:hover {
    background-color: white; 
    color: black; 
    border: 2px solid #4CAF50;
}

/* Style for input fields to make them shorter */
.input-fields input[type="text"],
.input-fields input[type="file"] {
    width: 60%; /* Change this to your desired width */
    margin: auto; /* This will center the input if the width is less than 100% */
    display: block;
}

/* Style for the explanatory text */
.explanatory-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: block;
    /* Remove the text-align property to let the text align to default (left) */
}

/* Style adjustments for input fields */
.input-fields {
    margin-bottom: 20px; /* Add some space below each field */
}

/* Additional media query for responsiveness on smaller screens */
@media (max-width: 768px) {
    .input-fields input[type="text"],
    .input-fields input[type="file"] {
        width: 100%; /* Adjusting width to fill container */
    }
}

#predict-button {
  width: 150px; /* Adjust width as needed */
  height: 50px; /* Adjust height as needed */
  position: relative;
}

#button-text,
#spinner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  line-height: 50px; /* Adjust line height to button height */
}

#spinner {
  visibility: hidden; /* start with spinner hidden */
}

#fasta-sequence-input {
/* Ensure the div takes up the full width if other styling isn't already doing so */
  width: 100%;
  display: block; /* This makes sure that #fasta-sequence-input behaves as a block element */
}

.textarea-custom {
  width: 600px; /* Set the width of the textarea */
  height: 100px; /* Set the height of the textarea */
  display: block; /* Ensures that textarea is a block-level element */
  margin-left: auto;
  margin-right: auto;
}

.disclaimer {
    background-color: #f4f4f4; /* Light gray background */
    padding: 15px;
    border-radius: 5px; /* Rounded corners */
    margin-top: 20px; /* Space above the disclaimer */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.disclaimer-text {
    color: #333; /* Dark gray text for readability */
    text-align: left; /* Align text to the left */
    font-size: 14px; /* Smaller font size for the disclaimer */
    line-height: 1.5; /* Improved line spacing for readability */
}

.responsive-image {
    max-width: 100%;
    height: auto;
    display: block; /* Optional: if you want to center your image */
    margin-left: auto; /* Optional: if you want to center your image */
    margin-right: auto; /* Optional: if you want to center your image */
}

.download-button {
    display: inline-block;
    margin: 10px 0;
    background-color: #4CAF50; /* You can choose your color */
    padding: 15px 32px; /* Padding */
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #4CAF50; /* Darker shade for hover effect */
    color: white;
    text-decoration: none;
}

#download-button {
  width: 150px; /* Adjust width as needed */
  height: 50px; /* Adjust height as needed */
  position: relative;
}

