body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1 {
    margin-bottom: 20px;
    padding: 0;
    font-size: 1.6em;
    color: #101730;
}

h2 {
    margin-bottom: 20px;
    padding: 0;
    font-size: 1.2em;
    color: #393D4D;
}

h3 {
    margin-bottom: 20px;
    padding: 0;
    font-size: 1.1em;
    color: #434754;
}
p {
    letter-spacing: 0.5px;
}
.main {
    padding: 10px 25px 30px;
    max-width: 800px;
    margin: 0 auto;
}
.base {
    font-size: 12px;
    text-align: center;
}

.base a {
    color: #1d2e45; 
    text-decoration: none; 
}

.base a:hover {
    text-decoration: underline; 
}

/* Initial state */
#inputbtn {
    transition: opacity 0.5s, max-height 0.5s;
    opacity: 1;
    max-height: 100px; /* Adjust as needed */
    overflow: hidden;
}

/* State after hiding */
#inputbtn.hide {
    opacity: 0;
    max-height: 0;
}

.resetButton {
    margin-top: 30px;
    display: none;
}

#queryInput {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #2c6da9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#summary {
    margin-top: 30px;
    margin-bottom: 30px;
}
.loader {
    border: 5px solid #f3f3f3; 
    border-top: 5px solid #4CAF50; 
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    display: none; 
    position: absolute;
    left: 45%;
    top: 15%;
    margin-left: -25px; 
    margin-top: -25px; 
}

#chartContainer {
    width: 100%; 
    height: 500px; 
    display: none;
}

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

@media only screen and (max-width: 768px)  {

    h1 {
        font-size: 1.2em;
        min-height: 100px;
    }

    h2 {
        margin-top: 50px;
        margin-bottom: 20px;
        font-size: 1.1em;
    }

    #queryInput {
        max-width: 330px;
        width: 100%; 
    }

    button {
        width: 100%; 
        max-width: 330px;
        margin-bottom: 20px;
    }

    #chartContainer {
        height: 600px; 
    }

    .main {
        max-width: 100%;
    }
}

#rssFeed li {
    list-style: none; /* Removes the default list bullet */
    margin-bottom: 15px; /* Adds some space between list items */
    padding-left: 12px; /* Adds padding to the left for custom bullet and text indentation */
    position: relative; /* Enables absolute positioning for the pseudo-element */
}

#rssFeed li::before {
    content: ''; /* Necessary for the pseudo-element to display */
    position: absolute; /* Positions the pseudo-element relative to its parent li */
    left: -25px; /* Places the pseudo-element at the start of the li, accounting for padding */
    top: 20%; /* Centers the pseudo-element vertically */
    transform: translateY(-50%); /* Adjusts the position to ensure it's centered */
    width: 11px; /* Diameter of the custom bullet */
    height: 11px; /* Height matches width to create a circle */
    background-color: #4CAF50; /* Green color for the bullet */
    border-radius: 50%; /* Rounds the corners to create a circle */
}

#rssFeed a {
    color: #101730; /* Custom link color */
    text-decoration: none; /* Removes the default underline */
    font-weight: bold; /* Makes the link text bold */
    transition: color 0.3s ease; /* Smooth transition for color change on hover */
}

#rssFeed a:hover, #rssFeed a:focus {
    color: #0056b3; /* Color change on hover/focus for better user interaction */
    text-decoration: underline; /* Underline on hover/focus for clarity */
}

#rssFeed p {
    color: #333; /* Description text color */
    font-size: 14px; /* Size of the description text */
    margin-top: 0;
}

