/* Formatting for all elements on the webpage */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Formatting the background color to be a light grey color for the body of the webpage */
body {
    background-color: #d9dcd6;
}

/* Formatting all the header elements: 1)At least a 20 pixel space around all the elements; 2) Defining the text font; 3) Header background color to be blue; 4) font color to be white */
.header {
    padding: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #2a607c;
    color: #ffffff;
}

/* Positioning of and font size of the 'Horiseon' logo on the webpage */
.header h1 {
    display: inline-block;
    font-size: 48px;
}

/* Text color formatting for the 'seo' in the 'Horiseon' logo */
.header h1 .seo {
    color: #d9dcd6;
}

/* Positioning and formatting of all header elements aside from the 'Horiseon' logo  */
.header div {
    padding-top: 15px;
    margin-right: 20px;
    float: right;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
}

.header div ul {
    list-style-type: none;
}

/* Positioning how the navigation elements will be displayed on the webpage */
.header div ul li {
    display: inline-block;
    margin-left: 25px;
}

/* Formatting the text appearance of the navigation elements to be font color white with no text decorations */
a {
    color: #ffffff;
    text-decoration: none;
}

/* Formatting the font size of the paragraph elements throughout the page. */
p {
    font-size: 16px;
}

/* Providing the source image on the wepbage, as well as the positioning and size of the image */
.hero {
    height: 800px;
    width: 100%;
    margin-bottom: 25px;
    background-image: url("../images/digital-marketing-meeting.jpg");
    background-size: cover;
    background-position: center;
}

/* Establishing the positioning of the images on the right and left within the created created section boxes in the main body of the webpage. */
.float-left {
    float: left;
    margin-right: 25px;
}

.float-right {
    float: right;
    margin-left: 25px;
}

/* Positioning of all elements contained within the main body of the webpage */
.content {
    width: 75%;
    display: inline-block;
    margin-left: 20px;
}

/* Positioning and formatting including the font, text color, and background color of the different elements within each section of the main body of the webpage */
.search-engine-optimization {
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #0072bb;
    color: #ffffff;
}

.online-reputation-management {
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #0072bb;
    color: #ffffff;
}

.social-media-marketing {
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #0072bb;
    color: #ffffff;
}

/* Establishing the size of the images contained in each section of the main body of webpage. */
.search-engine-optimization img {
    max-height: 200px;
}

.online-reputation-management img {
    max-height: 200px;
}

.social-media-marketing img {
    max-height: 200px;
}

/* Establishing the spacing and font size of the heading elements for the different sections of the mainbody of the webpage. */
.content h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

/* Establishing the overall positioning and formatting of all elements contained within the aside portion of the webpage. */
.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;
}

/* Establishing the spacing and text font color of the different sections within the aside portion of the webpage. */
.benefit-lead {
    margin-bottom: 32px;
    color: #ffffff;
}

.benefit-brand {
    margin-bottom: 32px;
    color: #ffffff;
}

.benefit-cost {
    margin-bottom: 32px;
    color: #ffffff;
}

/* Positioning of the different section header elements within the aside portion of the webpage. */
.benefits h3 {
    margin-bottom: 10px;
    text-align: center;
}

/* Position and sizing of the image elements for each section of the aside portion of the webpage.*/
.benefits img {
    display: block;
    margin: 10px auto;
    max-width: 150px;
}

/* Formatting the elements contained withing the footer of the web page including the font appearance. */
.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;
}
