

*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	--text-color: #fff;
	--background-color: #363dc2;
	--background-color-2: #282faf;
	--background-color-3: #202692;
	--link-color: #03b9f1;
	--link-hover-color: #fff;
	font-family: 'Montserrat', monospace;
	font-weight: 500;
	color: #fff;
	color: var(--text-color);
	background-color: #08051A;
	background-color: var(--background-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--background-color);
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 10000;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 10px solid var(--background-color-2);
	border-left-color: var(--text-color);
	animation: loaderAnim 0.8s linear infinite forwards;
}

@keyframes loaderAnim {
	to {
		transform: rotate(360deg);
	}
}

main {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #08051A;
}

a {
	text-decoration: none;
	color: #BCFFFF;
	font-size: 0.8em;
	outline: none;
}

a:hover,
a:focus {
	color: #08051A;
	outline: none;
	background-color: #BCFFFF;
}

.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;
}

/* Deco Shape */
.decoshape {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	fill: var(--background-color-3);
}

/* SVG Morph */
.morph-wrap {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	stroke-linejoin: round;
    animation: 3s fadeIn;
    opacity: 0;
    animation-fill-mode: forwards;
    transition: opacity 1s;
}

.morph {
	position: relative;
	height: 100%;
	fill: var(--background-color-2);
	flex: none;
}

.content-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	pointer-events: none;
    animation: 2s fadeIn;
    opacity: 0;
    animation-fill-mode: forwards;
    transition: opacity 1s;
}

.content {
	position: relative;
	display: grid;
}

.content--fixed {
	position: fixed;
	top: 30px;
	left: 30px;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	z-index: 100;
	pointer-events: none;
	grid-template-columns: 50% 50%; 
	grid-template-rows: auto auto 4em;
	grid-template-areas:	"header ..."
							"... decotitle"
							"demos decotitle";

    animation: 2s fadeIn;
    opacity: 0;
    animation-fill-mode: forwards;
    transition: opacity 1s;
}

.content--fixed a {
	pointer-events: auto;
}

.content--layout {
	pointer-events: auto;
	justify-content: center;
	align-content: center;
    grid-template-columns: 220px 150px 240px 150px;
	grid-template-rows: 150px 75px 75px;
	grid-template-areas:	"... title title title"
							"author ... desc desc"
							"author ... link link";
}

.content--related {
	text-align: center;
	align-content: center;
	justify-content: center;
	padding: 0 2em;
	min-height: 600px;
	height: 100vh;
	font-size: 0.85em;
}

.content__img {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	opacity: 0.85;
	width: 400px;
	height: 410px;
	margin: 0 0 0 -100px;
	border-radius: 306px;
}

.content__title {
    grid-area: title;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.025em;
	font-size: 6.5rem;
    width: max-content;
    line-height: 160px;
    margin: 0;
    z-index: 10;
    cursor: default;
}

.content__author {
	grid-area: author;
	margin: 0;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	padding: 1em;
	text-align: right;
	z-index: 10;
	height: 210px;
	cursor: default;
	color: #ffffff;
	font-weight: 600;
	font-size: 1em;
}

.content__author span{
    background-color: rgba(0, 0, 0, 0.3);
    padding:6px 0 6px 0;
    border-radius: 10px;
}

.content__desc {
	grid-area: desc;
	margin: 0;
	z-index: 10;
	padding: 0;
	width: 450px;
	cursor: default;
	color: #BCFFFF;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
	font-size: 2rem;
}

.content__img,
.content__title,
.content__author,
.content__desc {
	transition: transform 0.3s ease-out;
}

.content__link {
	pointer-events: auto;
	grid-area: link;
	align-self: end;
	justify-self: start;
	z-index: 10;
	padding: 0.75em 1.3em 2em 2.15em;
	width: 143px;
	border-radius: 7px;
	height: 30px;
	font-size: 13px;
	color: #BCFFFF;
	font-weight: 600;
	border: 2px solid #BCFFFF;
}

.content__link:hover {
    animation: 1s fadeIn;
    opacity: 0;
    animation-fill-mode: forwards;
    transition: opacity 1s;
}

p.content__link_off {
	grid-area: link;
	align-self: end;
	justify-self: start;
	z-index: 10;
	padding: 0.75em 1.3em 2em 2.15em;
	width: 149px;
	border-radius: 7px;
	height: 30px;
	font-size: 13px;
	color: #08051A;
	background-color: #BCFFFF;
	font-weight: 600;
	border: 2px solid #BCFFFF;
	margin:0;
}

.content__info {
	grid-column: 1 / 3;
}

.content__related-item {
	padding: 1em;
	transition: color 0.3s;
}

.content__related-img {
	max-width: 100%;
	opacity: 0.8;
	transition: opacity 0.3s;
}

.content__related-item:hover .content__related-img,
.content__related-item:focus .content__related-img {
	opacity: 1;
}

.content__related-title {
	font-size: 1.4em;
	margin: 0;
	padding: 0.3em;
}

/* Different layouts */

/* layout-2 */
.content--layout-2 {
	grid-template-areas:	"... title title title"
							"desc desc ... author"
							"link link ... author";
}

.content--layout-2 .content__img {
	grid-column: 3 / 5;
	grid-row: 1 / 3;
}

.content--layout-2 .content__desc {
	text-align: right;
}

.content--layout-2 .content__link {
	justify-self: end;
}

.content--layout-2 .content__author {
	justify-self: end;
	align-self: start;
}

/* layout-3 */
.content--layout-3 {
	grid-template-rows: 75px 75px 150px;
	grid-template-areas:	"... ... desc desc"
							"author title title title"
							"author ... link link";
}

.content--layout-3 .content__img {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

.content--layout-3 .content__desc {
	align-self: end;
}

/* layout-4 */

.content--layout-4 {
	grid-template-areas:	"title title title desc"
							"... author ... desc"
							"... author ... link";
}

.content--layout-4 .content__img {
	grid-column: 2 / 4;
	grid-row: 1 / 3;
}

.content--layout-4 .content__author {
	justify-self: start;
	align-self: start;
}

/* Header */
.codrops-header {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	z-index: 100;
	grid-area: header;
	align-self: start;
	justify-self: start;
}

.codrops-header__title {
	font-size: 1em;
	padding: 0.75em 0;
	margin: 0;
	font-weight: 500;
}

/* Demos */
.demos {
	grid-area: demos;
	align-self: end;
}

.demo {
	display: inline-block;
	position: relative;
	font-size: 0.85em;
	margin: 0 0.25em 0.5em 0;
	padding: 1em;
}

.demo .decoshape {
	display: none;
}

.demo--current {
	color: var(--link-hover-color);
	border-color: currentColor;
}

.demo--current .decoshape {
	display: block;
	z-index: -1;
}

/* Deco elements */
.deco {
	pointer-events: none;
}

.deco--title {
	grid-area: decotitle;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	text-align: right;
	align-self: end;
	justify-self: end;
}

/* Top Navigation Style */
.hiro_profile_about {
	position: relative;
}

.codrops-icon {
	position: relative;
	display: inline-block;
	padding: 0.75em 0.75em 1em;
}

/* Demo themes */
.demo-2 {
	--background-color: #1d1b22;
	--background-color-2: #1C192E;
	--background-color-3: #1C192E;
	--text-color: #fff;
	--link-color: #f9ed8a;
	--link-hover-color: #fff;
}

.demo-3 {
	--background-color: #08051A;
	--background-color-2: #bcffff;
	--background-color-3: #1747c0;
	--text-color: #fff;
	--link-color: #fff;
	--border-radius: 50px;
	--link-hover-color: #17b1b5;
}

.demo-3 .morph {
	fill: none;
	stroke-width: 13px;
	border-radius: 20px;
	stroke: #BCFFFF;
}

@media screen and (max-width: 50em) {
	.content--fixed {
		height: auto;
		min-height: 0;
		display: block;
		z-index: 1000;
		position: absolute;
	}
	.codrops-header {
		align-items: self-end;
		flex-direction: column;
	}
	.deco--title {
		display: none;
	}
	.demos {
		text-align: center;
	}
}

@media screen and (max-width: 40em) {
	.content--layout {
		transform: scale3d(0.8,0.8,1);
	}
}

@media screen and (max-width: 36em) {
	.content--layout {
		transform: scale3d(0.7,0.7,1);
	}
}

@media screen and (max-width: 32em) {
	.content--layout {
		transform: scale3d(0.6,0.6,1);
	}
	.content__author,
	.content__desc,
	.content__link {
		font-size: 1.35em;
	}
}

@media screen and (max-width: 28em) {
	.content--layout {
		transform: scale3d(0.5,0.5,1);
	}
}


.hiro_profile_about .circle{
	margin:0 10px 0 0;
	padding:0;
	width:45px;
	height:45px;
	border:5px solid #2B2938;
	border-radius:50%;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	overflow:hidden;
	float:left
}

.hiro_profile_about .circle span{display:none}

.hiro_profile_about .circle_on{
	margin:0 10px 0 0;
	padding:0;
	width:55px;
	height:55px;
	border:5px solid #BCFFFF;
	border-radius:50%;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	overflow:hidden;
	float:left
}

.hiro_profile_about .circle_on span{display:none}

.hiro_profile_about h1{
	margin: 9px 0 3px 0;
	padding: 0;
	width: 250px;
	font-size: 19px;
	color: #D4D1E5;
	font-weight: 600;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0px;
}

.hiro_profile_about h2{
	margin:0;
	padding:0 0 4px 0;
	width:250px;
	font-size: 13px;
	color: #807D92;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.hiro_profile_about p{
	margin:0;
	padding:0;
	width:250px;
	font-size: 11px;
	color: #615D72;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.hiro_profile_about p.active{
	margin:0;
	padding:0;
	width:250px;
	font-size: 13px;
	color: #BCFFFF;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.hiro_menu_about{
	pointer-events: auto;
	text-align: right;
	display: block;
	position: absolute;
	top: 0;
	z-index:5;
	right: 30px;
}

.hiro_menu_about a.home{
	margin:18px 50px 0 0;
	padding:0;
	width: 15px;
	height: 15px;
	overflow:hidden;
	float:left;
	background: url(../img/mac_menu.svg);
	background-repeat: no-repeat;

}

.hiro_menu_about a.home_active {
	margin:18px 50px 0 0;
	padding:0;
	width: 15px;
	height: 15px;
	overflow:hidden;
	float:left;
	background: url(../img/mac_menu.svg);
	background-repeat: no-repeat;background-position: 0px -30px;
}

.hiro_menu_about a.about{
	margin: 18px 50px 0 0;
	padding: 0;
	width: 15px;
	height: 15px;
	overflow: hidden;
	float: left;
	background: url(../img/mac_menu.svg);
	background-repeat: no-repeat;
	background-position: -63px 0px;

}

.hiro_menu_about a.about_active{
	margin: 18px 50px 0 0;
	padding: 0;
	width: 15px;
	height: 15px;
	overflow: hidden;
	float: left;
	background: url(../img/mac_menu.svg);
	background-repeat: no-repeat;
	background-position: -63px -30px;

}

.hiro_menu_about a.works{
	margin: 18px 0 0 0;
	padding: 0;
	width: 15px;
	height: 15px;
	overflow: hidden;
	float: left;
	background: url(../img/mac_menu.svg);
	background-repeat: no-repeat;
	background-position: -120px 0px;

}

.hiro_menu_about a.works_active{
	margin: 18px 50px 0 0;
	padding: 0;
	width: 15px;
	height: 15px;
	overflow: hidden;
	float: left;
	background: url(../img/mac_menu.svg) no-repeat -120px -30px;

}

.hiro_menu_about a.home span,
.hiro_menu_about a.home_active span{display:none}
.hiro_menu_about a.about span,
.hiro_menu_about a.about_active span{display:none}
.hiro_menu_about a.works span,
.hiro_menu_about a.works_active span{display:none}

.hiro_menu_about a.home:hover, .hiro_menu_about a.home_active{background-position: 0 -30px;}
.hiro_menu_about a.about:hover, .hiro_menu_about a.about_active{background-position: -63px -30px;}
.hiro_menu_about a.works:hover, .hiro_menu_about a.works_active{background-position: -120px -30px;}


#hiro_main{
	margin:0;
	padding:0;
}

.overlay-element,
.overlay {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #08051A;
	z-index: 4;
}

.overlay-element p,
.overlay p{
	margin: 20% 0 0 0;
	padding:0;
	height: auto;
	text-align:center;
	font-size: 135px;
	color: #C2BFD3;
	letter-spacing: -8px;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.overlay-element p span,
.overlay p span{
	font-size: 135px;
	color: #BCFFFF;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.overlay-element.active,
.overlay.active {
	opacity: 0.90;
	visibility: visible;
	animation: 1s fadeInHover;
	animation-fill-mode: forwards;
	transition: opacity 1s;
}

.overlay-element.active_out,
.overlay.active_out {
	opacity: 0.90;
	visibility: visible;
	animation: 1s fadeOutHover;
	animation-fill-mode: forwards;
	transition: opacity 1s;
}

.overlay_works {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #08051A;
	z-index: 4;
}

.overlay_works p {
	margin: 20% 0 0 0;
	padding:0;
	height: auto;
	text-align:center;
	font-size: 135px;
	color: #C2BFD3;
	letter-spacing: -2px;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.overlay_works p span{
	font-size: 135px;
	color: #BCFFFF;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.overlay_works.active {
	opacity: 0.90;
	visibility: visible;
	animation: 1s fadeInHover;
	animation-fill-mode: forwards;
	transition: opacity 1s;
}

.overlay_works.active_out {
	opacity: 0.90;
	visibility: visible;
	animation: 1s fadeOutHover;
	animation-fill-mode: forwards;
	transition: opacity 1s;
}

.overlay_about {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #08051A;
	z-index: 4;
}

.overlay_about p {
	margin: 20% 0 0 0;
	padding:0;
	height: auto;
	text-align:center;
	font-size: 135px;
	color: #C2BFD3;
	letter-spacing: -2px;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.overlay_about p span {
	font-size: 135px;
	color: #BCFFFF;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	font-family: 'Montserrat', sans-serif;
}

.overlay_about.active {
	opacity: 0.90;
	visibility: visible;
	animation: 1s fadeInHover;
	animation-fill-mode: forwards;
	transition: opacity 1s;
}

.overlay_about.active_out {
	opacity: 0.90;
	visibility: visible;
	animation: 1s fadeOutHover;
	animation-fill-mode: forwards;
	transition: opacity 1s;
}

@keyframes fadeInHover {
	from {
		opacity: 0;
	}
	to {
		opacity: 0.95;
	}
}

@keyframes fadeOutHover {
	from {
		opacity: 0.95;
	}
	to {
		opacity: 0;
	}
}

@-webkit-keyframes fadeinout {
	75% { opacity: 1;}
}

@keyframes fadeinout {
	75% { opacity: 1; }
}


@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


@keyframes fadeInHover {
	from {
		opacity: 0;
	}
	to {
		opacity: 0.95;
	}
}

@keyframes fadeOutHover {
	from {
		opacity: 0.95;
	}
	to {
		opacity: 0;
	}
}
