/* RESET (this fixes your "scattered bullets" issue) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    padding: 0 10px; /* 0px top/bottom, 10px left/right */
}

/* HEADER */
header {
    background: #0056b3;
    color: white;
}

/* TOP BAR */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

/* LOGO (THIS WILL FIX SIZE 100%) */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 35px;   /* FINAL FIX */
    width: auto;
    margin-right: 10px;
}

/* MENU BUTTON */
.menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
}

/* NAV */
nav {
    background: #003f7f;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

/* ITEMS */
nav li {
    position: relative;
}

nav li a,
nav li span {
    display: block;
    padding: 12px 16px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

/* HOVER */
nav li:hover {
    background: #002a5c;
}

/* DROPDOWN */
.dropdown {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    top: 100%;
    left: 0;
}

.dropdown li a {
    color: #003366;
}

.dropdown li a:hover {
    background: #eee;
}

/* SHOW DROPDOWN */
nav li.open > .dropdown {
    display: block;
}

/* DESKTOP hover */
@media (min-width: 769px) {
    nav li:hover > .dropdown {
        display: block;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-btn {
        display: block;
    }

    nav ul {
        flex-direction: column;
        display: none;
    }

    nav.open ul {
        display: flex;
    }

    .dropdown {
        position: static;
    }
}

/* Forum posts */
.post {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.post h2 {
    margin-bottom: 5px;
    color: #004aad;
}
.post small {
    color: #555;
}
.post a {
    color: #004aad;
    text-decoration: none;
    margin-right: 10px;
}
.post form {
    margin-top: 5px;
}
.post input[type="text"] {
    padding: 5px;
    width: 60%;
}
.post button {
    padding: 5px 10px;
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.post button:hover {
    background-color: #003380;
}

/* Forum comments */
.comments .comment {
    background-color: #f0f4ff;
    padding: 8px;
    border-radius: 4px;
}
.comments .comment strong {
    color: #004aad;
}
