/* GLOBAL STYLES */

 /* nav links remained blue until I defined all anchors as white to start, then anchors in the nav element became white.
 text decoration removes bullet points for lists */
a {
  text-decoration: none;
  color: #fff;
}

/* This font was linked to at google in the HTML. sans-serif is a back-up if the Google font is not available */
body { 
  font-family: 'Source Sans Pro', sans-serif;
}

/* Images can be no more than 100% but can get smaller*/
img {
  max-width: 100%;
}


h1 {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 15px, 0;
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  line-height: 0.8em;
}

h2 {
  color: #fff;
  font-size: 0.95em;
  margin: -20px 0 0;
  font-weight: 400;
}

h3 {
  margin: 0 0 1em 0;
}

#logo {
  text-align: center;
  margin: 0;
}


/* STRUCTURE INCLUDING DIVS */

body {
  background-color: #fff;
  color: #999;
}

/* Float left useful later - desktop version*/
header {
  background-color: #6ab47b;
  border-color: #599a68;
  float: left;
  margin: 0 0 30px 0;
  padding: 5px 0 0 0;
  width: 100%;
}

nav {
  background-color: #599a68;
  text-align: center;
  margin: 20px 0 0;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

/* Brings nav up to sit side by side*/
nav li {
  display: inline-block;
}

nav a, nav a:visited {
  color: #fff
  font-weight: 400;
  padding: 15px 10px;
}

nav a.selected, nav a:hover {
  color: #32673f;
}


#wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 5%;
  }

#gallery {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Forces a two column layout as each item = 45% + 2.5% + 2.5% of width of container which is the wrapper div*/
#gallery li {
  float: left;
  width: 45%;
  margin: 2.5%;
  background-color: #f5f5f5;
  color: #bdc3c7;
}

#gallery li a p {
  margin: 0;
  padding: 5%;
  font-size: 1em;
  color: #bdc3c7;
}

/* Clear the footer of the influence of the floats to it's left and right*/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  color: #ccc;
}

/* a CSS class to contain the social media icons in defined size, but hi-res images available for retina screens*/

.social-icons {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

/* About page */

#Tweet {
  color: #000080;
}

.profile-photo {
  display: block;
  max-width: 150px;
  margin: 0 auto 30px;
  border-radius: 100%;
}

/* Contact page */

.contact-info {
  list-style: none;
  padding: 0:
  margin; 0;
  font-size: 0.9em;
}

.contact-info li.phone a {
  background-image: url('../img/phone.png');
}

.contact-info li.mail a {
  background-image: url('../img/mail.png');
}

.contact-info li.twitter a {
  background-image: url('../img/twitter.png');
}

.contact-info a {
  display: block;
  min-height: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding: 0 0 0 30px;
  margin: 0 0 10px;
}
