 /*******************
GENERAL
********************/

/*pixels are absolute, percentage is relative to browser size*/

body {
font-family: 'Oswald', sans-serif;
}

#wrapper {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 5%;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  /*setting a max width of 100% tells images to fill the width of their parent container; image shrinks with container/browser window.*/
}

h3 {
  margin: 0 0 1em 0;
  /*this 1em on the bottom is just an insurance policy in case there are any padding issues with the text below it*/
}

h4 {
    margin-bottom: 0em;
}

section {
    line-height: 200%;
}

section h1 {
    font-family: 'Quicksand', sans-serif;
    line-height: 100%;
    
}

section ul {
    list-style: none;
}

p.skipnavigation a {
    position: absolute;
    left: -10000px;
}

p.skipnavigation a:focus {
    color: darkred;
    background-color: white;
    top: 0.2em;
    left: 0.4em;
    z-index: 2;
    
}

p.center {
    text-align: center;
}

blockquote.style2 {
  font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 50px;
  padding-left: 15px;
  border-left: 3px solid darkred;
} 


p.backtotop a {
    color: darkred;
    background-color: white;
    top: 0.2em;
    left: 0.4em;
    
    
}

 #table1 {
    width: 70%; 
    margin-left: 15%; 
    margin-right: 15%;
    text-align: left;
  }


th, td {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

/*******************
HEADING
********************/

header {
 float: left;
 margin: 30px 0 30px 0;
  /*top, right, bottom, left: clockwise*/
  padding: 5px 0 0 0;
  width: 100%;
}

#logo {
  text-align: center;
  margin: 0;
}

h1 {
  font-family: 'Raleway', sans-serif;
  margin: 15px 0; 
  font-size: 1.75em;
  font-weight: bold;
  line-height: 0.8em;
}
/* 'em' is a relative unit; relative to 16px which is the browser default.  1em therefore equals 16px and is basically a multiplier.*/

h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75em;
  margin: -5px 0 0;
  font-weight: normal;
}

/*The three values for margin represent: 15px (top and bottom), 0 (left and right), and 0 (bottom).  A negative value (-5) draws the elements closer together.*/


/*******************
NAVIGATION
********************/



nav {
  text-align: center;
  padding: 10px 0;
  margin: 20px 0 0;
}

nav ul {
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

nav li {
  display: inline-block;
}

nav a {
  font-family: 'Quicksand', sans-serif;
    font-weight: bold;
  padding: 15px 10px;
}

/*******************
FOOTER
********************/

footer {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  /*padding-top specifies that you only want padding on the top*/
  color: darkred;
  
}

.social-icon {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

/*******************
PAGE: ARCHIVE
********************/

#gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  /*this removes bullet points from ul*/
}

#gallery li {
  float: left;
  width: 45%;
  margin: 2.5%;
    /*original is width 45% and margin 2.5 totalling 100*/
  background-color: #f5f5f5; 
  text-align: center;
  color: darkred;
}

#gallery li a p {
  margin: 0;
  padding: 5%;
  font-size: 0.75em;
  color: dimgray;

}











/*******************
PAGE: ABOUT
********************/

.profile-photo {
  display: block;
  /*using display: block; instead of text-align: center; gives us more flexibility for the desktop layout*/
  max-width: 300px;
  margin: 0 auto 30px;
  border-radius: 20px;
}


/*******************
PAGE: CONTACT
********************/

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
}

.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;
}

.contact-info li.phone a {
  background-image: url('../img/phone.png');
  /*the two dots in the URL symbolize moving two directories from main.css.  It moves up to the css folder and down to the img folder to select the phone.png*/
}

.contact-info li.mail a {
  background-image: url('../img/mail.png');

}

.contact-info li.twitter a {
  background-image: url('../img/twitter.png');
  
}



/*******************
COLORS     
********************/

/* site body area of HTML code */
body {
  background-color: white;
  color: black;
}


/* Nav background on mobile devices */
nav {
  background-color: #1a1a1a;
}


/* logo text */
h1, h2 {
  color: darkred;
}

/* links */
a {
  color: black;
}


/* color for nav link */
nav a, nav a:visited {
  color: darkred;
}

/* selected nav link color */
nav a.selected, nav a:hover {
  color: lightslategrey;
}



