html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
  border:0;
  font:inherit;
  font-size:100%;
  margin:0;
  padding:0;
  vertical-align:baseline;
}

:root {
  --primaryTextColor: #222222;
  --secondaryTextColor: #cf8a05;
  --annotationColor: #444444;
  --pageBgColor: #181818;
  --contentBgColor: #f3f3f3;
  --headerBgColor: #ededed;
  --borderColor: #dedede;
  --linkColor: #3366cc;
  --linkVisitedColor: #aa66cc;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display:block;
}

html, body {
  background: var(--pageBgColor);
  font-family: 'Lato', helvetica, arial, sans-serif;
  font-size: 16px;
  color: var(--primaryTextColor);
}

.clear {clear: both;}

p {
  font-size: 1em;
  line-height: 1.4em;
  margin-bottom: 10px;
  color: var(--annotationColor);
}

b {
  font-weight:bold;
}

.hidden {
  display: none;
}

#cv {
  width: 90%;
  max-width: 800px;
  background: var(--contentBgColor);
  margin: 30px auto;
}

.mainDetails {
  padding: 25px 35px;
  border-bottom: 2px solid var(--secondaryTextColor);
  background: var(--headerBgColor);
}

#name {
  padding-top: 6px;
}

#name h1 {
  font-size: 2.5em;
  font-weight: 700;
  font-family: 'Rokkitt', Helvetica, Arial, sans-serif;
  margin-bottom: -6px;
}

#name h2 {
  font-size: 2em;
  margin-left: 2px;
  font-family: 'Rokkitt', Helvetica, Arial, sans-serif;
}

.mainArea {
  padding: 0 40px;
}

#headshot {
  width: 12.5%;
  float: left;
  margin-right: 30px;
}

#headshot img {
  width: 100%;
  height: auto;
  -webkit-border-radius: 50px;
  border-radius: 50px;
}

#name {
  float: left;
}

#contactDetails {
  float: right;
}

#contactDetails ul {
  list-style-type: none;
  font-size: 0.9em;
  margin-top: 2px;
}

#contactDetails ul li {
  margin-bottom: 5px;
  color: var(--annotationColor);
}

#contactDetails ul li a, a[href^=tel] {
  color: var(--annotationColor);
  text-decoration: none;
  -webkit-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -ms-transition: all .3s ease-in;
  transition: all .3s ease-in;
}

#contactDetails ul li a:hover {
  color: var(--secondaryTextColor);
}


section {
  border-top: 2px solid var(--borderColor);
  padding: 20px 0 0;
}

section:first-child {
  border-top: 0;
}

section:last-child {
  padding: 20px 0 10px;
}

.sectionTitle {
  user-select: none;
  float: left;
  width: 15%;
}

.sectionTitle.clickMe::after {
  content: 'Click me to expand >';
  position: relative;
  top: -25px;
  left: 130px;
  color: var(--annotationColor);
  display: inline-block;
  width: 300px;
  font-style: italic;
}

.sectionContent {
  float: right;
  width: 82.5%;
}

.sectionTitle h1 {
  font-family: 'Rokkitt', Helvetica, Arial, sans-serif;
  font-style: italic;
  font-size: 1.5em;
  color: var(--secondaryTextColor);
}

.sectionContent h2 {
  font-family: 'Rokkitt', Helvetica, Arial, sans-serif;
  font-size: 1.5em;
  margin-bottom: -2px;
}

.sectionContent article {
  margin-bottom: 10px;
  border-bottom: 2px solid var(--borderColor);
}

.sectionContent article:last-child {
  border-bottom: 0;
}

.sectionContent article ul {
  margin-left: 20px;
}

.sectionContent article > ul {
  margin-bottom: 10px;
}

.sectionContent article ul > li{
  margin-top: 6px;
}

.sectionContent a:link {
  color: var(--linkColor);
  text-decoration: none;
}

.sectionContent a:visited {
  color: var(--linkVisitedColor);
  text-decoration: none;
}

.subDetails {
  font-size: 0.8em;
  font-style: italic;
  margin-bottom: 3px;
  text-align: right;
}

.keySkills {
  list-style-type: none;
  -moz-column-count:3;
  -webkit-column-count:3;
  column-count:3;
  margin-bottom: 20px;
  font-size: 1em;
  color: var(--annotationColor);
}

.keySkills ul li {
  margin-bottom: 3px;
}

@media all and (min-width: 602px) and (max-width: 800px) {
  section {
    padding: 10px 0 0;
  }

  #headshot {
    display: none;
  }

  .sectionTitle, .sectionContent {
    float: none;
    width: 100%;
  }

  .keySkills {
    -moz-column-count:2;
    -webkit-column-count:2;
    column-count:2;
  }
}

@media all and (max-width: 601px) {
  section {
    padding: 10px 0 0;
  }

  #cv {
    width: 95%;
    margin: 10px auto;
    min-width: 280px;
  }

  #headshot {
    display: none;
  }

  #name, #contactDetails {
    float: none;
    width: 100%;
    text-align: center;
  }

  .sectionTitle, .sectionContent {
    float: none;
    width: 100%;
  }

  .sectionTitle {
    margin-left: -2px;
    font-size: 1em;
  }

  .keySkills {
    -moz-column-count:2;
    -webkit-column-count:2;
    column-count:2;
  }
}

@media all and (max-width: 480px) {
  .mainDetails {
    padding: 15px 15px;
  }

  section {
    padding: 5px 0 0;
  }

  .mainArea {
    padding: 0 25px;
  }


  .keySkills {
    -moz-column-count:1;
    -webkit-column-count:1;
    column-count:1;
  }

  #name h1 {
    line-height: .8em;
    margin-bottom: 4px;
  }
}

@media print {
  #cv {
    width: 120%;
  }
}

@-webkit-keyframes reset {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes reset {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-moz-keyframes fade-in {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes reset {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.glanceFade {
  -webkit-animation-name: reset, fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-timing-function: ease-in;

  -moz-animation-name: reset, fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-timing-function: ease-in;

  animation-name: reset, fade-in;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
}

.instaFade {
  -webkit-animation-name: reset, fade-in;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-timing-function: ease-in;

  -moz-animation-name: reset, fade-in;
  -moz-animation-duration: 1.5s;
  -moz-animation-timing-function: ease-in;

  animation-name: reset, fade-in;
  animation-duration: 1.5s;
  animation-timing-function: ease-in;
}

.quickFade {
  -webkit-animation-name: reset, fade-in;
  -webkit-animation-duration: 2.5s;
  -webkit-animation-timing-function: ease-in;

  -moz-animation-name: reset, fade-in;
  -moz-animation-duration: 2.5s;
  -moz-animation-timing-function: ease-in;

  animation-name: reset, fade-in;
  animation-duration: 2.5s;
  animation-timing-function: ease-in;
}

.delayOne {
  -webkit-animation-delay: 0, .5s;
  -moz-animation-delay: 0, .5s;
  animation-delay: 0, .5s;
}

.delayTwo {
  -webkit-animation-delay: 0, 1s;
  -moz-animation-delay: 0, 1s;
  animation-delay: 0, 1s;
}

.delayThree {
  -webkit-animation-delay: 0, 1.5s;
  -moz-animation-delay: 0, 1.5s;
  animation-delay: 0, 1.5s;
}

.delayFour {
  -webkit-animation-delay: 0, 2s;
  -moz-animation-delay: 0, 2s;
  animation-delay: 0, 2s;
}

.delayFive {
  -webkit-animation-delay: 0, 2.5s;
  -moz-animation-delay: 0, 2.5s;
  animation-delay: 0, 2.5s;
}
