body {
    font-family: Arial, sans-serif;
}

#searchbox {
    margin-bottom: 20px;
    margin-left: 1px;
    padding: 10px;
    width: 75%;
    max-width: 400px;
}

/* Remove cursor pointer for .filterBtn */
.filterBtn {
    padding: 10px 20px;
    margin-right: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    line-height: 1.5; /* Improved line height for readability */
    position: relative;
}

th:not(:first-child) {
    width: 20%;
}

/* Add a pseudo-element for the sort icon */
th::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Indicate ascending sort */
th.asc::after {
    content: '▲';
}

/* Indicate descending sort */
th.desc::after {
    content: '▼';
}


@media screen and (max-width: 600px) {
    #searchBox {
        width: 100%;
        padding: 8px;
    }

    /* Remove cursor pointer for .filterBtn */
    .filterBtn {
        width: 100%;
        margin-bottom: 10px;
    }

    table, th, td {
        font-size: 0.9em;
    }

    th.sortable::after {
        right: initial;
        top: initial;
        transform: none;
        position: relative;
        margin-left: 5px;
    }
}

/* Initially hide the light icon */
#light-icon {
    display: none;
    font-size: 20px; /* Adjust this value as needed */
    cursor: pointer; /* Show link pointer cursor */

}

#dark-icon {
    font-size: 20px; /* Adjust this value as needed */
    cursor: pointer; /* Show link pointer cursor */

}

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* or space-around */
}


#header-icons {
    display: flex; /* Flex container */
    align-items: center; /* Align items vertically */
}

#header-icons > a, #header-icons > div {
    margin-right: 10px; /* Spacing between icons */
}

#about-link {
    text-decoration: none; /* Removes underline */
    color: #000000; /* Text color */
    font-weight: bold; /* Makes text bold */
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#about-link:hover {
    background-color: #000000; /* Hover background color */
    color: #ffffff; /* Hover text color */
}

#site-title {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Inherits the color from the parent element */
    /* You can set a specific color if you prefer, e.g., color: #000000; */
    cursor: pointer;
}

#site-title h1 {
    margin: 0; /* Removes default margin from the h1 tag if needed */
}

a {
    cursor: pointer;
}

span {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
}

#about-link,
#coffee-icon,
#dark-light-toggle {
    margin-right: 5px; /* Adjust as needed */
}

/* Adjust size and spacing of the coffee icon */
#coffee-icon {
    font-size: 20px; /* Adjust size as needed */
}

#coffee-link {
    text-decoration: none; /* Removes underline */
    cursor: pointer; /* Show link pointer cursor */
}

#coffee-icon {
    color: #000000; /* Text color */
    font-weight: bold; /* Makes text bold */
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

#coffee-icon:hover {
    background-color: #000000; /* Hover background color */
    color: #ffffff; /* Hover text color */
}
