/* reset rule */

*{
    margin:0; padding:0; box-sizing: border-box;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #eee;
}

header{
    background-color: #FFF;
}

header .promo_bar {
    background-color: hsl(37, 82%, 55%);
    min-height: 56px;
}

header nav {
    background-color: #FFF;
    min-height: 77px;
}

section.hero {
    min-height: 450px;
    background-color: aqua;
    background-image: url(../images/dog2.jpg);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: right center;
    position:relative;
}

.call-to-action {
   display:block;
    background-color: hsl(37, 82%, 55%);
    width: 180px; padding: 16px 8px;
    position: absolute; bottom: 40px; left: 100px;
    text-decoration: none;
    text-align: center; /* align text horizontally */
    color: #234;
    font-size: 16pt;
    border-radius: 8px;
    box-shadow: 2px 3px  6px rgba (10,10,10,.7);
    transition: background-color 250ms linear;
   
}

.call-to-action:hover {
    background-color: hsl(37, 82%, 40%)
}
.hero_text {
    color: #fff;
    font-family: impact;
    font-size:2.7em;
    padding: 20px;
    background-color:rgba(20,20,20,.7);
    position: absolute;
    top: 10px; left: 100px;
    letter-spacing: .1em;
}


section.products {
    min-height: 300px;
    background-color: #eee;
    display: flex; /* make this a flexbox parent */
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 5px;
    padding: 20px 100px /* top right bottom left */
}

.product_card {
    padding: 4px;
    flex: 0 0 20%;
    background-color: #fff;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 20px #888;
    transition: box-shadow .50s linear;
    text-decoration: none;
    color: #234;
}

.product_card:hover {
    box-shadow: 0 0 20px #555
}
.product_card h2 {
    font-size: 10pt;
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;

}

.product_card img {
    width: 80%;

}

.product_card p {
    font-size: 8px;
}

.featured_story {
    display: inline-block;
    width: auto; margin: 40px 100px;
    min-height: 400px;
    background-color: #fff;
    display: flex; /*becomes a flex parent */
    text-decoration: none;
    color: #234;
    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 {
    
    text-align: center;
    text-transform: uppercase;
    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/dog3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    border-radius: 0 6px 6px 0;
}
footer {
    min-height: 400px;
    background-color: gray
}

header div.inner-container, nav.inner-container, footer div.inner-container {
    margin: 0px 100px;
    padding-top: 10px;
}

