/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================
   Site header, hamburger menu, and nav links
   ============================================================================ */

/* Header */
header {
    overflow: hidden;
}

/* Logo */
.nav_logo {
    display: inline-flex;
    align-items: center;
}

.nav_logo img {
    margin-top: 4px;
    margin-bottom: 10px;
    margin-left: 10px;
    display: inline-block;
    height: 80px;
    width: auto;
}

/* Hamburger Menu */
#hamburger_checkbox {
    display: none;
}

#hamburger_image {
    background-color: rgba(255, 255, 255, 0);
    display: block;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    width: 10%;
}

#hamburger_image:hover {
    background-color: rgba(43, 43, 43, 0.432);
    cursor: pointer;
    border: #ebeaea 1px solid;
    border-radius: 5px;
}

#menu_heading {
    color: white;
    font-size: 12px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Show or hide the menu */
#hamburger_checkbox:not(:checked) + nav {
    display: none;
}

/* Navigation Links */
nav a {
    color: white;
    float: left;
    font-size: 17px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    width: 98%;
    border-radius: 10px;
    margin: 15px 0 10px 5px;
    border: 1px solid transparent;
}

nav a:hover {
    border-width: 1px;
    border-style: solid;
    border-color: white;
    color: rgb(255, 255, 255);
}

nav a:focus {
    background-color: white;
    color: black;
    outline: none;
}

/* Active Link */
.active_nav {
    border-color: rgb(255, 255, 255);
    color: rgb(255, 247, 247);
    border-width: 1px;
    border-style: solid;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 775px) {
    #menu_heading {
        display: none;
    }

    #hamburger_image {
        display: none;
    }

    #hamburger_checkbox:not(:checked) + nav {
        display: block;
    }

    nav {
        float: right;
        margin-bottom: 5px;
    }

    nav a {
        width: auto;
    }
}

/* Large devices (laptops/desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    header {
        margin: 0 auto;
    }
}
