*,
*::after,
*::before {
	box-sizing: border-box;
}

body {
	color: #131314;
	background: #f5f5f5 url(../img/bg.png) repeat-y 50% 500px;
	background-size: 70%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-decoration: none;
	color: #ffffff;
	outline: none;
}

a:hover,
a:focus {
	color: #131314;
}

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

.stats-box-title {
	margin: 8%;
	text-align: left;
}

.stats-box-title h1 {
	color: #fff;
	font-size: 2.8rem;
	font-weight: 600;
}

.stats-title-color {
	color: #62d1b0;
}

.js .loading::before {
	content: '';
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #efeff2;
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1001;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	margin: -25px 0 0 -25px;
	pointer-events: none;
	border-radius: 50%;
	background: #dcdcde;
	animation: loaderAnim 0.8s ease-out infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		transform: scale3d(0.5, 0.5, 1);
	}
}

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

/* Content */
.content {
	padding: 3em 0;
}

.content--grid {
	display: grid;
	padding: 2vh;
	grid-template-columns: 50% 50%;
}

.content--related {
	font-size: 0.85em;
	display: grid;
	justify-content: center;
	align-content: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 2em;
	padding: 10em 0;
	text-align: center;
	letter-spacing: 0.05em;
	grid-template-columns: repeat(auto-fill, 260px);
	grid-gap: 4em;
}

.content--related>p {
	grid-column: 1 / -1;
}

.codrops-header {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: 100%;
	padding: 5vw;
}

.codrops-header__title {
	font-size: 1.625em;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	padding: 0.5em 0;
	letter-spacing: 0.5em;
	text-transform: uppercase;
}

.codrops-links {
	position: relative;
	display: flex;
	margin: 0 1em 0 0;
	text-align: center;
	white-space: nowrap;
}

.codrops-icon {
	display: inline-block;
	margin: 0.5em;
}

.codrops-icon:first-child {
	margin-left: 0;
}

/* Related post item */
.media-item {
	display: block;
	transition: color 0.3s;
}

.media-item__img {
	max-width: 100%;
	opacity: 0.8;
	border-radius: 60px/100px;
	transition: opacity 0.3s;
}

.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
	opacity: 1;
}

.media-item__title {
	font-weight: normal;
	margin: 0;
	padding: 0.5em;
}

.item {
	position: relative;
	width: 560px;
	max-width: 100%;
	margin: 0 0 0 auto;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	grid-column: span 2;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.item:nth-of-type(odd) {
	margin-left: -6px;
	grid-column-start: revert;
}

.item:first-of-type {
	grid-column: span 1;
}


.item--style-8 .item__svg {
	top: 100px;
}


.item--style-4 .item__svg {
	top: 298px;
}


.item--style-1 .anim-text-banner-5 {
	margin-top: 250px;

}

.item--style-2 .anim-text-banner-2 {
	margin-top: 0px;

}


.item--style-8 .anim-text-banner-5 {
	margin-top: 250px;

}

.item--style-1 .item__number {
	top: 150px;
}

.item--style-2 .item__number {
	top: 155px;
	left: -15px;
}

.item--style-8 .item__number {
	top: 260px;
}

.item--style-4 .item__number {
	top: 446px;
}

.item--style-9 {
	top: 170px;
}


.item__svg {
	position: relative;
	display: block;
	width: 80%;
	height: auto;
	min-height: 500px;
	margin: 0 auto;
}

.item__clippath,
.item__bubble,
.item__img {
	transform-origin: 50% 50%;
}

.item__meta {
	position: absolute;
	margin-left: 3px;
	top: 77%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	width: 300px;
	height: 100%;
	text-shadow: 1px 2px 3px #1a495933;
}

.item__number {
	position: absolute;
	top: 0;
	width: 100%;
	letter-spacing: 1px;
}

.item__specimen {
	font-size: 5em;
	font-weight: 400;
	line-height: 0.9;
	text-transform: lowercase;
	letter-spacing: -0.025em;
	color: #62d1b0;
	text-shadow: 2px 1px #62d1b0a8;
}

.item__reference {
	font-size: 1.25em;
	color: #62d1b0;
	font-weight: 500;
	text-transform: uppercase;
	top: -15px;
	left: 42%;
}

.item__title {
	font-size: 1.465em;
	font-weight: 600;
	width: 79%;
	margin: 1em 0 0 0;
	text-align: center;
	letter-spacing: 0.125em;
	color: #edab79;
}

.item__subtitle {
	font-size: 1em;
	font-weight: 500;
	margin: 0.5em 0 0;
	text-align: center;
	letter-spacing: 0.15em;
	opacity: 0;
	color: #fff;
}

/* Individual styles */
.item--style-1 .item__bubble {
	fill: #023a4c;
}

.item--style-2 .item__bubble {
	fill: #023a4c;
}

.item--style-3 .item__bubble {
	fill: #023a4c;
}

.item--style-3 .item__bubble {
	color: #023a4c;
}

.item--style-4 .item__bubble {
	fill: #023a4c;
}

.item--style-5 .item__bubble {
	fill: #023a4c;
}

.item--style-6 .item__bubble {
	fill: #023a4c;
}

.item--style-7 .item__bubble {
	fill: #023a4c;
}

.item--style-7 .item__title {
	color: #023a4c;
}

.item--style-8 .item__bubble {
	fill: #023a4c;
}

.item--style-9 .item__bubble {
	fill: #023a4c;
}


.rating-color {
	color: #62d1b0;
	font-weight: bolder;
}

.anim-text-banner-1>span,
.anim-text-banner-2>span,
.anim-text-banner-3>span,
.anim-text-banner-4>span {
	position: absolute;
	clip: rect(0px, 0px, 300px, 0px);
	left: 0px;
}

.anim-text-parent-1,
.anim-text-parent-2,
.anim-text-parent-3,
.anim-text-parent-4 {
	position: relative;
}

.anim-text-parent-1>.v-bar-1,
.anim-text-parent-2>.v-bar-2,
.anim-text-parent-3>.v-bar-3,
.anim-text-parent-4>.v-bar-4 {
	position: absolute;
	width: 0px;
	height: 2vw;
	top: 0px;
	left: -10px;
	transform: translate(-100%, 450%);
}

.anim-text-parent-1>.anim-text-1,
.anim-text-parent-2>.anim-text-2,
.anim-text-parent-3>.anim-text-3,
.anim-text-parent-4>.anim-text-4 {
	top: 0;
	left: 0;
	position: absolute;
	transition: width 2s ease;
	clip: rect(0px, 0px, 1300px, 0px);
}

.underline-animation {
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}

.underline-animation svg {
	position: absolute;
	top: 80%;
	left: 0;
	width: 100%;
	height: auto;
	margin-top: 10px;
}

.underline-animation .stroke {
	stroke: #62d1b0;
	stroke-dasharray: 822;
	stroke-dashoffset: 822;
	animation: underlineAnimation 1.8s 1s linear forwards;
}

@keyframes underlineAnimation {
	from {
		stroke-dashoffset: 822;
	}

	to {
		stroke-dashoffset: 0;
	}
}

.anim-text-banner-1,
.anim-text-banner-2,
.anim-text-banner-3,
.anim-text-banner-4 {
	padding: 20px;
}


@media screen and (max-width: 60em) {
	.item:first-of-type {
		grid-column: span 2;
	}

	.content--grid {
		grid-row-gap: 25vh;
	}
}

@media screen and (max-width: 40em) {
	.codrops-header__title {
		font-size: 1em;
	}

	.content--grid {
		padding: 2vh 8vw;
	}

	.item__number {
		font-size: 0.75em;
	}

	.item__svg {
		min-height: 372px;
	}
}

.tm-widget {
	display: none !important;

}

.item__reference-1,
.item__reference-2,
.item__reference-3,
.item__reference-4 {
	position: relative;
	left: -5px;
	color: #fff;
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 1.2rem;
	top: 10px;
}

.item__reference-2 {
	top: 34px;
}

.item__reference-3 {
	top: 221px;
}

.item__reference-4 {
	top: 337px;
}

@media (min-width: 760px) {

	.item__reference-1,
	.item__reference-2,
	.item__reference-3,
	.item__reference-4 {
		position: relative;
		color: #ffffff;
		letter-spacing: 0px;
		font-weight: 400;
		font-size: 1.2rem;
	}
	
	.item__reference-1 {
		top: 58px;
		left: 79px;
	}
	
	.item__reference-2 {
		top: 86px;
		left: -94px;
	}
	
	.item__reference-3 {
		left: 104px;
		top: 148px;
	}
	
	.item__reference-4 {
		left: -124px;
		top: 328px;
	}
	
	.stats-box-title h1 {
		font-size: 4rem;
	}
	
	.item--style-1 .item__number {
		top: 200px;
	}
	
	.item--style-2 .item__number {
		top: 220px;
	}
	
	.item--style-8 .item__number {
		top: 310px;
	}
	
	.item--style-4 .item__number {
		top: 450px;
	}
	
	.item--style-4 .item__svg {
	top: 223px;
	}
}

@media screen and (min-width: 1020px) {
	.item__reference-1,
	.item__reference-2,
	.item__reference-3,
	.item__reference-4 {
		position: relative;
		color: #ffffff;
		letter-spacing: 0px;
		font-weight: 400;
		font-size: 1.2rem;
	}

	.item__reference-1 {
		top: -453px;
		left: 487px;
	}

	.item__reference-2 {
		top: -426px;
		left: -483px;
	}

	.item__reference-3 {
		left: 496px;
		top: -391px;
	}

	.item__reference-4 {
		left: -522px;
		top: -337px;
	}

	.stats-box-title h1 {
		font-size: 4rem;
	}

	.item--style-1 .item__number {
		top: 200px;
	}

	.item--style-2 .item__number {
		top: 220px;
	}

	.item--style-8 .item__number {
		top: 310px;
	}

	.item--style-4 .item__number {
		top: 310px;
	}

	.item--style-4 .item__svg {
	top: 98px;
	}
}
