* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: grey;
    min-height: 100vh; min-width: 400px; max-width: 1400px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h1 {
    color: purple;
}

p {
    margin-top: 2%;
    font-style: italic;
    color: purple;
}

img {
    width: 40px; height: 30px;
    padding-top: .3em; 
}

.container {
    min-height: 100vh;
    display: grid;
    grid-gap: 25px 25px;
    width: 80vw;
    margin: auto;
    grid-template-columns: 2fr 2fr 2fr 1fr;
    grid-template-rows: 50px 50px 50px 50px 50px 50px;
}

.griditem:nth-of-type(1) {
    grid-column-start: 1; grid-column-end: 3;
}

.griditem:nth-of-type(2) {
    grid-column-start: 4; grid-column-end: 4;
}

.griditem:nth-of-type(3) {
    grid-column-start: 5; grid-column-end: 5;
}

.griditem:nth-of-type(4) {
    grid-column-start: 1; grid-column-end: 6;
    grid-row-start: 2; grid-row-end: 12;
    background-image: url(../images/dog_groom_med.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.griditem:nth-of-type(5) {
    grid-column-start: 1; grid-column-end: 2;
    grid-row-start: 12; grid-row-end: 20;
    background-image: url(../images/smallbox_dog1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.griditem:nth-of-type(5) > p {
    margin-top: 3%;
    padding-left: .3em; padding-right: .3em;
    color: #264653;
    font-weight: bold;
}

.griditem:nth-of-type(6) {
    grid-column-start: 2; grid-column-end: 3;
    grid-row-start: 12; grid-row-end: 20;
    background-image: url(../images/smallbox_dog2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.griditem:nth-of-type(6) > p {
    padding-left: .3em; padding-right: .3em;
    color: #264653;
    font-weight: bold;
}

.griditem:nth-of-type(7) {
    grid-column-start: 3; grid-column-end: 4;
    grid-row-start: 12; grid-row-end: 20;
    background-image: url(../images/smallbox_dog3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.griditem:nth-of-type(7) > p {
    padding-left: .3em; padding-right: .3em;
    color: #264653;
    font-weight: bold;
}

.griditem:nth-of-type(8) {
    grid-column-start: 4; grid-column-end: 6;
    grid-row-start: 12; grid-row-end: 20;
    background-image: url(../images/smallbox_dog4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.griditem:nth-of-type(8) > p {
    padding-left: .3em; padding-right: .3em;
    color: #264653;
    font-weight: bold;
}

footer {
    height: 15vh; max-width: 1400px;
    border-top: 30px solid transparent;
    border-image: url(../images/paw_border.jpg) 13% round;
    margin-top: 5%;
}

footer > nav {
    position: inline;
    margin-top: 20px;
    margin-left: 10px;
}

nav > a {
    text-decoration: none;
    padding: .5em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: purple;
}

nav > a:hover {
    color: #264653;
}