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

body {
	 
}

 
 
 .menu__item_ab {
 position: relative;
 width: 100%;
 height: 100%;
 display: inline;
 }
  .menu__item_ab{
  	display: block;
  }
 .content--main {
	height: 100vh;
}

.nav_menu {
	position: relative;
 	 text-align: center;
	z-index: 1000;
 
}

.menu__item {
	position: relative;
}

.menu__item_ab::after {
	content: '';
	position: absolute;
	right: 0;
	display: block;
	bottom: 0%;
	width: 0%;
	height: 3px;
	background: #fff;
	/*transform: scale3d(0,1,1);*/
	transition: transform 0.3s cubic-bezier(0.2,1,0.8,1);
	/*transform-origin: 0 0;*/
}
.menu__item_ab span {
	position: relative;
}

.menu__item_ab .cd-words-wrapper:after {
	content: '';
	position: absolute;
	right: 0;
	display: block;
	bottom: 0%;
	background: #fff;
	width: 0%;
	height: 3px;
	-webkit-transition:all 0.3s ease;transition:all 0.3s ease;
}
.menu__item_ab:hover .cd-words-wrapper:after {
	width: 100%;
	height: 3px;
}

.menu__item:hover::after 
.menu__item--current::after {
/*	transform: scale3d(1,1,1);*/
	width: 100%;
}
 .grid_ab {
	position: relative;
	--gap: 3vw;
	width: 90vw;
	display: grid;
	grid-gap: var(--gap);
	grid-auto-rows: calc((1700px / 20) - var(--gap));
	grid-auto-columns: calc((90vw / 15) - var(--gap));
}

 
.grid__item_ab {
	position: relative;
	display: flex;
	flex-direction: column;
}

.grid__item-wrap {
	flex: 1;
	position: relative;
	overflow: hidden;
}

.js .grid__item-wrap {
	opacity: 0;
}

.grid__item-img {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
 
	-webkit-transition:all 0.3s ease;transition:all 0.3s ease;
}

.grid__item-wrap:hover .grid__item-img {
	 
}

 

 

.grid__item-title {
	margin: 0;
	padding: 0.5rem 0 0 0;
	font-size: 1rem;
	color: #aaa;
	font-weight: 400;
	z-index: 999;
}

.js .grid__item-title {
	opacity: 0;
}

.grid__item-title strong {
	color: #000;
}

.backbutton {
	border: 0;
	padding: 0;
	margin: 0 0 2rem -0.15rem;
	background: none;
}

.backbutton:focus {
	outline: none;
}

.backbutton:hover {
	color: var(--color-textlink);
}

.category {
	position: relative;
}

.js .category {
	opacity: 0;
}

.category__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.category__list-item {
	display: inline-block;
	text-transform: uppercase;
	margin: 0.5rem 0.5rem 0 0;
	color: var(--color-textlink);
	cursor: default;
}

.category__list-item--current {
	font-weight: bold;
	color: var(--color-text);
}

.category__years {
	margin: 1rem 0;
	font-size: 0.75rem;
	display: block;
	color: var(--color-alt);
}

 

@media screen and (min-width: 45em) {
	.content--main {
	    display: grid;
		grid-template-columns: 50vw 30vw;
		grid-gap: 10vw;
	}
	.grid__item:nth-child(1) {
		grid-area: 1 / 1 / 5 / 9;
	}

	.grid__item:nth-child(2) {
		grid-area: 2 / 9 / 5 / 15;
	}

	.grid__item:nth-child(3) {
		grid-area: 5 / 1 / 8 / 6;
	}

	.grid__item:nth-child(4) {
		grid-area: 5 / 6 / 9 / 14;
	}

	.grid__item:nth-child(5) {
		grid-area: 8 / 2 / 10 / 6;
	}

	.grid__item:nth-child(6) {
		grid-area: 9 / 6 / 14 / 16;
	}

	.grid__item:nth-child(7) {
		grid-area: 10 / 1 / 16 / 6;
	}

	.grid__item:nth-child(8) {
		grid-area: 14 / 6 / 19 / 15;
	}
}

@media screen and (min-width: 60em) {
	.js main {
		grid-template-columns: 10vw 60vw 30vw;
		grid-template-rows: auto auto auto;
		grid-template-areas: 
		'title title menu'
		'... content content'
		'... footer footer';
	}
	.codrops-header {
		font-size: 1.25vw;
		flex-direction: row;
		align-items: flex-start;
	}
	.codrops-header__title {
		margin: 0;
		order: 1;
	}
	.codrops-links {
		order: 2;
		margin: 0 1em;
	}
	.info {
		order: 3;
		margin: 0;
	}
	.menu {
 
	}
	.content {
		padding: 0;
	}
	.content--main {
		grid-template-columns: 50vw 20vw;
	}
	.content--photography {
		display: grid;
		grid-template-columns: 20vw 70vw;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: -99;
	}
	.content.content--photography.content--current {
		z-index: 99;
	}
	
	.content__paragraph {
		font-size: 2.4vw;
	}
	.category__list-item {
		display: block;
		margin: 0.5rem 0;
	}
	.category__years {
		margin-top: 5rem;
	}
	.grid_ab {
		width: 63vw;
		grid-auto-rows: calc((1700px / 20) - var(--gap));
		grid-auto-columns: calc((63vw / 15) - var(--gap));
	}
	 
}
