header {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    background-color: #1B386D;
    height: 140px;
}

body {
    margin: 0;
}

#logout {
    text-decoration: underline;
}

.logo {
    margin-left: 25px;
    min-width: 200px;
    height: auto;
    color: white;
    transition: opacity 0.2s ease;
    height: auto;
}

.logo:hover {
    opacity: 0.7;
}

.center-content {
    text-align: center;
    flex-grow: 1;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.center-content h1 {
    margin: 0;
    font-size: 2em;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.nav-links {
    margin-top: 15px;
    display: flex;
    justify-content: flex-start;
}

.nav-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #333;
    font-size: 1em;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}

.nav-links a:hover {
    text-decoration: underline;
}

#links_container {
    display: flex;
    flex-direction: row;
}

#logged_in_nav {
    margin-top: 14px;
}

#logged_in_nav a {
    margin-right: 15px;
    text-decoration: underline;
    color: #333;
    font-size: 1em;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}

/* Small devices (mobile) */
@media only screen and (max-width: 600px) {
    .header_link {
        display: none;
    }
    .center-content h1 {
        display: none;
    }
    header {
        flex-direction: column;
    }
    .center-content {
        margin-left: 0;
    }
    #lo_nav_links {
        display: none;
    }
    #lo_header {
        justify-content: center;
    }
    #lo_center_content {
        display: none;
    }
}

/* Medium devices (tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .header_link {
        display: none;
    }
    .center-content {
        align-items: center;
    }
    #lo_nav_links {
        display: none;
    }
}

/* Large devices (desktops) */
@media only screen and (min-width: 1025px) {
    /* Styles for desktops and larger */
}