
body {
	--color-text: #fff;
	--color-bg: #252525;
	--color-link: #fff;
	--color-link-hover: #8E55C3;
	--color-bg-item1: rgb(0 0 0 / 35%);
	--color-bg-item2: #322f36;
	--color-bg-item3: #0f1013;
	--color-bg-item4: #1d2027;
	--color-bg-item5: rgb(12 12 12 / 36%);;
	--color-item-alt: #494d54;
	--color-quote: #5b677a;
	--color-info: #57535a;
	--color-title: #8E55C3;
	--color-tagline: #e2e2e2;
	min-height: 100vh;
	/* color: #57585c;
	color: var(--color-text);
	background-color: #fff;
	background-color: var(--color-bg); */

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}


.navbar .menu  a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	transition: color 0.2s;

}

.menu a:hover,
.menu a:focus {
	color: var(--color-link-hover);
}

button:focus,
a:focus {
	outline: none;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	height:55px;
	margin: 0 auto;
	fill: currentColor;
}

main {
	position: relative;
	width: 100%;
}

.frame {
	position: relative;
	z-index: 199;
}

.content {
	text-align: center;
	position: relative;
	z-index: 100;
}

.background {
	perspective: 1000px;
}

.background,
.background__copy {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url(../img/1.jpg);
	background-position: 50% 0%;
	background-size: cover;
	z-index: 1;
}

.background__copy {
	opacity: 0.3;
}

/* Header */
.codrops-header {
	position: relative;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	justify-items: center;
	align-self: start;
}

.codrops-header__title {
	font-size: 1rem;
	line-height: 1;
	font-weight: normal;
	margin: 0 1rem;
}

.info {
	display: block;
	grid-area: info;
	margin: 1rem 0;
	justify-self: end;
	text-align: center;
}

.github {
	display: block;
	margin: 1rem 0 0 0;
}

/* Top Navigation Style */
.codrops-links {
	position: relative;
	display: flex;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	font-size: 0.85rem;
}

.codrops-icon {
	display: inline-block;
	padding: 0.25em;
}

.content__title {
	font-family: "sabbath-black", serif;
	font-size: 14vw;
	font-weight: normal;
	mix-blend-mode: screen;
	line-height: 0.8;
	text-transform: lowercase;
	margin: 0;
	color: var(--color-title);
	z-index: 199;

}

.content__tagline {
	color: var(--color-tagline);
	margin: 1rem 0 0 0;
	font-weight: bold;
	font-size: 1rem;
	letter-spacing: 0.125rem;
	word-spacing: 0.25rem;
	text-transform: uppercase;
	text-align: center;
	z-index: 199;
}

.action {
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 0;
}

.action--menu {
	pointer-events: auto;
	position: absolute;
	top: 14px;
	right: 60px;
	z-index: 1000;
}

.menu--open .action--menu {
	pointer-events: none;
}

.action--close {
	position: absolute;
	top: 24px;
	right: 60px;
	z-index: 1000;
	opacity: 0;
	padding: 0 0.5rem;
}

.icon--menu {
	width: 50px;
}

.icon--close {
	width: 33px;
}

.menu {
	text-align: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	/* position: fixed; */
	position: absolute;
	/* top: 0; */
	top: -97px;
	left: 0;
	z-index: 11;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: repeat(3,33.33%);
	grid-template-rows: 50% 15% 15%;
	/* grid-template-columns: 100%!important;
	grid-template-rows: 50% 25% 25%!important; */
	pointer-events: none;
}

.menu--open {
	pointer-events: auto;
}

.menu__item {
	width: 100%;
	position: relative;
	overflow: hidden;
	opacity: 0;
}
.ab-logo-hide .menu__item {
	opacity: 1;
}
.menu__item-inner {
	overflow: hidden;
	transform: translate3d(100%,0,0);
	height: 100%;
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 30px;
}

.menu__item--1 .menu__item-inner {
	background: var(--color-bg-item1);
	border-right: 1px solid rgb(244 244 244 / 15%);
	/* background: rgba(0, 0, 0, 0.5); */
	/* backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); */
	backdrop-filter: blur(45px);
    -webkit-backdrop-filter: blur(45px);
}
.menu__item--2 .menu__item-inner {
	/* background: var(--color-bg-item2); */
	background: var(--color-bg-item5);
	border-bottom: 1px solid rgb(244 244 244 / 15%);
	backdrop-filter: blur(45px);
    -webkit-backdrop-filter: blur(45px);
}
.menu__item--3 .menu__item-inner {
	background: var(--color-bg-item3);
	background: transparent;
}
.menu__item--4 .menu__item-inner {
	background: var(--color-bg-item4);
	background: transparent;
}
.menu__item--5 .menu__item-inner {
	background: #e2e2e2;
	    background: rgb(9 9 9 / 36%);
		backdrop-filter: blur(45px);
	    -webkit-backdrop-filter: blur(45px);


}
.menu__item--5 .menu__item-inner a {
	color: #999999 	;
}
.menu__item--5 .menu__item-inner a:hover {
	color: #8E55C3;
}
/* .menu__item--4,
.menu__item--5 {
	display: none;
} */
.menu__item--4{
	display: none;
}

.menu__item--5 .menu__item-inner{
	flex-direction: row;
}
.menu__item--5 .menu__item-inner a{
	font-size: 50px;
	margin: 10px;
}


.label {
	display: none;
}

.mainmenu__item {
	opacity: 0;
}

.mainmenu__item,
.sidemenu__item {
	position: relative;
	overflow: hidden;
	transition: color 0.1s;
	margin: 1rem 0;
	display: block;
	font-size: 25px;
}

.sidemenu__item-inner {
	display: block;
	transform: translate3d(0,100%,0);
}

.menu__item-map {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../images/SY0KazjaHuRv.svg) no-repeat 50% 50%;
	background-size: cover;
	opacity: 1;
	transition: all 0.8s cubic-bezier(0.2,1,0.8,1);

}

.menu__item-inner:hover .menu__item-map {
	transform: scale3d(1.1,1.1,1);
	opacity: 0.2;
}

.menu__item-hoverlink {
	font-weight: bold;
	text-transform: capitalize;
	position: relative;
	z-index: 1000;
	display: block;
}

.menu__item-hoverlink:hover {
	color: var(--color-link);
}

.quote {
	font-size: 2rem;
	padding: 1rem;
	text-align: center;
	max-width: 70%;
	color: var(--color-quote);
	font-family: "sabbath-black",serif;
}

.menu__item-link {
	text-align: left;
	align-self: flex-start;
	justify-self: start;
	font-size: 1.5rem;
	width: 100%;
	line-height: 1;
	padding: 2rem ;
	margin: 3rem 0 auto;
	display: flex;
	flex-direction: column;
	height: calc(100% - 3rem);
}

.menu__item-link::after {
	content: '\27F6';
	display: block;
	margin-top: auto;
	font-size: 0.95rem;
}

@media screen and (min-width: 768px) {
	body {
		padding: 0;
	}
	.content {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 0 auto;
		min-height: 100vh;
		text-align: left;
	}
	.frame {
		position: fixed;
		z-index: 199;
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 100%;
		max-width: none;
		height: 100vh;
		padding: 1.5rem;
		pointer-events: none;
		grid-template-columns: 50% 50%;
		grid-template-rows: auto auto auto;
		grid-template-areas:
		'codropsheader info'
		'... ...'
		'github ...';
	}
	.codrops-header {
		grid-area: codropsheader;
		padding: 0;
		justify-content: start;
	}
	.codrops-links {
		margin: 0;
	}
	.frame a {
		pointer-events: auto;
	}
	.github {
		grid-area: github;
		justify-self: start;
	}
	.info {
		margin: 0 6rem 0 0;
		color: var(--color-info);
	}
	.menu {
		width: 100%;
		height: 100vh;
		overflow: hidden;
		/* position: fixed; */
		position: absolute;
		/* top: 0; */
		top: -97px;
		left: 0;
		grid-template-columns: 180px calc(50% - 90px)  calc(50% - 90px) ;
		grid-template-columns: 0 50% 50% ;
		grid-template-rows: 60% 40%;
		grid-template-areas:
            "item3 item1 item2 "
            "item4 item1 item5 ";
	}
	.menu__item {
		height: 100%;
	}
	.menu__item--1 {
		grid-area: item1;
	}
	.menu__item--2 {
		grid-area: item2;
	}
	.menu__item--3 {
		grid-area: item3;
	}
	.menu__item--4 {
		grid-area: item4;
	}
	.menu__item--5 {
		grid-area: item5;
	}
	.menu__item--4,
	.menu__item--5 {
		display: block;
	}
	.menu__item-inner {
		align-items: center;
	}
	.label {
		display: block;
		color: #808080;
		position: absolute;
		z-index: 1000;
		font-size: 0.85rem;
		font-weight: bold;
		margin: 0;
		white-space: nowrap;
	}
	.label--topleft {
		bottom: 10px;
		left: 10px;
	}
	.label--vert,
	.label--vert-mirror {
		-webkit-writing-mode: vertical-rl;
		writing-mode: vertical-rl;
	}
	.label--vert-mirror {
		transform: rotate(180deg);
	}
	.label--bottomright {
		bottom: 2rem;
		right: 2rem;
	}
	.label::before {
		content: '------------- ';
		width: 30px;
		height: 1px;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		letter-spacing: -2px;
		margin: 0 0.75rem 0 0;
	}
	.label a:last-child::before {
		content: '------------- ';
		width: 30px;
		height: 1px;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		letter-spacing: -2px;
		margin: 0 0.75rem 0 0;
		color: #808080;
		margin-bottom: 10px;
		margin-top: 10px;
	}
	.label--vert::before,
	.label--vert-mirror::before {
		margin: 0.75rem 0;
	}
	.mainmenu,
	.sidemenu {
		/* width: 100%; */
		height: 100%;
		display: flex;
		flex-direction: column;
		/* align-items: left; */
		align-items: flex-start;
		/* padding-left: 80px; */
		text-align: left;
		justify-content: center;
	}
	.mainmenu {
		counter-reset: menuitem;
	}
	.mainmenu__item {
		/* font-family: 'AvenirLTStd-Black',sans-serif; */
		font-size: 5vw;
		font-size: 40px;
		line-height: 60px;
		line-height: 70px;
		text-transform: uppercase;
		overflow: visible;
		font-weight: 900;
		/* margin: 0.5rem 0;
		padding: 0 0.5rem; */
		margin: 0;
		padding: 0 0.5rem;
		position: relative;
		transition: color 0.3s;
	}
	.menu .mainmenu__item:hover {
		color: var(--color-item-alt);
		text-decoration: none;
	}
	.mainmenu__item::before {
		counter-increment: menuitem;
		content: counters(menuitem, "", decimal-leading-zero);
		position: absolute;
	    font-size: 0.85rem;
	    top: -20px;
	    left: -1.25rem;
	    color: var(--color-item-alt);
	}
	.mainmenu__item::after {
		content: '';
		width: 100%;
		/* top: 30px; */
		bottom:10px;
		height: 5px;
		background: #494d54;
		position: absolute;
		left: 0;
		opacity: 0;
		transform: scale3d(0,1,1);
		transition: transform 0.6s, opacity 0.4s;
		transform-origin: 100% 50%;
	}
	.mainmenu__item:hover::after {
		opacity: 1;
		transform: scale3d(1,1,1);
	}
	 .page-id-299 .mainmenu__item:first-child:after, .page-id-503 .mainmenu__item:nth-child(2):after, .page-id-392 .mainmenu__item:nth-child(3):after, .page-id-442 .mainmenu__item:nth-child(4):after, .page-id-354 .mainmenu__item:nth-child(5):after {
		 opacity: 1;
 		transform: scale3d(1,1,1);
	 }
	 .page-id-299 .mainmenu__item:first-child, .page-id-503 .mainmenu__item:nth-child(2), .page-id-392 .mainmenu__item:nth-child(3),.page-id-442 .mainmenu__item:nth-child(4), .page-id-354 .mainmenu__item:nth-child(5) {
 		color: var(--color-item-alt);
 		text-decoration: none;
 	}
	.sidemenu__item {
		text-transform: uppercase;
		letter-spacing: 0.15rem;
		font-size: 0.85rem;
	}
	.menu__item-hoverlink {
		font-size: 1.25rem;
		text-transform: lowercase;
		border-bottom: 2px solid #fff;
		opacity: 0;
		transition: opacity 0.3s;
	}
	.menu__item-inner:hover .menu__item-hoverlink {
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.menu__item--5 .menu__item-inner {
/* flex-direction: column; */
 padding-top: 100px;
}

.action--menu, .action--close {

	right: 30px;
}
.menu {
	top: -97px;
	left: 0;
	/* grid-template-columns:0px 50% 50% ; */
	/* grid-template-columns: 0px calc(50% - 90px)  calc(50% - 90px) ; */

}
.menu__item--3,.menu__item--2, .menu__item--4{
	display: none;
}
.menu {
	height: calc(100vh + 25px);


	grid-template-columns: 100%!important;
	grid-template-rows: 60% 40% !important;
	grid-template-areas:
		"item1"

		"item5";
	/* grid-template-rows: 70% 15% 15%!important; */
	/* pointer-events: none; */
}

}
@media only screen and (max-width: 480px) {
	.menu .mainmenu{
		padding-top: 30px;
	}

	.action--menu, .action--close {
		right: 15px;
	}

	/* .menu.menu--open{
		background: #000;
	} */
	.ab-scrolled .menu {
		top: -76px;
	}
	.icon--menu{
		width: 40px;
	}

}
