/*reset rule*/
* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: verdana;
    background-color: #EEE;
}

header .promo_bar {
    background-color: hsl(37, 82%, 55%);
    min-height: 56px;
}

header nav{
    background-color: #FFF;
    min-height: 77px;
}

section.hero {
    min-height: 500px;
    background-color: skyblue;
    background-image: url(../images/dog1.jpg);
    background-size: cover;
    background-position: center bottom;
    position: relative;
}

.hero_text {
    color: #FFF;
    font-family: Impact;
    font-size: 4em;
    padding: 20px 20px 20px 20px;
    /* background-color: rgba(20,20,20,.7); */
    position: absolute;
    top: 40px; left: 40px;
    letter-spacing: .1em;
}

.call-to-action {
    display: block; /*conver to a black element*/
    background-color: hsl(37, 82%, 55%);
    width: 180px; 
    padding: 20px 8px;
    position: absolute;
    bottom: 40px; left: 60px;
    text-decoration: none; /*gets rid of underline on links*/
    text-align: center;
    color: #000;
    font-size: 16pt;
    border-radius: 8px;
    transition: background-color 250ms linear;
}

.call-to-action:hover {
    background-color: hsl(37, 82%, 40%)
}

section.products {
    min-height: 300px;
    background-color: #EEE;
    display: flex;
    justify-content: space-evenly;
    flex-flow: row wrap;
    gap: 5px;
    padding: 20px 0px 20px 0px; /*top right bottom left*/
}

.product_card {
    flex: 0 0 20%; 
    background-color: #FFF;
    padding: 4px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 12px #888;
    transition: box-shadow .25s linear;
    text-decoration: none;
    color: #000
}

.product_card:hover {
    box-shadow: 0 0 4px #555;
}

.product_hard h2 {
    font-size: 12pt;
    margin-top: 40px;
    margin-bottom: 10px;
}

.product_card img {
    width: 80%;
}

.product_card p {
    font-size: 8pt;
}

.featured_story {
    display: inline-block;
    width: 80%; margin: 40px auto;
    min-height: 400px;
    background-color: #FFF;
    display: flex;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
}

.featured_story figcaption {
    background-color: #FFF;
    flex: 0 0 30%;
    border-radius: 6px 0 0 6px;
}

.featured_story figcaption p:first-child {
    color: #EEE;
    text-align: center;
    text-transform: uppercase;
    font-size: 8pt;
    margin: 8px;
    font-weight: bold;
}

.featured_story figcaption h2 {
    margin: 16px;
    font-size: 14pt;
    line-height: 1.4;
}

.featured_story figcaption p {
    margin: 16px;
    font-size: 10pt;
    line-height: 1.6;
}

.featured_story figure {
    background-color: pink;
    flex: 0 0 70%;
    background-image: url(../images/dog4.jpg);
    background-position-y: 70%;
    position: relative;
    background-size: cover;
    border-radius: 0 6px 6px 0;
}

footer {
    min-height: 300px;
    background-color: #333;
    color: #EEE;
}