/*This styles the bordering box around the head element*/
head {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/*This describes the background colour for the body (behind the images and content)*/
body {
    background-color: #d9dcd6;
}

/*This styles the box, font style, background colour and text colour for the header element*/
.header {
    padding: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #2a607c;
    color: #ffffff;
}


/*This describes the positioning and font size for the header h1 element*/
.header h1 {
    display: inline-block;
    font-size: 48px;
}

/*This gives the "seo" part in Horiseon a colour independent of the rest from the word in header h1*/
.header h1 .seo {
    color: #d9dcd6;
}

/*This will style the nav element within the header element specifically*/
.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;
}

/*This will style the ul element within the nav within the header element, specifically*/
.header nav ul {
    list-style-type: none;
}

/*This will then specifically style the li element within header>nav>ul*/
.header nav ul li {
    display: inline-block;
    margin-left: 25px;
}

/*Styles all "a" tags*/
a {
    color: #ffffff;
    text-decoration: none;
}

/*Styles all "p" tags*/
p {
    font-size: 16px;
}

/*Inserts the background image as well as styles it to specifics*/
.hero {
    height: 800px;
    width: 100%;
    margin-bottom: 25px;
    background-image: url("./digital-marketing-meeting.jpg");
    background-size: cover;
    background-position: center;
}

/*Styles the three articles between the "section" tags*/
.content {
    width: 75%;
    display: inline-block;
    margin-left: 20px;
}

/*The next three selectors/classes style the search engine optimisation article*/
.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;
}

.search-engine-optimization img {
    max-height: 200px;
}

.search-engine-optimization h2 {
    margin-bottom: 20px;
    font-size: 36px;
}
/*The next three selectors/classes style the online reputation management article*/
.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;
}

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

.online-reputation-management h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

/*The next three selectors/classes style the social media marketing article*/
.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;
}

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

.social-media-marketing h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

/*Styles "search-engine-optimisation" and "social-media-marketing" articles to float left*/
.float-left {
    float: left;
    margin-right: 25px;
}

/*Styles "online-reputation-management" article to float right*/
.float-right {
    float: right;
    margin-left: 25px;
}

/*A class to style all "aside" elements starting with "benefit"*/
.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;
}

/*The next three selectors/classes style the benefit-lead div respectively*/
.benefit-lead {
    margin-bottom: 32px;
    color: #ffffff;
}

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

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

/*The next three selectors/classes style the benefit-brand div respectively*/
.benefit-brand {
    margin-bottom: 32px;
    color: #ffffff;
}

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

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

/*The next three selectors/classes style the benefit-cost dic respectively*/
.benefit-cost {
    margin-bottom: 32px;
    color: #ffffff;
}

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

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

/*The final two selector/class style the footer element alone*/
.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;
}
