@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?6fqsf1');
  src:  url('../fonts/icomoon.eot?6fqsf1#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?6fqsf1') format('truetype'),
    url('../fonts/icomoon.woff?6fqsf1') format('woff'),
    url('../fonts/icomoon.svg?6fqsf1#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  transition: ease all .5s;
}

html {
  background-color: #222;
}

body {
  padding: 0;
  margin: 0;
  font-family: lato, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  color: #222;
}

main {
  background-color: #eee5e9;
}

a {
  color: #3EB2C2;
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: lato, sans-serif;
  font-weight: 400;
  line-height: 1.1em;
  margin: 0;
}

h2 {
  font-size: 2em;
  color: #3EB2C2;
  text-transform: uppercase;
}

p {
  margin: 0 0 1em 0;
}

a:hover {
  color: #222;
}

section {
  text-align: center;
}

section:not(.intro) {
  padding: 40px;
}

nav ul, section > div {
  margin: auto;
}

/* ===================== */
/* MAIN NAV
/* ===================== */

header {
  position: fixed;
  z-index: 15;
  width: 100%;
  bottom: 0;
  border-top: 1px solid rgba(255,255,255,.05);
  background-color: #222;
}

.mobile-menu {
  display: block;
  text-transform: uppercase;
  text-align: center;
  font-size: 24px;
  color: #FFBF00;
  padding: 15px;
}

.mobile-menu:hover, .mobile-menu:active {
  color: #EEE5E9;
}

.mobile-menu:before {
  content: '\e900';
  font-family: icomoon;
  font-size: .8em;
  margin-right: 5px;
}

nav ul {
  height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

nav.active ul {
  display: block;
  height: auto;
}

nav li {
  list-style-type: none;
  position: relative;
}

nav li a {
  display: block;
  text-align: center;
  padding: 15px;
  color: #FFBF00;
  font-weight: 400;
  border-top: 1px solid rgba(255,255,255,.05);
}

nav li a:hover, nav li a:active {
  color: #EEE5E9;
}

@media (min-width: 800px) {
  .mobile-menu {
    display: none;
  }

  nav ul {
    height: 56px;
    text-align: center;
  }

  nav li {
    display: inline-block;
    width: 15%;
  }

  nav li a {
    border-top: 0 none;
    border-right: 1px solid rgba(255,255,255,.05);
  }

  nav li:first-child a {
    border-top: 0 none;
    border-left: 1px solid rgba(255,255,255,.05);
  }
}

/* end MAIN NAV */

/* ===================== */
/* INTRO
/* ===================== */

.intro {
  background: url('../images/3.jpg') no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;

}

.overlay {
  background-color: rgba(0,0,0,.5);
  height: 400px;
  padding: 30px;
}
.overlay > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

h1 {
  font-size: 2.5em;
  text-transform: uppercase;
  font-weight: 600;
  color: #eee5e9;
}

.quote-slider {
  max-width: 300px;
  margin: 20px auto;
  position: relative;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 1.2em;
  color: #eee5e9;
}

.slide:first-child {
  animation:fade 8s infinite;
  -webkit-animation:fade 8s infinite;
}

.slide:nth-child(2) {
  animation:fade2 8s infinite;
  -webkit-animation:fade2 8s infinite;
}

.slide:last-child {
  animation:fade3 8s infinite;
  -webkit-animation:fade3 8s infinite;
}

@keyframes fade
{
  0%   {opacity:1}
  33.333% { opacity: 0}
  66.666% { opacity: 0}
  100% { opacity: 1}
}
@keyframes fade2
{
  0%   {opacity:0}
  33.333% { opacity: 1}
  66.666% { opacity: 0}
  100% { opacity: 0}
}
@keyframes fade3
{
  0%   {opacity:0}
  33.333% { opacity: 0}
  66.666% { opacity: 1}
  100% { opacity: 0}
}

.scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0;
  color: #eee5e9;
}

.scroll:before {
  content: '\e907';
  font-family: icomoon;
  font-size: 48px;
}

@media (min-width: 600px) {
  .overlay {
    height: 100vh;
  }

  .scroll {
    bottom: 60px;
  }
}

/* end INTRO */

/* ===================== */
/* PORTFOLIO
/* ===================== */

#work {
  background-color: #3EB2C2;
}

#work h2 {
  color: #fff;
}

.sorter {
  margin: 30px 0;
}

.grid-sorter button {
  background-color: #ffbf00;
	border: 0 none;
	padding: 15px 20px;
  margin-bottom: 3px;
	text-transform: uppercase;
	color: #222;
  font-size: 1em;
}

.grid-sorter button:hover, .grid-sorter button:active {
  background-color: #eee5e9;
}

.grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.sort {
  display: none;
  width: 100%;
  height: 250px;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.sort.active {
  display: block;
}

.sort img {
  display: none;
}

.details {
  height: 100%;
  color: #eee5e9;
  background-color: rgba(0,0,0,.85);
  opacity: 0;
}

.sort:hover .details, .sort:active .details {
  opacity: 1;
}

.details > div {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  padding: 30px;
}

.details h3 {
  color: #3EB2C2;
  text-transform: uppercase;
}

.view-link {
  display: inline-block;
	padding: 10px;
	border: 2px solid #ffbf00;
	color: #ffbf00;
	margin-top: 20px;
}

.view-link:hover, .view-link:active {
  background-color: #ffbf00;
  color: #222;
}

#lightbox {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);
    text-align:center;
}

#lightbox img {
    box-shadow:0 0 25px #111;
    -webkit-box-shadow:0 0 25px #111;
    -moz-box-shadow:0 0 25px #111;
    max-width:940px;
}

@media (min-width: 600px) {
  .sort {
    width: 48%;
    margin-bottom: 2%;
  }
}

@media (min-width: 900px) {
  .sort {
    width: 32%;
    margin-bottom: 2%;
  }
}

@media (min-width: 1200px) {
  .grid {
    max-width: 1200px;
    margin: auto;
  }

  .sort {
    width: 24%;
    margin-bottom: 1%;
  }
}

/* end PORTFOLIO */

/* ===================== */
/* SKILLS
/* ===================== */

#skills {
  background-color: #EEE5E9;
}

#skills h2 {
  color: #222;
}

@-webkit-keyframes animate-width {
  0% {
    width: 0;
  }
  100% {
    visibility: visible;
  }
}
@-moz-keyframes animate-width {
  0% {
    width: 0;
  }
  100% {
    visibility: visible;
  }
}
@keyframes animate-width {
  0% {
    width: 0;
  }
  100% {
    visibility: visible;
  }
}
@-webkit-keyframes animate-height {
  0% {
    height: 0;
  }
  100% {
    visibility: visible;
  }
}
@-moz-keyframes animate-height {
  0% {
    height: 0;
  }
  100% {
    visibility: visible;
  }
}
@keyframes animate-height {
  0% {
    height: 0;
  }
  100% {
    visibility: visible;
  }
}

#bar-chart {
  width: 70%;
  position: relative;
  margin: 50px auto 0;
}

#bar-chart .graph {
  height: 283px;
  position: relative;
}
#bar-chart .bars {
  height: 253px;
  width: 100%;
  position: absolute;
  z-index: 10;
  display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
}
#bar-chart .bar-group {
  height: 100%;
  position: relative;
  width: 15%;
}
#bar-chart .bar-group:last-child {
  margin-right: 0;
}
#bar-chart .bar-group .bar {
  visibility: hidden;
  height: 0;
  -webkit-animation: animate-height;
  -moz-animation: animate-height;
  animation: animate-height;
  animation-timing-function: cubic-bezier(0.35, 0.95, 0.67, 0.99);
  -webkit-animation-timing-function: cubic-bezier(0.35, 0.95, 0.67, 0.99);
  -moz-animation-timing-function: cubic-bezier(0.35, 0.95, 0.67, 0.99);
  animation-duration: 0.4s;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  bottom: 0;
  cursor: pointer;
  height: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  background-color: #3EB2C2;
}

#bar-chart .bar-group .bar:hover {
  background-color: #ffbf00;
}
#bar-chart .bar-group .bar:nth-child(2) {
  left: 35%;
}
#bar-chart .bar-group .bar:nth-child(3) {
  left: 70%;
}
#bar-chart .bar-group .bar span {
  display: none;
}
#bar-chart .bar-group .bar-1 {
  animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
  height: 99%;
}

#bar-chart .bar-group .bar-4 {
  animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
  height: 99%;
}

#bar-chart .bar-group .bar-7 {
  animation-delay: 0.9s;
  -webkit-animation-delay: 0.9s;
  height: 78%;
}

#bar-chart .bar-group .bar-10 {
  animation-delay: 1.2s;
  -webkit-animation-delay: 1.2s;
  height: 82%;
}

#bar-chart .bar-group .bar-13 {
  animation-delay: 1.5s;
  -webkit-animation-delay: 1.5s;
  height: 56%;
}

#bar-chart ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#bar-chart .x-axis {
  bottom: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
}
#bar-chart .x-axis li {
  font-size: 11px;
  width: 20%;
}
#bar-chart .x-axis li:last-child {
  margin-right: 0;
}
#bar-chart .y-axis {
  position: absolute;
  text-align: left;
  width: 100%;
}
#bar-chart .y-axis li {
  border-top: 1px solid #7c7c7c;
  display: block;
  height: 63.25px;
  width: 100%;
}
#bar-chart .y-axis li span {
  position: relative;
  left: -65px;
  top: -15px;
  font-size: 11px;
}

/* end SKILLS */

/* ===================== */
/* experience
/* ===================== */

#experience {
  background-color: #fff;
}

.download {
  display: inline-block;
	margin: 20px 0;
	background-color: #3EB2C2;
	padding: 15px 20px;
	color: #fff;
  text-transform: uppercase;
}

.download:hover, .download:active {
  background-color: #ffbf00;
  color: #222;
}

.block {
  margin-top: 30px;
  width: 100%;
}

.dates {
  display: inline-block;
	background-color: #ffbf00;
	padding: 30px 10px;
	margin-bottom: 20px;
	width: 110px;
	height: 110px;
	border-radius: 50%;
}

.block h3 {
  font-size: 1.3em;
}

.block h4 {
  margin-bottom: 15px;
}

.block p {
  text-align: justify;
  font-size: .9em;
}

.block ul {
  text-align: left;
}

.slick-slide {
  padding: 0 20px;
}

.slick-arrow {
  position: absolute;
	font-family: icomoon;
	top: 55px;
	font-size: 0;
  color: #7c7c7c;
  border: 0 none;
  background: transparent;
}

.slick-arrow:active {
  color: #3EB2C2;
}

.slick-arrow:before {
  font-size: 40px;
}

.slick-prev {
  left: 10%;
}

.slick-prev:before {
  content: '\e90a';
}

.slick-next {
  right: 10%;
}

.slick-next:before {
  content: '\e909';
}

@media (min-width: 600px) {
  .slick-track[style] {
      width: 100% !important;
      transform: none !important;
  }
  .slick-slide[style] {
      display: block !important;
  }
}

@media (min-width: 800px) {
  .block {
    width: 45%;
  }
}

@media (min-width: 1200px) {
  .block {
    width: 22%;
  }
}

/* end experience */

/* ===================== */
/* ABOUT ME
/* ===================== */

#about {
  background-color: #3EB2C2;
  color: #fff;
  text-align: justify;
}

#about img {
  display: block;
  margin: 30px auto;
  border-radius: 50%;
  max-width: 250px;
  border: 5px solid #ffbf00;
}

#about h2 {
  color: #fff;
  text-align: center;
}

/* end ABOUT ME */

/* ===================== */
/* FOOTER
/* ===================== */

footer {
  background-color: #222;
  padding: 30px;
  margin-bottom: 56px;
  text-align: center;
  color: rgba(255,255,255,.7);
}

.social {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  width: 300px;
}

.social li {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

.social li:last-child {
  margin-right: 0;
}

.social a {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #ffbf00;
  color: #ffbf00;
  text-align: center;
  font-size: 0;
  border-radius: 50%;
}

.social a:hover, .social a:active {
  background-color: #ffbf00;
  color: #222;
}

.social a:before {
  font-family: icomoon;
  font-size: 20px;
  line-height: 35px;
}

.social a[href*=mailto]:before {
  content: '\e901';
}

.social a[href*=codepen]:before {
  content: '\e904';
}

.social a[href*=linkedin]:before {
  content: '\e903';
}

.social a[href*=quora]:before {
  content: '\e902';
}

.social a[href*=twitter]:before {
  content: '\e906';
}

.social a[href*=facebook]:before {
  content: '\e905';
}

/* end FOOTER */
