@font-face {
	font-family: 'codropsicons';
	font-weight: normal;
	font-style: normal;
	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');
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: '';
	display: table;
}

.clearfix:after {
	clear: both;
}

.product-hunt {
    display: block;
    width: 100%;
    background: #DA552F;
    color: #FFF;
    padding: 20px 10px;
    text-align: center;
}

.product-hunt a {
	color:white;
	text-decoration: underline;
}

header {
	width: 100%;
    background: white;
    text-align: center;
	font-family: "Avenir-Black", Helvetica, sans-serif;
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.16);
    height: 15.4em;
}

.headerButton {
	color: rgba(0,0,0,.87);
    background-color: #FFF;
    transition: all .2s ease-in-out;
    outline:none;
    display: inline-block;
    height: 36px;
    padding: 0 26px;
    margin: 6px 0;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    background-image: none;
    text-align: center;
    line-height: 36px;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow: 0 0 2px rgba(0,0,0,.12), 0 2px 2px rgba(0,0,0,.2);
    user-select: none;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: .03em;
    position: relative;
    overflow: hidden;
}

.card__disclaimer {
	margin-top: 1em;
    font-size: .55em;
    color: #a0a0a0;
	text-align: center;
}

.s1link {
	font-weight: 800;
    font-size: 1.2em;
    text-decoration: underline;
}

.card__container--closed .card__disclaimer {
	visibility: hidden;
}

footer {
	width: 100%;
    background: white;
    text-align: center;
	font-family: "Avenir-Black", Helvetica, sans-serif;
    box-shadow: 0px -1px 3px 0px rgba(0,0,0,0.16);
    height: 14em;
    margin-bottom: 0;
}

#headerTitle {
    font-size: 3em;
    padding-top: 1.1em;
    font-weight: 600;
	margin:0;

/*
	background: #2b0096;
	background: -moz-linear-gradient(-45deg,  #2b0096 1%, #e9649b 100%);
	background: -webkit-linear-gradient(-45deg,  #2b0096 1%,#e9649b 100%);
	background: linear-gradient(135deg,  #2b0096 1%,#e9649b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b0096', endColorstr='#e9649b',GradientType=1 );
	background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/

}

#headerHeadline {
	margin:0;
	font-size: 1.25em;
}

body {
	font-family: Avenir, 'Helvetica Neue', 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
	line-height: 1.5;
	color: #3b393d;
	background: #fbfbfb;
	background-size: cover;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
	overflow-y: scroll;
}

body.body--hidden {
	overflow: hidden;
}

body.body--hidden .codrops-header,
body.body--hidden .content--related {
	opacity: 0;
}

.codrops-header,
.content--related {
	-webkit-transition: opacity 300ms ease-in-out;
	transition: opacity 300ms ease-in-out;
}

a {
	text-decoration: none;
	color: #de6551;
	outline: none;
}

a:hover,
a:focus {
	color: #3b393d;
}

.demo-2 a {
	color: #7cc576;
}

.demo-3 {
	background: #1b1b1b;
}

.demo-4 {
	background: #acaad1;
}

.demo-4 a {
	color: #6448a0;
}

.demo-4 .codrops-header h1 span {
	color: #4f4c4c;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}
/* Header */

.codrops-header {
	padding: 2em 1em;
	text-align: center;
}

.codrops-header h1 {
	font-size: 2.25em;
	font-weight: 400;
	line-height: 1.2;
	margin: .5em 0 0;
}

.codrops-header h1 span {
	font-size: .45em;
	display: block;
	padding: .5em 0 1em;
	color: #999;
}
/* Top Navigation Style */

.codrops-links {
	position: relative;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
}

.codrops-links::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	margin-left: -1px;
	background: #ddd;
	-webkit-transform: rotate3d(0, 0, 1, 22.5deg);
	transform: rotate3d(0, 0, 1, 22.5deg);
}

.codrops-icon {
	display: inline-block;
	width: 1.5em;
	margin: .5em;
	padding: 0em 0;
	text-decoration: none;
}

.codrops-icon span {
	display: none;
}

.codrops-icon:before {
	font-family: 'codropsicons';
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	margin: 0 5px;
	text-transform: none;
	-webkit-font-smoothing: antialiased;

	speak: none;
}

.codrops-icon--drop:before {
	content: '\e001';
}

.codrops-icon--prev:before {
	content: '\e004';
}
/* Demo links */

.codrops-demos {
	margin: 2em 0 0;
}

.codrops-demos a {
	display: inline-block;
	margin: 0 .5em;
}

.codrops-demos a.current-demo {
	font-weight: bold;
	color: #3b393d;
}
/* Content */

.content {
	padding: 2em 0 2em;
}
/* Related demos */

.content--related {
	font-weight: bold;
	text-align: center;
}

.media-item {
	display: inline-block;
	padding: 1em;
	vertical-align: top;
	-webkit-transition: color .3s;
	transition: color .3s;
}

.media-item__img {
	max-width: 100%;
	opacity: .3;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
}

.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
	opacity: 1;
}

.media-item__title {
	font-size: 1em;
	margin: 0;
	padding: .5em;
}

.box {
	position: relative;
    float: left;
    width: 45%;
    height: 10em;
    margin: 2%;
    /*padding-bottom: 16%;*/
    /*max-height: 150px;*/
	background: #fefefe;
	text-align: center;
	/*box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/
  	transition: all 0.4s cubic-bezier(.25,.8,.25,1);
  	border: 1px solid #eaeaea;
  	display: block;
}

.boxTitle {
	font-size: 1em;
	margin: 2em 0 0 0;
	height: 26%;
}

.boxNumber {
	font-size: 2.7em;
	font-weight: 600;
    margin: 0;
    color: #3B393D;
}

.box:hover {
  box-shadow: 0 0 1px rgba(0,0,0,0.2), 0 5px 20px rgba(0,0,0,0.1);
}

/* cards wrapper and close btn */

.wrapper {
	overflow: auto;
	width: 95%;
	max-width: 1250px;
	margin: 0 auto;
}

.stats {
	margin-bottom: 10px;
}

.card__copy ul li {
	margin-bottom: 0.6em;
}

@media screen and (max-width: 443px) {
	header {
		height: 16.4em;
	}
}

@media screen and (max-width: 50em) {
	.codrops-header {
		padding: 3em 10% 4em;
	}
}

@media screen and (max-width: 40em) {
	.codrops-header h1 {
		font-size: 2.4em;
		line-height: 1.2;
	}
}
