html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

.clearfix:after { /* clearfix */
  content: "";
  display: table;
  clear: both;
}


/* COLOUR PALETTE REFERENCE:
book palette
#833B46; /*Autobiography red-orange*
#5C2F46; /*War and Peace burgundy*
#833B46; /*The red and the black purple*
#204464; /*Vanity Fair royal blue*
#2F3C5F; /*The House of the Seven Gables navy*
#22424F; /*Of Human Bondage teal*
#5B322E; /*Divine Comedy rust*
#F1DEB8; /*Gold gilt*
*/


/*================
 tag styling
 =================*/
body {
  font-family: "Merriweather", serif;
  color: #FFFFFF;
  background: url(../images/bookshelf.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  line-height: 1.5;
}


h1, h2, h3, h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  margin: 0;
}

h1 {
  /* For all of h1 except the accent words which will follow 'span' */
  font-weight: 700;
  font-size: 48px;
  /*font-family: "Pacifico", cursive;*/
  /*font-weight: 400;*/}

h2 {
  text-transform: uppercase;
  /*font-size: 32px;*/
  color: #F1DEB8; /*Gold gilt*/
}

h3 {
  font-size: 26px;
  text-transform: uppercase;
}

h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

h4 {
  font-size: 22px;
}

p {
  font-size: 20px;
}

a {
    color: #ffffff;
    transition: all 0.5s ease;
    font-style: italic;
}

a:hover {
    color: #999999;
}


/*================
 getting content into a column in the centre
 =================*/
.content-wrap {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  padding: 60px 0;
}



/*================
 header
 =================*/

header {
    text-align: center;
    padding: 110px 0;
    /*text-shadow: 3px 3px 0px #2c2e38, 5px 5px 0px #5c5f72;*/
    color: #F1DEB8; /*Gold gilt*/
}

.content-wrap-header {
  background: rgba(20, 38, 46, 0.89); /*Darkened version of Of Human Bondage*/
  display: inline-block;
  margin: 0 auto;
  padding: 30px;
  border: 4px ridge #F1DEB8; /*Gold gilt*/
  border-radius: 6px;
}

header h1 {
  margin: 0px 0px 16px;
  text-transform: uppercase;
}

.accent {
  font-family: "gentium book basic", serif;
  text-transform: none;
  font-style: italic;
  color: #F1DEB8; /*Gold gilt*/
  /* For the Patricia in Patricia Gillett-Kawamoto */
}

.download {
    position: fixed;
    top: 0;
    right: 0;
    display: inline-block;
    background: #14262E;
    padding: 18px;
    text-decoration: none; /* removes underline */
    color: #fff;
    margin: 0 auto;
    border: 4px ridge #F1DEB8; /*Gold gilt*/
    border-radius: 6px;
    font-style: normal;
    text-align: center;
    color: #FFE9CC; /*Gold gilt*/
    font-size: 18px;
}

/*================
 Profile section
 =================*/
.profile {
  background: linear-gradient(rgba(32, 68, 100, 0.68), rgba(32, 68, 100, 1)); /*Vanity Fair royal blue*/
  clear: both;
 }

.profile h2 {
  color: #2F3C5F; /*The House of the Seven Gables navy*/
  border: none;
  display: inline-block;
  padding: 10px 20px;
  background: #F1DEB8; /*Gold gilt*/
  transform: rotate(-4deg);
  margin-bottom: 10px;
}

.profile h2:hover {
    /* This is the bounce CSS */
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}

.profile img {
  float: left;
  width: 27%;
  margin-right: 3%;
  border-radius: 50%;
  border: 5px ridge #F1DEB8; /*Gold gilt*/
}


.summary {
  width: 70%;
  float: right;
}


/*================
 Work experience section
 =================*/
.work-experience {
   background: linear-gradient(rgba(131, 59, 70, 0.96), rgba(131, 59, 70, 0.96)),
               url(../images/bookshelf.jpg); /*Autobiography red-orange*/
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-size: cover;
   position: 40%;
 }

.details {
  width: 30%;
  float: left;
}

.description {
  width: 70%;
  float: right;
}

.subsection h2{
    border-top: 1px solid #F1DEB8; /*Gold gilt*/
}

.subsection h2:first-child {
    border-top: none;
}

.item {
    margin-bottom: 15px;
}

.company {
  font-family: "gentium book basic";
  text-transform: none;
  font-style: italic;
  margin-bottom: 5px;
}


/*================
 Skills
 =================*/
 .skills {
   background: linear-gradient(rgba(20, 38, 46, 0.96), rgba(34, 66, 79, 0.93)),
               url(../images/bookshelf.jpg); /*gradient is from a darkened Of Human Bondage color to the regular Of Human Bondage color*/
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-size: cover;
   position: 40%;
   text-align: center;
 }

.skills h3 {
  margin-top: 40px;
  margin-bottom: 10px;
}

 .skills .columns {
   width: 33.33%;
   float: left;
 }

 .skills ul {
     list-style-type: none;
     padding: 0;
 }

 .skills-list i, .skills-list h4 {
     color: #F5E2CD; /*Gold gilt*/
 }

 .skills-list ul li {
    font-size: 18px;
  }

.skills-list ul li a {
   font-style: normal;
 }


.skills-circles ul li {

  text-decoration: none;color: #22424F; /*Of Human Bondage teal (34, 66, 79)*/
  font-weight: 700;
  background: #F1DEB8; /*Gold gilt*/
  display: inline-block;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  border: 5px solid #22424F;
  line-height: 150px;
  font-size: 18px;
}
.skills-circles ul li a {
  color: #22424F; /*Of Human Bondage teal (34, 66, 79)*/
  font-style: normal;
}
.skills-circles span {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
}


 /*================
  Education
  =================*/
 .education {
   background: linear-gradient(rgba(92, 47, 70, 1.0), rgba(92, 47, 70, 0.93)),
               url(../images/bookshelf.jpg); /*War and Peace burgundy, solid at top and a little transparent at bottom*/
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-size: cover;
   postition: 40%;
 }


 /*================
  contact
  =================*/
 .contact {
   background: #2F3C5F; /*The House of the Seven Gables navy*/
   background: linear-gradient(rgba(47, 60, 95, .92), rgba(47, 60, 95, .98)),
               url(../images/bookshelf.jpg); /*War and Peace burgundy, solid at top and a little transparent at bottom*/
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-size: cover;
   postition: 40%;
 }
