/* tells browser to fix box model calculations and gets rid of margins*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/*sets background color for body */
body {
    background-color: #d9dcd6;
}

 /* header */
 header {
    padding: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #2a607c;
    color: #ffffff;
}

 /* targets h1 element inside of header */
 header h1 {
    display: inline-block;
    font-size: 48px;
    color: #d9dcd6;
}

 /* targets nav inside of header element */
 header nav {
    padding-top: 15px;
    margin-right: 20px;
    float: right;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
}

 /* targes nav's ul inside of header */
 header nav ul {
    list-style-type: none;
}

 /* targets list inside of header */
 header nav ul li {
    float: left;
    width: auto;
    list-style: outside none none;
    margin-left: 25px;
}

 /* changes color of links on top of the page*/
a {
    color: #ffffff;
    text-decoration: none;
}

 /* changes size of paragraph */
p {
    font-size: 16px;
}

 /* changes size of main background image */
.hero {
    height: 800px;
    width: 100%;
    margin-bottom: 25px;
    background-image: url("../images/digital-marketing-meeting.jpg");
    background-size: cover;
    background-position: center;
}

 /* target first and last image to float left */
 .float-left {
    float: left;
    margin-right: 25px;
}

 /* targets middle image to float right */
.float-right {
    float: right;
    margin-left: 25px;
}

/* targets size and display of content on page */
main {
    width: 75%;
    display: inline-block;
    margin-left: 20px;
}

/* targets lead generation, brand awareness, cost management: changes its margins, paddings, and formatting */
.benefits {
    margin-right: 20px;
    padding: 20px;
    clear: both;
    float: right;
    width: 20%;
    height: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #2589bd;
}

 /* benefit size targets lead generation, brand awareness, cost management */
.benefit-size {
    margin-bottom: 32px;
    color: #ffffff;
}

.benefit-size h3 {
    margin-bottom: 10px;
    text-align: center;
}

.benefit-size img {
    display: block;
    margin: 10px auto;
    max-width: 150px;
}

 /* targets the main content of the page which is the SEO, O.R.M, S.M.M. */
.mmsizes {
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #0072bb;
    color: #ffffff;
}

 /* changes the height of the middle images on page */
.mmsizes img {
    max-height: 200px;
}
 
 /* targets h2 of main content and changes margins and font sizes */
.mmsizes h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

 
 /* footer */
 footer {
    padding: 30px;
    clear: both;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
}

 footer h2 {
    font-size: 20px;
}
