/* reset rule */
* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background: linear-gradient(thistle,brown );
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    font-family:cursive;
    background-color: thistle;
    border: 8px dotted indianred
}

header {
    height: 200px;
    transform: scaleY(-1);
    border-top: 2px solid #f55;
    background-position: center center;
    background-size: cover;
    position: relative; bottom: 50px;
}

/*child selector*/
header > div {
    transform: scaleY(-1);
}

/*descendant selector*/
header  h1 {
    text-align: center; font-size: 2em;
    position: relative; top: 20px; /* nudge an element a little bit*/
}

#image-samples img {
    width: 200px;
}

article {
    margin: 30px auto; /*center the articles in the web page */
    box-shadow: 4px 4px 20px 15px #222;
    width: 100%;
    padding: 40px;
}

article#multi-background {
    min-height: 300px;
    height: fit-content;
    background-image: url(../images/redtreessnow.jpg), url(../images/dogsheep.jpg);
    background-repeat: no-repeat;
    background-size: 50%, cover; 
}

article#bg-resize {
width: 400px; height: 210px; margin: 40px auto;
background-image: url(../images/snowboardshadow.jpg);
background-size: 100%;
background-position: center;
filter: grayscale(100%);
transition: all 300ms ease-in-out;
}

article#bg-resize:hover {
    background-size: 150%;
    filter: grayscale(0%);
}