/*
 * General Styles
 */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #2c3e50; /* Dark background color */
    color: #ecf0f1; /* Light text color */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

/*
 * Header
 */
header {
    background-color: #1e272e;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-style-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

/* Logo and Title */
.header-style-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-style-logo img {
    height: 40px; /* Adjust as needed */
}

header h1 a {
    color: #86c232;
    font-size: 1.6rem;
    font-weight: bold;
}

/* Navigation */
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

header nav ul li a {
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Right-side Icons and Buttons */
.header-style-header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-style-header-icons a,
.header-style-search-button {
    color: #fff;
    font-size: 1.2rem;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.header-style-header-icons a:hover,
.header-style-search-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Profile Dropdown */
.header-style-profile-dropdown {
    position: relative;
}

.header-style-profile-dropdown > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    gap: 8px; /* Space between PFP and username */
}

.header-style-pfp {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #86c232;
    object-fit: cover;
}

.header-style-profile-dropdown .header-style-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2c3e50;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    min-width: 180px;
    text-align: left;
    display: none;
    z-index: 100;
}

.header-style-profile-dropdown:hover .header-style-dropdown-content {
    display: block;
}

.header-style-profile-dropdown .header-style-dropdown-header {
    padding: 10px 15px;
    border-bottom: 1px solid #34495e;
    margin-bottom: 10px;
}

.header-style-profile-dropdown .header-style-dropdown-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

.header-style-profile-dropdown .header-style-dropdown-content a {
    color: #ddd;
    padding: 8px 15px;
    display: block;
    text-decoration: none;
}

.header-style-profile-dropdown .header-style-dropdown-content a:hover {
    background-color: #34495e;
    color: #fff;
}

.header-style-dropdown-divider {
    border-top: 1px solid #34495e;
    margin: 5px 0;
}

/* Login/Register Buttons */
.header-style-header-icons button {
    background-color: #86c232;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-style-header-icons button:hover {
    background-color: #6a9b27;
}

.header-style-header-icons form {
    margin: 0;
}