* {
    margin: 0; padding:0; box-sizing: border-box;
}

body {
    font-family: Verdana;
    background-color: #EEE;
}

header {
    background-color: #FFF;
}


header .promo_bar {
    background-color: #eaa22e;
    min-height: 56px;
}

header nav {
    background-color: #FFF;
    min-height: 77px;
}

section.hero {
    min-height: 400px;
    background-color: skyblue;
    background-image: url(../images/dog_hiking.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center calc(50% - 140px);
    position: relative;  
}

.hero_text {
    color: #FFF;
    font-family: impact;
    font-size: 2.65em;
    padding: 20px;
    background-color: rgba(20,20,20,.7);
    border-radius: 20px;
    float: left;
    position: absolute;
    top: 10px; left: 100px;
    letter-spacing: .10em;
}

.call-to-action {
    display: block; /* convert to a block element */
    background-color: #eaa22e;
    width: 180px; padding: 16px 8px;
    position: absolute; bottom: 40px; left: 100px;
    text-decoration: none;
    text-align: center; /* horiz center the text */
    font-weight: bold;
    color: #00263e;
    font-size: 16pt;
    border-radius: 6px;
    box-shadow: 2px 3px 6px rgba(10,10,10,0.7); /*creates shadow effect around flexbox*/
    transition: background-color 250ms linear; /*Transitions a fade to hover color*/
}

.call-to-action:hover {
    background-color: hsl(37, 82%, 40%); /* last digit controls how dark it is */
}


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; /* padding: top right bottom left */
}

.product_card {
    flex: 0 0 20%;
    min-width: 260px;
    background-color: #FFF;
    padding: 4px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 20px #888;
    transition: box-shadow .25s linear;
    text-decoration: none; /* gets rid of underline */
    color: #00263e;
}

.product_card:hover {
    box-shadow: 0 0 8px #555;

}

.product_card h2 {
    text-align: center;
    font-size: 10pt;
    margin-top: 20px;
}

.product_img {
    width: 80%;
    height: 75%;
    object-fit: cover;   
    border-radius: 8px;  
    margin-bottom: 8px;
}

.product_card p {
    font-size: 8pt;
}

.featured_story {
    margin: 40px 100px;
    min-height: 400px;
    background-color: #FFF;
    display: flex; /* puts blocks side-by-side */
    text-decoration: none; /*gets rid of underline for links*/
    color: #00263e;
    border-radius: 6px;
}

.featured_story figcaption {
    background-color: #FFF;
    flex: 0 0 30%; /* makes the figcaption take up 30% of the parent block */
    border-radius: 6px 0 0 6px;
}

.featured_story figcaption p:first-child {
    color: #234;
    text-align: center;
    text-transform: uppercase;
    font-size: 8pt;
    font-weight: bold;
    margin: 8px;
}

.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 {
    flex: 0 0 70%; /* makes the figure take up 70% of the parent block */
    background-image: url(../images/dog_hiking_1.jpg);
    background-size: cover; /* Covers block with img */
    border-radius: 0 6px 6px 0;
}

footer {
    min-height: 300px;
    background-color: #333;
    color: #EEE;   
}

header div.inner-container,
nav.inner-container,
footer div.inner-container {
    margin: 0px 100px;
    padding-top: 10px;
}

