/*
Author: George Marius Chisiu
Author URI: https://portfolio.letmebe.net
Description: My personal portfolio.
*/

/*=================================*/
/*  Table of Contents
/*  - Reset & Clearfix Styles
/*  - Main Styles
/*      - Titles
/*      - Navigation Styles
/*      - Projects Feed
/*          - Project Assets
/*          - Project Content
/*          - Paginations
/*  - News
/*  - Structure
/*  - Grid
/*  - Footer Styles
/*  - Media Queries


/*=================================*/

/*=================================*/
/* Reset & Clearfix Styles
/*=================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } :focus { outline: 0; } ins { text-decoration: none; } del { text-decoration: line-through; } table { border-collapse: collapse; border-spacing: 0; }

.cf:before, .cf:after { content: " "; display: table; } .cf:after { clear: both; }

/*=================================*/
/* Main Styles
/*=================================*/

* { box-sizing: border-box; }
html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}
body {
    background: #FFFFFF;
    color: #2c2c2c;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    opacity: 0;
    overflow-x: hidden;
    transition: opacity 0.25s ease-in 0.1s;
    word-wrap: break-word;
    -webkit-text-size-adjust: none;
}
body.loaded,
.no-js body {
    opacity: 1;
}
a, a:visited {
    color: #000;
    text-decoration: none !important;
    transition: color 0.1s ease-in-out;
}
a:hover, a:active {
    color: #2c2c2c;
    text-decoration: none;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: .8rem;
}

h3,
h4,
h5,
h6 {
    margin: 0 0 10px;
}
h4,
h5,
h6 {
   font-weight: normal;
}
p,li {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 0 20px;
}
small {
    font-weight: 300;
    font-size: 1rem;
    color: #747474
}
img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

hr{
    border: 0;
    height: 4px;
    margin: 40px 0;
    background: #000;
}

pre,
code,
samp {
    font-family: "quicksand", Consolas, monospace;
    font-size: inherit;
}

pre,
code {
    background-color: #eee;
    border-radius: 3px;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow-x: scroll;
    padding: 1rem;
}

.example {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #fafafa;
  position: relative;
  padding: 2rem 1rem;
}

.example-title {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #eee;
  padding: 0 1rem;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.example + pre {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  /*border: 1px solid #ccc;*/
  /*border-top: 0;*/
}
pre {
  margin-bottom: 2rem;
}

/*===== Titles =====*/
.site-title {
    font-family: 'Righteous',helvetica,sans-serif;
    font-size: 26px;
    color: #999;
    line-height: 1.5em;
    position: relative;
    z-index: 12;
    letter-spacing: 4px;
    margin-bottom: 120px;
}
.site-title a {
    position: fixed;
}
.site-title a,
.site-title a:visited { color: #999; }
.site-title a:hover,
.site-title a:active {
    color: #999;
    opacity: 0.8;
}
.site-title div { display: inline; }
.site-tagline {
    clear: both;
    margin-bottom: 40px;
    width: 100%;
}
.site-tagline p {
    color: #2c2c2c;
    font-size: 21px;
    text-align: left;
    width: 90%;
}
.site-tagline a,
.site-tagline a:visited { color: #999; }
.site-tagline a:hover {
    color: #2c2c2c;
}

/*=================================*/
/* Navigation Styles
/*=================================*/


.hamburger {
    width: 64px;
    height: 64px;
    display: block;
    position: fixed !important;
    cursor: pointer;
    position: absolute;
    top: 2.25em;
    right: 2.25em;
    z-index: 110;
    border-radius: 50%;
    background-color: #FFC50E;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.hamburger::after {
    width: 64px;
    height: 64px;
    box-sizing: border-box;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border: 4px solid var(--button-circle);
    border-radius: 50%;
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
    -webkit-animation-name: intervalHamburgerBorder;
    animation-name: intervalHamburgerBorder;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.hamburger__line {
    width: 28px;
    height: 2px;
    overflow: hidden;
    position: absolute;
    z-index: 10;
}

.hamburger__line-in {
    width: 84px;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
}

.hamburger__line-in::before,
.hamburger__line-in::after {
    width: 28px;
    height: 2px;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    background-color: var(--button-line);
}

.hamburger__line-in::before {
    left: -56px;
}

.hamburger__line-in::after {
    left: 0;
}

.hamburger__line--01,
.hamburger__line--02,
.hamburger__line--03,
.hamburger__line--cross01,
.hamburger__line--cross02 {
    left: 18px;
}

.hamburger__line--01 {
    top: 25px;
}

.hamburger__line--02,
.hamburger__line--cross01,
.hamburger__line--cross02 {
    top: 31px;
}

.hamburger__line--03 {
    top: 37.4px;
}

.hamburger__line--cross01 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hamburger__line--cross02 {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger__line {
    -webkit-transition-duration: 0.6s;
    transition-duration: 0.6s;
    -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.hamburger__line-in {
    -webkit-transition-duration: 0.6s;
    transition-duration: 0.6s;
    -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.hamburger__line-in::before,
.hamburger__line-in::after {
    -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
}

.hamburger__line-in--cross01,
.hamburger__line-in--cross02 {
    -webkit-transform: translateX(-33.3%);
    transform: translateX(-33.3%);
}

.hamburger__line-in--01 {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.hamburger__line-in--02 {
    -webkit-transition-delay: 0.25s;
    transition-delay: 0.25s;
}

.hamburger__line-in--02::before,
.hamburger__line-in--02::after {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

.hamburger__line-in--03 {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.hamburger__line-in--03::before,
.hamburger__line-in--03::after {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.hamburger__line-in--cross01 {
    -webkit-transition-delay: 0.0s;
    transition-delay: 0.0s;
}

.hamburger__line-in--cross02 {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

.hamburger__line-in--cross02::before,
.hamburger__line-in--cross02::after {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.hamburger.is-opened-navi .hamburger__line-in--01,
.hamburger.is-opened-navi .hamburger__line-in--02,
.hamburger.is-opened-navi .hamburger__line-in--03 {
    -webkit-transform: translateX(33.3%);
    transform: translateX(33.3%);
}

.hamburger.is-opened-navi .hamburger__line-in--cross01,
.hamburger.is-opened-navi .hamburger__line-in--cross02 {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.hamburger.is-opened-navi .hamburger__line-in--01 {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.hamburger.is-opened-navi .hamburger__line-in--02 {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

.hamburger.is-opened-navi .hamburger__line-in--03 {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.hamburger.is-opened-navi .hamburger__line-in--cross01 {
    -webkit-transition-delay: 0.25s;
    transition-delay: 0.25s;
}

.hamburger.is-opened-navi .hamburger__line-in--cross02 {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.hamburger:hover .hamburger__line-in::before,
.hamburger:hover .hamburger__line-in::after {
    -webkit-transform: translateX(200%);
    transform: translateX(200%);
}

.hamburger:hover .hamburger__line-in--01::before,
.hamburger:hover .hamburger__line-in--01::after,
.hamburger:hover .hamburger__line-in--02::before,
.hamburger:hover .hamburger__line-in--02::after,
.hamburger:hover .hamburger__line-in--03::before,
.hamburger:hover .hamburger__line-in--03::after {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
}

.hamburger:hover .hamburger__line-in--cross01::before,
.hamburger:hover .hamburger__line-in--cross01::after,
.hamburger:hover .hamburger__line-in--cross02::before,
.hamburger:hover .hamburger__line-in--cross02::after {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
}

.hamburger.is-opened-navi:hover .hamburger__line-in--cross01::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--cross01::after,
.hamburger.is-opened-navi:hover .hamburger__line-in--cross02::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--cross02::after {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
}

.hamburger.is-opened-navi:hover .hamburger__line-in--01::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--01::after,
.hamburger.is-opened-navi:hover .hamburger__line-in--02::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--02::after,
.hamburger.is-opened-navi:hover .hamburger__line-in--03::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--03::after {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
}


/*===== Projects Feed =====*/
.projects-feed {
    clear: both;
}
.projects-feed .project {
    background: #fff;
    opacity: 0;
    overflow: hidden;
    position: relative;
    transition: opacity 0.25s ease-in 0.1s;
    width: 100%;
}
.no-js .projects-feed .project,
.projects-feed .loaded {
    opacity: 1;
}
.projects-feed .project .overlay {
    background: #ffffff;
    background: rgba(255, 255, 255, 0.6);
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    -webkit-transition: opacity 0.15s ease-in-out;
    transition: opacity 0.15s ease-in-out;
    width: 100%;
}
.no-touch .projects-feed .project a:hover .overlay {
    opacity: 1;
}
.projects-feed .project-content-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}
.projects-feed .project-content-container::before {
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 22px solid #fff;
    content: '';
    display: block;
    height: 0;
    margin: auto;
    position: absolute;
    top: -22px; left: 0; right: 0;
    width: 0;
}
.projects-feed .project-content {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    padding: 20px;
}
.table {
    display: table;
    height: 100%;
    width: 100%;
}
.table-cell {
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}
.thumbnail-title {
    color: #2c2c2c;
    font-family: 'Righteous',helvetica,sans-serif;
    font-size: 21px;
    margin: 0 auto 10px auto;
    text-align: left;
    letter-spacing: 4px;
    text-transform:uppercase;
    max-width: 360px;
    width: 75%;
    word-wrap: break-word;
}
.thumbnail-description {
    color: #2c2c2c;
    font-family: 'quicksand', Arial, sans-serif;
    font-size: 16px;
    margin: 0 auto;
    max-height: 5em;
    max-width: 360px;
    text-align: left;
    width: 75%;
    text-transform: uppercase;
}
/*===== Project Assets =====*/
.thumb img {
    width: 100%;
    height: auto;
}
div.image,
div.audio,
div.video {
    text-align: center;
    transition: opacity 0.25s ease-in 0.1s;
}
.no-js div.image,
.no-js div.audio,
.no-js div.video,
div.loaded { opacity: 1; }
div.image img { width: 100%; }
 
.view {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
}
/*===== Project Content =====*/
.project-meta {
    font-family: 'quicksand', Arial, sans-serif;
    font-size: 14px;
    color: #BBBBBB;
    margin-top: 28px;
}
.project-meta > span::before {
    content: "\002F";
    margin: 0 5px 0 3px;
}
.project-meta > span:first-child::before { content: none; }
.project-meta a,
.project-meta a:visited {
    color: #BBBBBB;
    transition: opacity 0.2s ease-in-out;
}
.project-meta a:hover { color: #999; }
.project-meta .tags { margin-top: 17px; }
.project-meta .tags a { margin-left: 10px; }
.project-meta .tags a:first-child { margin-left: 0; }

/*===== Paginations =====*/
nav[role="navigation"] {
  text-align: center;
}

.cd-pagination {
  margin: 2em auto 2em;
  text-align: center;
}
.cd-pagination li {
  /* hide numbers on small devices */
  display: none;
  margin: 0 .2em;
}
.cd-pagination li.button {
  /* make sure prev next buttons are visible */
  display: inline-block;
}
.cd-pagination a, .cd-pagination span {
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* use padding and font-size to change buttons size */
  padding: .6em .8em;
  font-size: 18p
  x;

}
.cd-pagination a {
  border: 1px solid #e6e6e6;
}
.no-touch .cd-pagination a:hover {
  background-color: #f2f2f2;
}
.cd-pagination a:active {
  /* click effect */
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}
.cd-pagination a.disabled {
  /* button disabled */
  color: rgba(46, 64, 87, 0.4);
  pointer-events: none;
}
.cd-pagination a.disabled::before, .cd-pagination a.disabled::after {
  opacity: .4;
}
.cd-pagination .button:first-of-type a::before {
  content: '\00ab  ';
}
.cd-pagination .button:last-of-type a::after {
  content: ' \00bb';
}
.cd-pagination .current {
  /* selected number */
  background-color: #999;
  border-color: #999;
  color: #ffffff;
  pointer-events: none;
}
@media only screen and (min-width: 768px) {
  .cd-pagination li {
    display: inline-block;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-pagination {
    margin: 4em auto 4em;
  }
}

.cd-pagination.custom-icons .button a {
  position: relative;

}
.cd-pagination.custom-icons .button:first-of-type a {
  padding-left: 2.4em;
}
.cd-pagination.custom-icons .button:last-of-type a {
  padding-right: 2.4em;
}
.cd-pagination.custom-icons .button:first-of-type a::before,
.cd-pagination.custom-icons .button:last-of-type a::after {
  content: '';
  position: absolute;
  display: inline-block;
  /* set size for custom icons */
  width: 16px;
  height: 16px;
  top: 50%;
  /* set margin-top = icon height/2 */
  margin-top: -8px;
  background: transparent url("img/cd-icon-arrow.svg") no-repeat center center;
}

.cd-pagination.custom-icons .button-main a {
  background: transparent url("img/portfolio-icon.svg") no-repeat center center;
}

.cd-pagination.custom-icons .button-main a:hover {
  background: transparent url("img/portfolio-icon.svg") no-repeat center center;
  border:1px solid #2c2c2c;
  -webkit-transition: border 1s;
  -moz-transition: border 1s;
  transition: border 1s;
}

.cd-pagination.custom-icons .button:first-of-type a::before {
  left: .8em;
}
.cd-pagination.custom-icons .button:last-of-type a::after {
  right: .8em;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.cd-pagination.animated-buttons a, 
.cd-pagination.animated-buttons span {
  padding: 0 1.4em;
  height: 50px;
  line-height: 50px;
  overflow: hidden;
}
.cd-pagination.animated-buttons .button a {
  position: relative;
  padding: 0 2em;
}
.cd-pagination.animated-buttons .button:first-of-type a::before,
.cd-pagination.animated-buttons .button:last-of-type a::after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  right: auto;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-pagination.animated-buttons .button:last-of-type a::after {
  -webkit-transform: translateX(-50%) rotate(180deg);
  -moz-transform: translateX(-50%) rotate(180deg);
  -ms-transform: translateX(-50%) rotate(180deg);
  -o-transform: translateX(-50%) rotate(180deg);
  transform: translateX(-50%) rotate(180deg);
}
.cd-pagination.animated-buttons i {
  display: block;
  height: 100%;
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  font-style: normal;

}

.no-touch .cd-pagination.animated-buttons .button a:hover i {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.no-touch .cd-pagination.animated-buttons .button:first-of-type a:hover::before {
  -webkit-transform: translateX(-50%) translateY(-50px);
  -moz-transform: translateX(-50%) translateY(-50px);
  -ms-transform: translateX(-50%) translateY(-50px);
  -o-transform: translateX(-50%) translateY(-50px);
  transform: translateX(-50%) translateY(-50px);
}

.no-touch .cd-pagination.animated-buttons .button:last-of-type a:hover::after {
  -webkit-transform: translateX(-50%) rotate(180deg) translateY(50px);
  -moz-transform: translateX(-50%) rotate(180deg) translateY(50px);
  -ms-transform: translateX(-50%) rotate(180deg) translateY(50px);
  -o-transform: translateX(-50%) rotate(180deg) translateY(50px);
  transform: translateX(-50%) rotate(180deg) translateY(50px);
}


/*===== News =====*/
.news .blog_item:nth-child(odd) {  background: #999; }
.news .blog_item:nth-child(even) {  background: #fafbfb; }
.blog_item {
    padding: 80px 50px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
}
.blog_item h1, .blog_item h5 {
    transition: all 0.5s;
}
.blog_item h5 {
    font-size: 0.7em;
}
.blog_item .abs_bg {
    display: block;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: all 0.5s;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
}
.blog_item .blog_item_inner {
    z-index: 2;
    position: relative;
}
.blog_item .full_link {
    z-index: 3;
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
.blog_item:hover {
    color: #fff;
    background: #000;
}
.blog_item:hover h1, .blog_item:hover h5 {
    color: #fff;
}
.blog_item:hover .abs_bg {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
.blog_item h1 {
    overflow: hidden;
    width: 100%;
    font-size: 1.4rem;
}
#blog .blog_item h1 {
    overflow: hidden;
}
/*===== Footer =====*/
.site-footer { padding: 40px 200px;}

/*=================================*/
/* Structure
/*=================================*/

.site-container {
    margin: 0 auto;
}
.site-header,
.page-desc {
    padding: 40px 20px;
    width: 100%;
}

.center {
  margin: 0 auto;
}

.page-desc ul {
  margin: 60px 0;
}
.page-desc  li {
  list-style-type: disc;
  margin-left: 60px;
}
.row {
    margin-top: 40px;
}
.site-content {
    clear: both;
}
.site-content figure{
    margin:0;
    padding: 0;
}
.site-footer { padding: 40px 20px; }
.right {
    float: right;
    margin: 0px 0px 40px 40px ;
}
.left {
    float: left;
    margin: 0px 40px 40px 0px ;
}

/*=================================*/
/* Grid System
/*=================================*/

.row {
  overflow: hidden;
}
.large-1, .large-2, .large-3, .large-4 {
    width: 100%;
    margin-bottom: 40px;
}
.large-1:nth-child(1n), .large-2:nth-child(1n), .large-3:nth-child(1n), .large-4:nth-child(1n) {
    float: left;
}
.large-1:last-child, .large-2:last-child, .large-3:last-child, .large-4:last-child{
    float: right;
}


/*=================================*/
/* Footer Styles
/*=================================*/
.site-footer {
    color: #2c2c2c;
    font-family: 'quicksand', Arial, sans-serif;
}
.site-footer p { margin: 0; font-size: 16px;display: inline;}
.site-footer a,
.site-footer a:visited { color: #2c2c2c; }
.site-footer a:hover { color: #999; } 

/*=================================*/
/* Media Queries
/*=================================*/



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

    /*===== Titles =====*/
    .site-tagline p { 
        font-size: 28px;
    }
    /*===== Navigations =====*/
    .cd-nav-trigger {
        top: 34px;
        right: 40px;
    }
    .cd-nav .cd-navigation-wrapper {
        padding: 40px;
    }
    /*===== Projects =====*/
    .projects-feed .thumb,
    .projects-feed .project-content-container {
        float: left;
        width: 50%;
    }
    .projects-feed .project-content-container { padding-bottom: 50%; }
    .projects-feed .project:nth-child(2n) .thumb { float: right; }
    /* Thumb on the left */
    .projects-feed .project:nth-child(2n+1) .project-content-container::before {
        border-top: 22px solid transparent;
        border-left: none;
        border-bottom: 22px solid transparent;
        border-right: 22px solid #fff;
            left: -22px; top: 0; bottom: 0; right: initial;
    }
    /* Thumb on the right */
    .projects-feed .project:nth-child(2n) .project-content-container::before {
        border-top: 22px solid transparent;
        border-right: none;
        border-bottom: 22px solid transparent;
        border-left: 22px solid #fff;
        left: initial; top: 0; bottom: 0; right: -22px;
    }
    /*===== Footer =====*/
    .site-footer { padding: 40px }

}

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

    /*===== Structures =====*/
    .site-header,
    .page-desc {
        padding: 60px;
    }
    .page-desc {
        width: 75%;
    }
    .page-desc h1,
    .page-desc h2,
    .page-desc h3{
        font-size: 2.8rem;
    }
    /*===== Titles =====*/
    .site-title {
        margin-bottom: 120px;
    }
    .site-tagline {
        margin-bottom: 60px;
    }
    .site-tagline p { 
        font-size: 36px;
    }
    /*===== Navigations =====*/
    .cd-nav-trigger {
        top: 52px;
        right: 60px;
    }
    .cd-nav .cd-navigation-wrapper {
        padding: 60px 59px 60px calc(1px + 59px);
    }
    .cd-nav .cd-navigation-wrapper::after {
        clear: both;
        content: "";
        display: table;
    }
    .cd-nav .cd-half-block {
        width: 50%;
        float: left;
    }
    .cd-nav .cd-primary-nav {
        margin-top: 160px;
    }
    .cd-nav .cd-primary-nav a {
        font-size: 36px;
    }
    .cd-nav .cd-contact-info {
        margin-top: 160px;
        margin-bottom: 80px;
        text-align: right;
    }
    .cd-nav .cd-contact-info li {
        margin-bottom: 2em;
    }
    .cd-nav .cd-contact-socials {
        text-align: right;
    }
    /*===== Blog =====*/
    .blog_item h1 {
        font-size: 2rem;
        width: 75%;
    }
    .blog_item h5 {
        font-size: 0.8rem;
    }
    .blog_item {
        padding: 100px 50px;
    }
    /*===== Footer =====*/
    .site-footer { padding: 40px 60px; }


}

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

    /*===== Structures =====*/
    .site-header,
    .page-desc {
        padding: 80px;
    }
    .row {
        margin-top: 80px;
    }
    /*===== Titles =====*/
    .site-title {
        margin-bottom: 160px;
    }
    .site-tagline {
        margin-bottom: 80px;
    }
    .site-tagline p { 
        font-size: 42px;
    }

/*===== News =====*/
.news .blog_item:nth-child(odd) {  background: #999; }
.news .blog_item:nth-child(even) {  background: #fafbfb; }
.blog_item {
    padding: 80px 50px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
}
.blog_item h1, .blog_item h5 {
    transition: all 0.5s;
}
.blog_item h5 {
    font-size: 0.7em;
}
.blog_item .abs_bg {
    display: block;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: all 0.5s;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
}
.blog_item .blog_item_inner {
    z-index: 2;
    position: relative;
}
.blog_item .full_link {
    z-index: 3;
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
.blog_item:hover {
    color: #fff;
    background: #000;
}
.blog_item:hover h1, .blog_item:hover h5 {
    color: #fff;
}
.blog_item:hover .abs_bg {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
.blog_item h1 {
    overflow: hidden;
    width: 100%;
    font-size: 1.4rem;
}
#blog .blog_item h1 {
    overflow: hidden;
}


    /*===== Navigations =====*/
    .cd-nav-trigger {
        top: 74px;
        right: 80px;
    }
    .cd-nav .cd-navigation-wrapper {
        padding: 60px 79px 60px calc(1px + 79px);
    }
    .cd-nav .cd-primary-nav a {
        font-size: 42px;
    }
    .cd-nav .cd-contact-info li, 
    .cd-nav .cd-contact-info a, 
    .cd-nav .cd-contact-info span {
        font-size: 21px;
    }
    /*===== Footer =====*/
    .site-footer { padding: 40px 80px; }
    .footer-text { float: left; padding-top: 30px;}
    .footer-misc { float: right; }
    /*===== Projects =====*/
    .thumbnail-title {
        font-size: 28px;
    }
    .is_page .projects-feed { margin-top: 150px; }
    .projects-feed .project { float: left; }
    .projects-feed .project:nth-child(3n+1),
    .projects-feed .project:nth-child(3n+3) {
        /*max-width: 800px;*/
        width: 66.6667%;
    }
    .projects-feed .project:nth-child(3n+2) {
        float: right;
        /*max-width: 400px;*/
        width: 33.3333%;
    }
    .projects-feed .project:nth-child(3n+1) .thumb { float: left; }
    .projects-feed .project:nth-child(3n+3) .thumb { float: right; }
    .projects-feed .project:nth-child(3n+2) .thumb,
    .projects-feed .project:nth-child(3n+2) .project-content-container {
        float: none;
        width: 100%;
    }
    .projects-feed .project:nth-child(3n+2) .project-content-container { padding-bottom: 100%; }
    /* Thumb on the left */
    .projects-feed .project:nth-child(3n+1) .project-content-container::before {
        border-top: 22px solid transparent;
        border-left: none;
        border-bottom: 22px solid transparent;
        border-right: 22px solid #fff;
            left: -22px; top: 0; bottom: 0; right: initial;
    }
    /* Thumb on the top */
    .projects-feed .project:nth-child(3n+2) .project-content-container::before {
        border-left: 22px solid transparent;
        border-top: none;
        border-right: 22px solid transparent;
        border-bottom: 22px solid #fff;
            left: 0; top: -22px; bottom: initial; right: 0;
    }
    /* Thumb on the right */
    .projects-feed .project:nth-child(3n+3) .project-content-container::before {
        border-top: 22px solid transparent;
        border-right: none;
        border-bottom: 22px solid transparent;
        border-left: 22px solid #fff;
            left: initial; top: 0; bottom: 0; right: -22px;
    }
    /*===== Paginations =====*/

    /*===== Grid =====*/
    .large-1 {
      width: 100%;
    }

    .large-1:nth-child(1n) {
      float: left;
    }

    .large-1:last-child {
      float: right;
    }

    .large-2 {
      width: 40%;
    }

    .large-2:nth-child(1n) {
      float: left;
    }

    .large-2:last-child {
      float: right;
    }

    .large-3 {
      width: 30%;
    }

    .large-3:nth-child(1n) {
      float: left;
    }

    .large-3:last-child {
      float: right;
    }

    .large-4 {
      width: 20%;
    }

    .large-4:nth-child(1n) {
      float: left;
    }

    .large-4:last-child {
      float: right;
    }

    
}

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

    /*===== Structures =====*/
    .site-header,
    .page-desc {
        padding: 100px 200px;
    }
    .row {
        margin-top: 120px;
    }
    /*===== Titles =====*/
    .site-title {
        margin-bottom: 200px;
    }
    .site-tagline {
        margin-bottom: 100px;
        width: 75%;
    }
    .site-tagline p { 
        font-size: 48px;
    }
    .site-tagline h1 { 
        font-size: 3.2rem;
    }
    .site-tagline h5 { 
        font-size: 1.4rem;
    }
    /*===== Navigations =====*/
    .cd-nav-trigger {
        top: 94px;
        right: 140px;
    }
    .cd-nav .cd-navigation-wrapper {
        padding: 60px 140px 60px calc(58px + 140px);
    }
    .cd-nav .cd-primary-nav a {
        font-size: 54px;
    }
    .cd-nav .cd-contact-info li, 
    .cd-nav .cd-contact-info a, 
    .cd-nav .cd-contact-info span {
        font-size: 24px;
    }
    /*===== Projects =====*/
    .thumbnail-title {
        font-size: 36px;
    }
    /*===== Paginations =====*/

    /*===== Blog =====*/
    .blog_item h1 {
        width: 75%;
        font-size: 3.2rem;
    }
    .blog_item{
        padding: 200px;
    }
    .blog_item h5 {
        font-size: 1rem;
    }
    /*===== Main Styles =====*/
    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 2.3rem;
    }

    h4 {
        font-size: 1.8rem;
    }

    h5 {
        font-size: 1.4rem;
    }

    h6 {
        font-size: 1rem;
    }

}

/*Homepage*/

.homepage-img {
  max-width: 700px;
  width: 100%;
}

.error-m {
 text-align: center;
 color: #999;
 font-family: 'Arial';
 font-size: 0.5em;
}

.homepage-title {
  color: #FFC50E;
  text-align: center;
  font-size: 1em;
  font-family: 'Ubuntu', sans-serif;
}

.homepage-subtitle {
  text-align: center;
  font-size: 0.7em;
  font-family: 'Verdana', sans-serif;
}

.homepage-p {
  text-align: left;
  font-size: 0.25em;
  font-family: 'Ubuntu', sans-serif;
  padding-left: 10%;
  margin-top: 50px;
}

@media only screen and (max-width: 1024px) {
  .homepage-p {
    font-size: 0.4em;
  }
}


@media only screen and (max-width: 768px) {
  .homepage-p {
    font-size: 0.5em;
  }
}

@media only screen and (max-width: 600px) {
 .error-m {
  margin-top: 60px;
 }
}

/* About page */

#about-pic {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

#about-pic img {
  border-radius: 10px;
}

#files {
  text-align: center;
  margin-top: 50px;
}


/*=================================*/
/* Macbook Pro
/*=================================*/


 .skills {
}
.skill-list ul {
    margin: 0;
    padding: 0
}
.skill-list ul li {
    padding: 5px 0 0;
    list-style: none
}
.skills-con h4 {
    width: 65%;
}
.skill-list ul li:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    font-size: 15px;
    margin: 0 5px 0 0
}
.skills-con .col-6:hover .chart .percent {
    font-size: 45px;
    color: #000;
    transition-duration: .1s;
    -moz-transition-duration: .1s;
    -webkit-transition-duration: .1s;
    -o-transition-duration: .1s;
}

.macbook-container {
    clear: both;
    width: 250px;
    height: 300px;
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
}


.macbook {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -75px 0 0 -48px;
  perspective: 500px;
}
.shadow {
  position: absolute;
  width: 60px;
  height: 0px;
  left: 40px;
  top: 160px;
  transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
  box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  animation: shadow infinite 7s ease;
}
.innermac {
  z-index: 20;
  position: absolute;
  width: 150px;
  height: 96px;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  transform:rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  animation: rotate infinite 7s ease;
}
.screen {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #ddd;
  transform-style: preserve-3d;
  transform-origin: 50% 93px;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  animation: lid-screen infinite 7s ease;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.34) 0%,rgba(0,0,0,0) 100%);
  background-position: left bottom;
  background-size: 300px 300px;
  box-shadow: inset 0 3px 7px rgba(255,255,255,0.5);
}
.screen .logo {
  position: absolute;
  width: 20px;
  height: 24px;
  left: 50%;
  top: 50%;
  margin: -12px 0 0 -10px;
  transform: rotateY(180deg) translateZ(0.1px);
}
.screen .face-one {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #d3d3d3;
  transform: translateZ(2px);
  background-image: linear-gradient(45deg,rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}
.screen .face-one .camera {
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: #000;
  position: absolute;
  left: 50%;
  top: 4px;
  margin-left: -1.5px;
}
.screen .face-one .display {
  width: 130px;
  height: 74px;
  margin: 10px;
  background: url("https://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2014/07/1404716567emmet.png?thumb=y&width=150&height=96") no-repeat center center #000;
  background-size: 100% 100%;
  border-radius: 1px;
  position: relative;
  box-shadow: inset 0 0 2px rgba(0,0,0,1);
}
.screen .face-one .display .shade {
  position: absolute;
  left: 0;
  top: 0;
  width: 130px;
  height: 74px;
  background: linear-gradient(-135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.1) 47%,rgba(255,255,255,0) 48%);
  animation: screen-shade infinite 7s ease;
  background-size: 300px 200px;
  background-position: 0px 0px;
}
.screen .face-one span {
  position: absolute;
  top: 80px;
  left: 57px;
  font-size: 6px;
  color: #666
}

.body {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #cbcbcb;
  transform-style: preserve-3d;
  transform-origin: 50% bottom;
  transform: rotateX(-90deg);
  animation: lid-body infinite 7s ease;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}
.body .face-one {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  transform-style: preserve-3d;
  background: #dfdfdf;
  animation: lid-keyboard-area infinite 7s ease;
  transform: translateZ(-2px);
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}
.body .touchpad {
  width: 40px;
  height: 31px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 4px;
  margin: -44px 0 0 -18px;
  background: #cdcdcd;
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  box-shadow: inset 0 0 3px #888;
}
.body .keyboard {
width: 130px;
height: 45px;
position: absolute;
left: 7px;
top: 41px;
border-radius: 4px;
transform-style: preserve-3d;
background: #cdcdcd;
background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
box-shadow: inset 0 0 3px #777;
padding: 0 0 0 2px;
}
.keyboard .key {
  width: 6px;
  height: 6px;
  background: #444;
  float: left;
  margin: 1px;
  transform: translateZ(-2px);
  border-radius: 2px;
  box-shadow: 0 -2px 0 #222;
  animation: keys infinite 7s ease;
}
.key.space {
  width: 45px;
}
.key.f {
  height: 3px;
}
.body .pad {
  width: 5px;
  height: 5px;
  background: #333;
  border-radius: 100%;
  position: absolute;
}
.pad.one {
  left: 20px;
  top: 20px;
}
.pad.two {
  right: 20px;
  top: 20px;
}
.pad.three {
  right: 20px;
  bottom: 20px;
}
.pad.four {
  left: 20px;
  bottom: 20px;
}

@keyframes rotate {
  0% {
    transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  }
  5% {
    transform: rotateX(-20deg) rotateY(-20deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(30deg) rotateY(200deg) rotateZ(0deg);
  }
  25% {
    transform: rotateX(-60deg) rotateY(150deg) rotateZ(0deg);
  }
  60% {
    transform: rotateX(-20deg) rotateY(130deg) rotateZ(0deg);
  }
  65% {
    transform: rotateX(-20deg) rotateY(120deg) rotateZ(0deg);
  }
  80% {
    transform: rotateX(-20deg) rotateY(375deg) rotateZ(0deg);
  }
  85% {
    transform: rotateX(-20deg) rotateY(357deg) rotateZ(0deg);
  }
  87% {
    transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes lid-screen {
  0% {
    transform: rotateX(0deg);
    background-position: left bottom;
  }
  5% {
    transform: rotateX(50deg);
    background-position: left bottom;
  }
  20% {
    transform: rotateX(-90deg);
    background-position: -150px top;
  }
  25% {
    transform: rotateX(15deg);
    background-position: left bottom;
  }
  30% {
    transform: rotateX(-5deg);
    background-position: right top;
  }
  38% {
    transform: rotateX(5deg);
    background-position: right top;
  }
  48% {
    transform: rotateX(0deg);
    background-position: right top;
  }
  90% {
    transform: rotateX(0deg);
    background-position: right top;
  }
  100% {
    transform: rotateX(0deg);
    background-position: right center;
  }
}

@keyframes lid-body {
  0% {
    transform: rotateX(-90deg);
    
  }
  50% {
    transform: rotateX(-90deg);
    
  }
  100% {
    transform: rotateX(-90deg);
    
  }
}

@keyframes lid-keyboard-area {
  0% {
     background-color: #dfdfdf;
  }
  50% {
    background-color: #bbb;
  }
  100% {
    background-color: #dfdfdf;
  }
}
@keyframes screen-shade {
  0% {
    background-position: -20px 0px;
  }
  5% {
    background-position: -40px 0px;
  }
  20% {
    background-position: 200px 0;
  }
  50% {
    background-position: -200px 0;
  }
  80% {
    background-position: 0px 0px;
  }
  85% {
    background-position: -30px 0;
  }
  90% {
    background-position: -20px 0;
  }
  100% {
    background-position: -20px 0px;
  }
}
@keyframes keys {
  0% {
    box-shadow: 0 -2px 0 #222;
  }
  5% {
    box-shadow: 1 -1px 0 #222;
  }
  20% {
    box-shadow: -1px 1px 0 #222;
  }
  25% {
    box-shadow: -1px 1px 0 #222;
  }
  60% {
    box-shadow: -1px 1px 0 #222;
  }
  80% {
    box-shadow: 0 -2px 0 #222;
  }
  85% {
    box-shadow: 0 -2px 0 #222;
  }
  87% {
    box-shadow: 0 -2px 0 #222;
  }
  100% {
    box-shadow: 0 -2px 0 #222;
  }
}
@keyframes shadow {
  0% {
    transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }
  5% {
    transform: rotateX(80deg) rotateY(10deg) rotateZ(0deg);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }
  20% {
    transform: rotateX(30deg) rotateY(-20deg) rotateZ(-20deg);
    box-shadow: 0 0 50px 30px rgba(0,0,0,0.3);
  }
  25% {
    transform: rotateX(80deg) rotateY(-20deg) rotateZ(50deg);
    box-shadow: 0 0 35px 15px rgba(0,0,0,0.1);
  }
  60% {
    transform: rotateX(80deg) rotateY(0deg) rotateZ(-50deg) translateX(30px);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }
  100% {
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }
}

/*=================================*/
/* Testimonials
/*=================================*/



.contain {
  width: 100%;
  height: 100%;
  margin: auto;
  margin-top: 20px;
/*  border: 1px solid #ccc;
*/  
} 

.testimonial {
  font-size: 28px;
  text-align: center;
  padding: 20px;
  display: none;
  font-style: italic;ß
} 

.testimonial strong {

}

.testimonial span {
  font-size: 20px;
}

/*

NEW STYLES FROM TRANSITION*/

/* Color schemes */


.demo-3 {
    --color-text: #fbd54a;
    --color-bg: #333;
    --color-link: #4d4f5f;
    --color-link-hover: #bfb5b5;
    --color-info: #fff;
    --color-main-bg: #24262d;
    --path-fill-1: #000000;
    --path-fill-2: #1d1d1f;
    --path-fill-3: #fbd54a;
    --color-title: #fff;
    --font-family-title: 'Arapey', serif;
    --font-size-title: 5vmax;
    --font-weight-title: 400;
    --color-menu: #000000;
    --color-menu-hover: #fff;
    --font-family-menu: 'Arapey', serif;
    --font-size-menu: 4vmax;
    --font-weight-menu: 400;
    --button-bg: #fff;
    --button-circle: #ada4a4;
    --button-line: #222;
}

/* Fade effect */
.js body {
    opacity: 0;
    transition: opacity 0.3s;       
}

.js body.render {
    opacity: 1;
}

a {
    text-decoration: none;
    color: #5d93d8;
    color: var(--color-link);
    outline: none;
}

a:hover,
a:focus {
    color: #423c2b;
    color: var(--color-link-hover);
    outline: none;
}

.hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Icons */
.icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: currentColor;
}

.icon--keyboard {
    display: none;
}

main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
}

.content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    margin: 0 auto;
    pointer-events: none;
}

.content--fixed {
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    align-content: space-between;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100vh;
    padding: 1.5em;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto 4em;
    grid-template-areas: 'header ...'
    '... ...'
    'github demos';
}

.content--fixed a {
    pointer-events: auto;
}

/* Header */
.codrops-header {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-items: center;
    align-self: start;
    grid-area: header;
    justify-self: start;
}

.codrops-header__title {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    padding: 0.75em 0;
}

.info {
    margin: 0 0 0 1.25em;
    font-style: italic;
    color: var(--color-info);
    font-weight: bold;
}


.demos {
    position: relative;
    display: block;
    align-self: end;
    text-align: center;
    grid-area: demos;
    margin-bottom: 0.5em;
}

.demo {
    margin: 0 0.15em;
}

.demo:hover,
.demo:focus {
    opacity: 0.5;
}

.demo span {
    white-space: nowrap;
    text-transform: lowercase;
    pointer-events: none;
}

.demo span::before {
    content: '#';
}

a.demo--current {
    pointer-events: none;
}

/* Top Navigation Style */

.demo-title {
    color: #333;
    font-family: var(--font-family-title);
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-title);
}

.global-menu {
    width: 100vw;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100;
}

.global-menu__item {
    color: var(--color-menu);
    font-family: Verdana;
    font-size: var(--font-size-menu);
    font-weight: bold;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    display: block;
    margin: 0.25em 0;
    transition: transform 0.3s, opacity 0.3s;
    transition-timing-function: ease-in;
}

.global-menu__item--demo-3 {
    transition: transform 0.1s, opacity 0.1s;
    transform: translateY(100%);
    transition-timing-function: ease-out;
}

.global-menu__item:hover {
    color: var(--color-menu-hover);
}

.global-menu__item.is-opened {
    opacity: 1;
    transform: translateY(0) rotate(0);
    pointer-events: auto;
    transition-timing-function: ease;
}

.global-menu__item:nth-of-type(1) {
    transition-delay: 0s;
}

.global-menu__item.is-opened:nth-of-type(1) {
    transition-delay: 0.85s;
}

.global-menu__item:nth-of-type(2) {
    transition-delay: 0.05s;
}

.global-menu__item.is-opened:nth-of-type(2) {
    transition-delay: 0.8s;
}

.global-menu__item:nth-of-type(3) {
    transition-delay: 0.1s;
}

.global-menu__item.is-opened:nth-of-type(3) {
    transition-delay: 0.75s;
}

.global-menu__item:nth-of-type(4) {
    transition-delay: 0.15s;
}

.global-menu__item.is-opened:nth-of-type(4) {
    transition-delay: 0.7s;
}


/* demo 3 */
.global-menu__item--demo-3.is-opened {
    transition-duration: 0.3s;
}

.global-menu__item--demo-3:nth-of-type(1) {
    transition-delay: 0s;
}

.global-menu__item--demo-3.is-opened:nth-of-type(1) {
    transition-delay: 0.65s;
}

.global-menu__item--demo-3:nth-of-type(2) {
    transition-delay: 0s;
}

.global-menu__item--demo-3.is-opened:nth-of-type(2) {
    transition-delay: 0.7s;
}

.global-menu__item--demo-3:nth-of-type(3) {
    transition-delay: 0s;
}

.global-menu__item--demo-3.is-opened:nth-of-type(3) {
    transition-delay: 0.75s;
}

.global-menu__item--demo-3:nth-of-type(4) {
    transition-delay: 0s;
}

.global-menu__item--demo-3.is-opened:nth-of-type(4) {
    transition-delay: 0.8s;
}

.shape-overlays {
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
}

.shape-overlays.is-opened {
    pointer-events: auto;
    z-index: 99 !important;
}

.shape-overlays__path:nth-of-type(1) {
    fill: var(--path-fill-1);
}

.shape-overlays__path:nth-of-type(2) {
    fill: var(--path-fill-2);
}

.shape-overlays__path:nth-of-type(3) {
    fill: #FFC50E;
}

.shape-overlays__path:nth-of-type(4) {
    fill: var(--path-fill-4);
}

@-webkit-keyframes intervalHamburgerBorder {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    80% {
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
}

@keyframes intervalHamburgerBorder {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    80% {
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
}

/*Portfolio */



@media screen and (min-width: 55em) {
    .icon--keyboard {
        position: absolute;
        right: 0.55em;
        bottom: -30%;
        display: block;
        width: 54px;
        height: 46px;
        fill: var(--color-link);
    }
    .demos {
        display: flex;
        padding-right: 80px;
        justify-self: end;
    }
    .demo {
        display: block;
        width: 17px;
        height: 17px;
        margin: 0 4px;
        border-radius: 50%;
        background: var(--color-link);
    }
    a.demo--current {
        background: var(--color-link-hover);
    }
    .demo span {
        position: absolute;
        line-height: 1;
        right: 100%;
        display: none;
        margin: 0 1em 0 0;
    }
    .demo--current span {
        display: block;
    }
}

@media screen and (max-width: 55em) {
    html,
    body {
        overflow-x: hidden;
        width: 100vw;
        height: 100%;
    }
    .hamburger {
        position: fixed;
        top: 0.5em;
        right: 0.5em;
        transform: scale(0.75);
    }
    .content {
        height: auto;
        min-height: 0;
        padding-bottom: 10em;
        flex-direction: column;
    }
    .content--fixed {
        position: relative;
        z-index: 0;
        display: block;
        padding: 0.85em;
    }
    .codrops-header {
        flex-direction: column;
        align-items: center;
    }
    .codrops-header__title {
        font-weight: bold;
        padding-bottom: 0.25em;
        text-align: center;
    }
}


/*Portfolio Filter */

.ff-container{
    width: 1440px;
    min-height: 800px;
    margin: 10px auto 30px auto;
}
.ff-container label{
    text-align: center;
    width: 24%;
    height: 30px;
    cursor: pointer;
    color: #777;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
    line-height: 33px;
    font-size: 19px;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
    float:left;
}
.ff-container label.ff-label-type-all{
    border-radius: 3px 0px 0px 3px;
}
.ff-container label.ff-label-type-3{
    border-radius: 0px 3px 3px 0px;
}
.ff-container input.ff-selector-type-all:checked ~ label.ff-label-type-all,
.ff-container input.ff-selector-type-1:checked ~ label.ff-label-type-1,
.ff-container input.ff-selector-type-2:checked ~ label.ff-label-type-2,
.ff-container input.ff-selector-type-3:checked ~ label.ff-label-type-3
{
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#646d93', endColorstr='#7c87ad',GradientType=0 );
    color: #000;
    font-weight: bold;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.3);
}
.ff-container input{
    display: none;
}
.ff-items{
    position: relative;
    margin: 0px auto;
    padding-top: 20px;
    padding-bottom: 100px;
}
.ff-items a{
    display: block;
    position: relative;
    background: #fff;
    margin: 10px;
 
}
.ff-items a span{
    display: block;
    background: rgba(113,123,161, 0.9);
    font-style: italic;
    color: #fff;
    font-weight: bold;
    padding: 20px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 120px;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    text-align: center;
    text-shadow: 1px 1px 1px #303857;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.ff-items li img{
    display: block;
}

.ff-items li{
    margin: 0px;
    float: left;
    width: 0px;
    -webkit-transform: scale(0,0);
    -moz-transform: scale(0,0);
    -o-transform: scale(0,0);
    -ms-transform: scale(0,0);
    transform: scale(0,0);
}
.ff-container input.ff-selector-type-all:checked ~ .ff-items li{
    width: 350px;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    -o-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1);
    -webkit-transition: -webkit-transform 0.3s linear;
    -o-transition: -o-transform 0.3s linear;
    -ms-transition: -ms-transform 0.3s linear;
    transition: transform 0.3s linear;
}
.ff-container input.ff-selector-type-1:checked ~ .ff-items .ff-item-type-1,
.ff-container input.ff-selector-type-2:checked ~ .ff-items .ff-item-type-2,
.ff-container input.ff-selector-type-3:checked ~ .ff-items .ff-item-type-3
{
    -webkit-transition: -webkit-transform 0.3s linear, width 0s linear 0.3s;
    -moz-transition: -moz-transform 0.3s linear, width 0s linear 0.3s;
    -o-transition: -o-transform 0.3s linear, width 0s linear 0.3s;
    -ms-transition: -ms-transform 0.3s linear, width 0s linear 0.3s;
    transition: transform 0.3s linear, width 0s linear 0.3s;
    -webkit-animation: scaleUp 0.3s linear 0.4s forwards;
    -moz-animation: scaleUp 0.3s linear 0.4s forwards;
    -o-animation: scaleUp 0.3s linear 0.4s forwards;
    -ms-animation: scaleUp 0.3s linear 0.4s forwards;
    animation: scaleUp 0.3s linear 0.4s forwards;
}
.ff-container input.ff-selector-type-1:checked ~ .ff-items li:not(.ff-item-type-1),
.ff-container input.ff-selector-type-2:checked ~ .ff-items li:not(.ff-item-type-2),
.ff-container input.ff-selector-type-3:checked ~ .ff-items li:not(.ff-item-type-3)
{
    -webkit-animation: scaleDown 0.3s linear forwards;
    -moz-animation: scaleDown 0.3s linear forwards;
    -o-animation: scaleDown 0.3s linear forwards;
    -ms-animation: scaleDown 0.3s linear forwards;
    animation: scaleDown 0.3s linear forwards;
}
@-webkit-keyframes scaleUp {
    50% { width: 350px; -webkit-transform: scale(0,0); }
    100% { width: 350px; -webkit-transform: scale(1,1); }
}
@-webkit-keyframes scaleDown {
    0% { width: 350px;-webkit-transform: scale(1,1);}
    99% { width: 350px; -webkit-transform: scale(0,0);}
    100% { width: 0px; -webkit-transform: scale(0,0); }
}
@-moz-keyframes scaleUp {
    50% { width: 350px; -moz-transform: scale(0,0); }
    100% { width: 350px; -moz-transform: scale(1,1); }
}
@-moz-keyframes scaleDown {
    0% { width: 350px;-moz-transform: scale(1,1);}
    99% { width: 350px; -moz-transform: scale(0,0);}
    100% { width: 0px; -moz-transform: scale(0,0); }
}
@-o-keyframes scaleUp {
    50% { width: 350px; -o-transform: scale(0,0); }
    100% { width: 350px; -o-transform: scale(1,1); }
}
@-o-keyframes scaleDown {
    0% { width: 350px;-o-transform: scale(1,1);}
    99% { width: 350px; -o-transform: scale(0,0);}
    100% { width: 0px; -o-transform: scale(0,0); }
}
@-ms-keyframes scaleUp {
    50% { width: 350px; -ms-transform: scale(0,0); }
    100% { width: 350px; -ms-transform: scale(1,1); }
}
@-ms-keyframes scaleDown {
    0% { width: 350px;-ms-transform: scale(1,1);}
    99% { width: 350px; -ms-transform: scale(0,0);}
    100% { width: 0px; -ms-transform: scale(0,0); }
}
@keyframes scaleUp {
    50% { width: 350px; transform: scale(0,0); }
    100% { width: 350px; transform: scale(1,1); }
}
@keyframes scaleDown {
    0% { width: 350px; transform: scale(1,1);}
    99% { width: 350px; transform: scale(0,0);}
    100% { width: 0px; transform: scale(0,0); }
}

/*about me letters*/


.hero
{
    width: 100%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1
{
    font-size: 60px;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    animation: type 3s steps(38) both,
    blink 1s step-end 2 ;
    max-width: fit-content;
    font-weight: bold;
    
}

.hero p
{
    font-size: 30px;
    color: var(--red);
    font-style: italic;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    animation: type 3s steps(35) 1600ms both,
    blink 1s step-end 1600ms infinite ;
    max-width: fit-content;
    width:0px;
}

@keyframes type {
    from { width: 0 }
    to { width: 100%;
         /*white-space:normal*/ }
  }
  
@keyframes blink {
    0%,100%
    {
      border-right: 2px solid var(--red);
    }
    50%{
      border-color: transparent;
    }
  }


