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

/* Basic styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-right: 50px;
    background-color: #333;
    color: white;
}

.navbar-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.navbar-links ul {
    list-style: none;
    display: flex;
    margin: 0px;
}

.navbar-links ul li {
    padding: 10px;
}

.navbar-links ul li a {
    color: white;
    text-decoration: none;
}

/* Dropdown styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0px 8px 16px 0px rgb(0, 0, 0);
    z-index: 2;
}

.search-content a,
.dropdown-content a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    display: block;
}

.search-content a:hover,
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: black;
}

/* Search Bar Styling */
.search-content {
    width: 175px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0px 8px 16px 0px rgb(0, 0, 0);
    z-index: 1;
}

/* The popup overlay */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Popup content */
.popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive styling */
.toggle-button {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
}

.logo a img {
    margin-top: 5px;
    margin-left: 3px;
    height: 30px;
    width: auto;
    object-fit: contain;
}

.separator {
    position: relative;
    top: 10px;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 5px;
    }

    .logo {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .toggle-button {
        display: block;
    }

    .navbar-links {
        width: 100%;
        position: relative;
        display: none;
        left: -40px;
        width: 100%;
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links ul li {
        text-align: left;
    }

    .search-content,
    .dropdown-content {
        position: relative;
        top: 10px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    }

}