body {
    color: #444;
    background-color: #eee;
    margin: 40px auto;
    max-width: 650px;
    line-height: 1.6em;
    font-size: 18px;
    padding: 0;
}
.dropdown {
    position: relative;
    display: inline-block;
}

/* Button styling to match website */
.dropbtn {
    background-color: #444; /* Matches your text color */
    color: white; /* Text contrast */
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease; /* Smooth transition */
}

/* Button hover effect */
.dropbtn:hover {
    background-color: #888; /* Lighter shade on hover */
    color: #fff; /* Ensure the text remains readable */
}

/* Dropdown content styling */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff; /* Matches your background color */
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #444; /* Text color consistent with your website */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #ddd;
    white-space: nowrap; /* Ensure links are on one line */
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #eee; /* Hover effect for links */
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Remove the bottom border from the last link */
.dropdown-content a:last-child {
    border-bottom: none;
}
