@font-face {
    font-family: 'Hubot Sans';
    src: url('path/to/HubotSans-Regular.woff2') format('woff2'),
        url('path/to/HubotSans-Regular.woff') format('woff');
    /* Add more formats if necessary */
    font-weight: normal;
    font-style: normal;
}
    body {
        font-family: "hubot sans", sans-serif;
        margin: auto;
        padding: 20px;
        background-color: #0d1117; /* Dark background color */
        color: white; /* Text color */
    }

    h1 {
        text-align: center;
        margin-bottom: 0px;
        font-size: 6.25rem;
        font-family: "hubot sans", sans-serif;
        font-weight: bold;
    }
    h4{
        text-align: center;
        margin-top: 0px;
        font-size: 1.69rem;
        font-family: "hubot sans", sans-serif;
        font-weight: bold;
    }

    form {
        text-align: center;
        margin-bottom: 20px;
    }

    label {
        font-weight: bold;
    }

    
    input[type="text"] {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        background-color: #161b22; /* Input field background */
        color: white; /* Input field text color */
    }

    button[type="submit"] {
        display: flexbox;
        margin: auto;
        padding: 8px 16px;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    button[type="submit"]:hover {
        background-color: #2ea44f; /* New color when hovering */
    }
    .loader {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        animation: spin 2s linear infinite;
        margin: 0 auto; /* Center the loader horizontally */
        margin-top: 20px; /* Add some spacing between the button and loader */
      }
      
      /* Define the loader animation */
      @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }

     /* Style for the button */
button#submitButton {
    background-color: #2ea44f; /* GitHub-like green color */
    color: white;
    /* ... other button styles ... */
}

/* Style for the button when hovered or active */
button#submitButton:hover,
button#submitButton:active {
    background-color: #22863a; /* Slightly darker green on hover or click */
}
  .error {
    text-align: center;
    margin-bottom: 20px;
}

.error p {
    color: red;
    border: 1px solid red; 
    padding: 7px;
    margin: 0;
    display: inline-block;
}



    .result {
        text-align: center;
        margin-bottom: 20px;
        font-weight: bold;
    }

    /* Styling for result links */
    .result a {
        color: #58a6ff;
        text-decoration: none;
    }
    .main-body {
        max-width: 600px; /* Limit the width */
        margin: 0 auto; /* Center horizontally */
        padding: 20px;
    }

    .hero-text {
        font-weight: bolder;
        animation: fadeIn 2s infinite alternate;
        
    }
    /* .text-thin-narrow {
    font-weight: 70;
    font-stretch: 75%;
    }  */
    /* Styling for analysis text */
    .analysis {
        margin-top: 10px;
        font-weight: lighter;
        text-align: justify;
    }
            /* Styling for About section */
    .about {
        background-color: #161b22;
        color: white;
        padding: 20px;
        margin: 20px;
        font-size: 16;
        font-family: "Hubot Sans", sans-serif;
        border-radius: 5px;
        text-align: justify;
        display: flex;
        flex-direction: column;
    }
    footer a{
        color: #58a6ff;
        text-decoration: none;
    }

    .heart {
        animation: heartbeat 1s infinite;
    }
            /* Media queries for tablet and mobile */
    /* @media screen and (max-width: 768px) {
        body{
            padding: 50px;
        }
        h1 {
            font-size: 60px;
        }

        h4 {
            font-size: 1.2rem;
        }

        input[type="text"] {
            width: 20%;
        }

    } */
/* Add your existing CSS styles here */

/* Media queries for tablets */
@media screen and (max-width: 768px) {
    body {
        padding: 20px; /* Adjust padding for smaller screens */
    }

    h1 {
        font-size: 3rem; /* Reduce font size for h1 on tablets */
    }

    h4 {
        font-size: 1.2rem; /* Reduce font size for h4 on tablets */
    }

    input[type="text"] {
        width: 100%; /* Make the input field full-width on tablets */
    }
}

/* Media queries for mobile */
@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.5rem; /* Reduce font size for h1 on mobile */
    }

    h4 {
        font-size: 1rem; /* Reduce font size for h4 on mobile */
    }

    .container-fluid.main-body {
        padding: 10px; /* Further reduce padding for mobile */
    }

    input[type="text"] {
        padding: 0.3rem; /* Adjust input field padding for mobile */
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.5rem; /* Reduce font size for h1 on mobile */
    }

    h4 {
        font-size: 1rem; /* Reduce font size for h4 on mobile */
    }   

    .container-fluid.main-body {
        padding: 10px; /* Further reduce padding for mobile */
    }

    input[type="text"] {
        padding: 0.3rem; /* Adjust input field padding for mobile */
    }

    /* Add this rule to make the Hero text larger on mobile */
    .hero-text h1 {
        font-size: 3rem; /* Increase font size for h1 in the Hero text */
    }
}
/* Custom Animations */
@keyframes fadeIn {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}
