﻿.navbarBlog {
    overflow: hidden;
    background-color: #f5f5f5;
}

    .navbarBlog a {
        float: left;
        font-size: 16px;
        color: black;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

    .navbarBlog [type=submit] {
        float: left;
        font-size: 16px;
        color: black;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }
.subnav {
    float: left;
    overflow: hidden;
}

    .subnav .subnavbtn {
        font-size: 16px;
        border: none;
        outline: none;
        color: black;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

    .navbarBlog a:hover, .subnav:hover .subnavbtn {
        background-color: darkgrey;
    }

.subnav-content {
    display: none;
    position: absolute;
    left: 20%;
    background-color: #403f3d;
    width: 50%;
    z-index: 1;
}

    .subnav-content a {
        float: left;
        color: black;
        text-decoration: none;
    }

        .subnav-content a:hover {
            background-color: #eee;
            color: black;
        }

.subnav:hover .subnav-content {
    display: block;
}

#hero {
    width: 100%;
    height: 25vh;
    background: url("../assets1/img/blueGraphic.jpg") top center;
    background-size: cover;
    position: relative;
    border-bottom: 1px solid #222;
}

    #hero:before {
        content: "";
        background: rgba(0, 0, 0, 0.7);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    #hero .hero-container {
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }

    #hero h1 {
        margin: 0 0 30px 0;
        font-size: 48px;
        font-weight: 700;
        line-height: 56px;
        color: #fff;
    }

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }

        #hero h1, #hero h2 {
            width: 50%;
        }
}

@media (max-width: 768px) {
    #hero {
        height: 40vh;
    }

        #hero h1 {
            font-size: 28px;
            line-height: 36px;
        }

        #hero h2 {
            font-size: 18px;
            line-height: 24px;
            margin-bottom: 30px;
        }
}
