/* Global Styles for all elements */
* {
    box-sizing: border-box;   /* Set box-sizing to border-box for all elements */
    padding: 0;  /* Remove default padding */
    margin: 0;  /* Remove default margin */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; /* Moved font declarations here to set a default font family instead of repeating on individual elements*/
}

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

/* updated to point at the header element */
header {
    padding: 20px;   /* Add padding to the header */
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;  /* Set font family for the header */
    background-color: #2a607c;
    color: #ffffff;
}

header h1 {
    display: inline-block;  
    font-size: 48px;  /* increase font size from default 34 */
}

header h1 .seo {
    color: #d9dcd6;  /* Change the color of only "seo" in the header */
}

/* updated from div to nav */
header nav {
    padding-top: 15px;
    margin-right: 20px;
    float: right;  /* Float the navigation to the right */
    font-size: 20px;
}

/* updated from div to nav */
header nav ul {
    list-style-type: none;  /* ensures no list markers ie bullets */
}

/* updated from div to nav */
header nav ul li {
    display: inline-block;
    margin-left: 25px;
}

a {
    color: #ffffff;
    text-decoration: none;  /* Remove default text decoration for anchors */
}

p {
    font-size: 16px;  /* sets all font size to 16 within the p tag */
}

.hero {
    height: 800px;
    width: 100%;
    margin-bottom: 25px;
    background-image: url("../images/digital-marketing-meeting.jpg");  /* display an image in the tag id  */
    background-size: cover;  /* Set background size to cover for the hero section */
    background-position: center;
}

/* article image on the left */
.float-left {
    float: left;
    margin-right: 25px;
}

/* article image on the right */
.float-right {
    float: right;
    margin-left: 25px;
}

/* changed from content class to section element */
section {
    width: 75%;   /* set the width to leave room for the aside */
    display: inline-block;
    margin-left: 20px;   
}

/* changed from content class to section element */
/* consolidated individual elements into section article */
section article {
    background-color: #0072bb;
    color: #ffffff;
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
}

/* changed from content class to section element */
/* consolidated individual elements into section article */
section article img {
    max-height: 200px;  /* make sure the images fit within the article */
}

/* changed from content class to section element */
/* consolidated individual elements into section article */
section article h2 {
    margin-bottom: 20px;  /* needs to be put in again since default margin is zero */
    font-size: 36px;
}

/* changed from benefits class to aside element */
aside {
    margin-right: 20px;
    padding: 20px;
    clear: both;
    float: right;
    width: 20%;  /* takes up the right portion of the screen, leaves room for the padding/margin-right */
    height: 100%;
    background-color: #2589bd;
}

/* changed from benefits class to aside element */
/* consolidated the individual elements into aside article */
aside article {
    margin-bottom: 32px;
    color: #ffffff;
}

/* changed from benefits class to aside element */
/* consolidated the individual elements into aside article */
aside article h3 {
    margin-bottom: 10px;
    text-align: center;
}

/* changed from benefits class to aside element */
/* consolidated the individual elements into aside article */
aside article img {
    display: block;
    margin: 10px auto;
    max-width: 150px;
}

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

footer h2 {
    font-size: 20px;
}
