/**********************************
GENERAL
***********************************/

body {
  font-family: 'Lato', sans-serif;
}

#wrapper {
  background-image: url("../img/grey_wash_wall.png");
  background-repeat: repeat;
}

main {
  max-width: 940px;
  margin: 0 auto;
  padding: 30px 5%;
}

a {
  text-decoration: none;
}

img {

}

h3, h4 {
  margin: 0 0 1em 0;
  font-family: 'Amatic SC', sans-serif;
  font-size: 2em;
}

h5 {
  font-size: 1.2em;
  font-weight: 800;
}

p {
  line-height: 1.6em;
}

article {
  background-image: url("../img/notebook.png");
  margin-bottom: 30px;
  padding: 30px;
  -webkit-box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.67);
  -moz-box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.67);
  box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.67);
}



/**********************************
HEADING
***********************************/

header {
  margin: 0 0 0 0;
  padding: 20px 0 0 0;
  width: 100%;
  background-image: url("../img/gray_sand.png");
}

#logo {
  text-align: center;
  margin: 0;
}

h1 {
  font-family: 'Sacramento', cursive;
  margin: 15px 0;
  font-size: 4em;
  font-weight: lighter;
  line-height: 0.8em;
}

h2 {
  font-size: 0.75em;
  margin: -5px 0 0;
  font-weight: normal;
}



/**********************************
NAVIGATION
***********************************/

nav {
  text-align: center;
  padding: 10px 0;
  margin: 20px 0 0;
  background: linear-gradient(rgba(116,214,137,.5), rgba(116,214,137,.5)), url("../img/old_moon.png");
}

nav ul {
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

nav li {
  display: inline-block;
}

nav li:nth-child(odd):hover {

  -webkit-transition: All .1s ease;
  -moz-transition: All .1s ease;
  -o-transition: All .1s ease;
  transition: All .1s ease;

  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  transform: rotate(-10deg);
}

nav li:nth-child(even):hover {

  -webkit-transition: All .1s ease;
  -moz-transition: All .1s ease;
  -o-transition: All .1s ease;
  transition: All .1s ease;

  -webkit-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  -o-transform: rotate(10deg);
  transform: rotate(10deg);
}

nav a {
  font-family: 'Amatic SC', sans-serif;
  font-size: 2em;
  font-weight: 800;
  padding: 15px 20px;
}



/**********************************
FOOTER
***********************************/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  color: #ccc;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}



/**********************************
PAGE: PORTFOLIO
***********************************/

#gallery {
  margin: 0;
  padding: 0;
  list-style: none;
}

#gallery li {
  float: left;
  width: 45%;
  margin: 2.5%;
  background-color: #f5f5f5;
  color: #bdc3c7;
}

#gallery li a p {
  margin: 0;
  padding: 5%;
  font-size: 0.75em;
  color: #bdc3c7
}



/**********************************
PAGE: ABOUT
***********************************/

.profile-photo {
  display: block;
  max-width: 200px;
  margin: 0 30% 30px;
  max-width: 100%;

  border: 7px solid #FFF;

  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  transform: rotate(3deg);

  -webkit-box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.4);
  -moz-box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.4);
  box-shadow: 5px 10px 20px -10px rgba(31,31,31,0.4);

}

.profile-photo:hover {

  -webkit-transition: All .1s ease;
  -moz-transition: All .1s ease;
  -o-transition: All .1s ease;
  transition: All .1s ease;

  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  transform: rotate(-3deg);

  -webkit-box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.4);
  -moz-box-shadow: 0px 53px 26px -48px rgba(31,31,31,0.4);
  box-shadow: -5px 10px 20px -10px rgba(31,31,31,0.4);
}



/**********************************
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');
}

.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 */
body {
  background-color: #fff;
  color: #555;
}

/* green header */
header {
}

article {

}



/* nav background on mobile */
nav {

}

/* logo text */

h1 {
  color: #BCEBC7;
}

header h2 {
  color: #eee;
}
/* links */

a {
  color: #5AA368;
}

a:hover {
  color:#42774C;
}

nav a {
  color: #2B2B2B;
}

/*h1 {
  animation-duration: 3s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}
*/

@media screen and (min-width: 720px) {

  article {
    padding: 60px;
  }
  .profile-photo {
    margin: 0 70% 30px;
  }
}

@media screen and (min-width: 600px) and (max-width: 860px)  {

  .profile-photo {
    margin: 0 55% 30px;
  }
}
