/* General Demo Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
	font-family: 'codropsicons';
	src:url('../fonts/codropsicons/codropsicons.eot');
	src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/codropsicons/codropsicons.woff') format('woff'),
		url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
		url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
	font-weight: normal;
	font-style: normal;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;}


.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	color: black;
	background: #f9f9f9;
}

a {
	color: #888;
	text-decoration: none;
}

a:hover,
a:active {
	color: #333;
}

.bold {
	font-weight: 600;
}

.pulse {
    box-shadow: 0 0 0 rgba(64,64,64,1);
    animation: pulse 2s infinite;
}
.pulse:hover {
    animation: none;
}
@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.8);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.8);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}

#project {
	font-size: 17px;
	text-align: center;
	padding-top: 30px;
}

#skills {
	background-color: #009688;
	padding: 40px 0;
}

#skills {
	color: #fff;
}

.flex {
	display: flex;
	justify-content: space-around;
	width: 100%;
}

.flex ul li {
	width: 31%;
	margin-top: 30px;
	margin-bottom: 30px;
}

#selfie {
	height:130px;
	width: 100px;
	border-radius: 30px;
	padding-bottom: 15px;
}

#responsive {
	width: 300px;
	height: 180px;
	padding: 5px;
}

.preview {
	padding-top: 5px;
	font-size: 17px;
}

.preview .fa {
	color:#fff;
}

#quote {
	opacity: 0;
}

/* Header Style */
.container > header {
	margin: 0 auto;
	padding: 2em;
	text-align: center;
	background: rgba(0,0,0,0.01);
}

.container > header h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
}

/* To Navigation Style */
.codrops-top {
	background: #fff;
	background: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	width: 100%;
	font-size: 0.69em;
	line-height: 2.2;
}

.codrops-top a {
	padding: 0 1em;
	letter-spacing: 0.1em;
	color: #888;
	display: inline-block;
}

.codrops-top a:hover {
	background: rgba(255,255,255,0.95);
	color: #333;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	float: left;
	display: block;
}

.codrops-icon:before {
	font-family: 'codropsicons';
	margin: 0 4px;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
	content: "\e001";
}

.codrops-icon-prev:before {
	content: "\e004";
}

.codrops-icon-archive:before {
	content: "\e002";
}

.codrops-icon-next:before {
	content: "\e000";
}

.codrops-icon-about:before {
	content: "\e003";
}

/* Demo Buttons Style */
.codrops-demos {
	padding-top: 1em;
	font-size: 0.9em;
}

.codrops-demos a {
	display: inline-block;
	margin: 0.5em;
	padding: 0.7em 1.1em;
	border: 3px solid #b3b9bf;
	color: #b3b9bf;
	font-weight: 700;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	border-color: #2c3f52;
	color: #2c3f52;
}

#credits {
 background-color: #009688;
 color: #fff;
 margin-top: 15px;
 padding-top: 20px;
 padding-bottom: 20px;
 text-align: center;
 display: block;
}

#credits p {
 font-size: 0.9em;
}

#credits a {
     color:#fff;
     cursor: help;           
}

#credits a:hover,a:focus {
     background:rgba(0,0,0,.4);
     box-shadow:0 1px 0 rgba(255,255,255,.4);
}



#credits a span{
     position:absolute;     
      margin-top:23px;
     margin-left:-35px;
     color:#fff;
     background:rgba(0,0,0,.9);
     padding:15px;
     border-radius:3px;
     box-shadow:0 0 2px rgba(0,0,0,.5);
     transform:scale(0) rotate(-12deg);
     transition:all .25s;           
}

#credits a:hover span, #credits a:focus span{
     transform:scale(1) rotate(0);        
}

@media screen and (max-width: 25em) {

	.codrops-icon span {
		display: none;
	}
}

@media screen and (max-width: 870px) {

	.flex ul li h3 {
		font-size: 0.9em;
	}

}

@media screen and (max-width: 670px) {

	.codrops-icon span {
		display: none;
	}

	.flex ul li h3 {
		font-size: 0.9em;
	}
		.grid figcaption a {
		font-size: 0.8em;
	}
	
	.flex ul li {
		width: 49%;
	}
}


@media screen and (max-width: 504px) {

	.codrops-icon span {
		display: none;
	}

	.flex ul li:nth-child(-n+5){
	margin-bottom: 50px;
	}

	.flex ul li:nth-child(-n+6) {
    margin-top: 20px;
	}

	.flex ul li h3 {
		font-size: 1.2em;
	}

}