.breadcrumbs {
    display: flex;         
    justify-content: center; 
    padding: 0;
    list-style: none;       
    width: 100%;
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
}

.breadcrumbx-item {
    white-space: nowrap;    
    margin-right: 10px;     
	position: relative;
	padding: 0 5px;
	color: #666;
}

.breadcrumbx-item:last-child {
    margin-right: 0;        
}

.breadcrumbx-item:not(:last-child)::after {
	content: "/";
	position: absolute;
	right: -5px;
	top: 0;
	display: block;
}

.breadcrumbx-item a {
    text-decoration: none;  
	color: #666;
}

.breadcrumbx-item.active {
    pointer-events: none;   
}

.grid-container {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; 
}

.grid-item {
    text-align: center;
}

.grid-item a {
	display: block;
	text-decoration: none;
	color: rgb(33, 37, 41);
	border-bottom: 2px solid transparent;
	text-align: center;
	padding: 1rem .75rem;
	font-weight: 500;
}

.grid-item a.active {
	border-bottom: 2px solid var(--primary);
}

.grid-rotator:not(.active) {
	display: none;
}

canvas { 
	width: 100%; 
	height: auto; 
	display: block; 
	min-height: 500px;
	outline: transparent;
	margin-bottom: 2rem;
}

.list {
	list-style-type: none;
	margin-left: 0;
	padding: 0;
	display: grid;
	width: 100%;
    gap: 15px; 
}

.list.two {
	grid-template-columns: repeat(2, 1fr); 
}

.list.three {
	grid-template-columns: repeat(3, 1fr); 
}

.list.four {
	grid-template-columns: repeat(4, 1fr); 
}

.color-tabs {
	display: grid;
	width: 100%;
    gap: 15px;
	grid-template-columns: repeat(8, 1fr); 
	margin: 1rem 0 3rem 0;
}

.related-items {
	display: grid;
	width: 100%;
    gap: 15px;
	grid-template-columns: repeat(3, 1fr); 
	justify-items: center;
	align-items: center;
}

.related-items .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-tabs:not(.active) {
	display: none;
}

.color-navigation {
	width: 100%;
	list-style-type: none;
	display: grid;
	width: 100%;
    gap: 15px;
	grid-template-columns: repeat(3, 1fr); 
	margin-top: 2rem;
}

.color-navigation li a {
	border-bottom: 2px solid transparent;
	padding-bottom: 10px;
	position: relative;
	top: -10px;
}

.color-navigation li a.active {
	border-bottom: 2px solid var(--primary);
}

.color-changer {
	width: 60px;
	height: 60px;
	padding: 0;
	margin: 0;
}

.color-tabs .border {
	width: 60px;
	height: 60px;
}

.border + span {
	display: none;
}

.view-mode {
	width: 40px;
	height: 40px;
	margin-top: -4rem;
}

@media (max-width: 1200px) {
	.list.four {
		grid-template-columns: repeat(3, 1fr); 
	}
}

@media (max-width: 996px) {
	.related-items {
		grid-template-columns: repeat(2, 1fr); 
	}

    .grid-container {
        grid-template-columns: repeat(1, 1fr); 
    }

	.grid-item {
		margin-bottom: 1rem;
	}

	.list.three {
		grid-template-columns: repeat(2, 1fr); 
	}

	.list.four {
		grid-template-columns: repeat(2, 1fr); 
	}
}


/* ARCHIVES */
.items-section {
	overflow-X:hidden;
	padding-bottom: 3rem;
}

.item-wrapper {
	margin: auto;
	width: 100%;
	max-width: 1320px;
	clear: both;
	padding: 3rem 0 0 0;
}

.item-image {
	width: 50%;
	padding: 0 1.5rem;
	position: relative;
}

.item-wrapper:nth-child(odd) .item-image::before {
	position: absolute;
	content: "";
	height: 100%;
	width: 100vw;
	top: 0;
	left: 0;
	display: block;
	background: rgba(0, 0, 0,.1)
}

.item-wrapper:nth-child(even) .item-image::before {
	position: absolute;
	content: "";
	height: 100%;
	width: 100vw;
	top: 0;
	right: 0;
	display: block;
	background: rgba(0, 0, 0,.1)
}

.item-wrapper:nth-child(even) .item-image {
	float: left;
}

.item-wrapper:nth-child(odd) .item-image {
	float: right;
}

.transformation {
	position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
	min-height: 40rem;
	transform: translateY(3rem);
}

.transformation img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.item-description {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100%; 
    min-height: 40rem; 
	padding: 0 1.5rem;
	width: 50%;
}

.description h2 {
	width: 75%;
	font-weight: bold;
	margin-bottom: 1.5rem;
}

.description .file-properties {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
}

.description .file-properties span {
	font-weight: 400;
}

.description .file-discription {
	margin-top: 1rem;
	margin-bottom: 3rem;
	display: block;
	font-size: 1.15rem;
}

.description .cta-button {
	border: 1px solid;
	border-radius: 0;
	text-transform: uppercase;
	padding: .75rem 1rem
}

.description .cta-button:focus,
.description .cta-button:active,
.description .cta-button:hover {
	background: #dedede;
}

@media all and (min-width: 576px) {
    .item-wrapper {
        max-width: 540px;
    }
}

@media all and (min-width: 768px) {
    .item-wrapper {
        max-width: 720px;
    }
}

@media all and (min-width: 992px) {
    .item-wrapper {
        max-width: 960px;
    }
}

@media all and (min-width: 1200px) {
    .item-wrapper {
        max-width: 1140px;
    }
}

@media all and (min-width: 1400px) {
    .item-wrapper {
        max-width: 1320px;
    }
}

@media all and (max-width: 992px) {
	.item-description,
	.item-image {
		width: 100%;
		float: unset !Important;
		padding: 0 15px
	}

	.item-wrapper:nth-child(odd) .item-image::before {
		background: none;
	}

	.item-wrapper:nth-child(even) .item-image::before {
		background: none;
	}

	.transformation {
		transform: unset !important;
		min-height: 30rem;
	}

	.item-description {
		min-height: unset;
		padding: 2rem 15px 0 15px;
	}
}

/* GRID */
.project-description {
	width: 60%;
	height: 40rem;
	float: left;
}

.project-images {
	width: 40%;
	float: right;
}

.grid-wrapper {
    display: grid;
    width: 100%;
    height: 40rem;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(5, 1fr);    
    gap: 15px; 
}

.grid-text {
    grid-area: 2 / 1 / 6 / 5;
	position: relative;
}

.grid-one {
    grid-area: 2 / 1 / 4 / 4;
	position: relative;
}

.grid-two {
    grid-area: 4 / 1 / 6 / 3;
	position: relative;
}

.grid-three {
    grid-area: 1 / 4 / 4 / 6;
	position: relative;
}

.grid-four {
    grid-area: 4 / 3 / 6 / 6;
	position: relative;
}

.project-transformation {
	position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
	min-height: 100%;
}

.project-transformation img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.grid-photo-one {
	grid-area: 1 / 1 / 3 / 4;
	position: relative;
}

.grid-photo-two {
	grid-area: 1 / 4 / 6 / 6;
	position: relative;
}

.grid-photo-three {
	grid-area: 3 / 1 / 6 / 3;
	position: relative;
}

.grid-photo-four {
	grid-area: 3 / 3 / 6 / 3;
	position: relative;
}

@media all and (max-width:992px) {
	.project-description {
		width: 100%;
		height: 30rem;
		float: left;
		padding-top: 1.5rem;
	}

	.project-images {
		width: 100%;
		float: left;
	}

	.grid-wrapper {
		display: grid;
		width: 100%;
		height: 40rem;
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(4, 1fr);
		gap: 15px;
	}

	.grid-text {
		grid-area: 1 / 1 / 4 / 5;
	}

	.grid-one {
		grid-area: 1 / 1 / 3 / 3;
		background-color: red;
		position: relative;
	}

	.grid-two {
		grid-area: 3 / 1 / 6 / 3;
		background-color: black;
		position: relative;
	}

	.grid-three {
		grid-area: 1 / 3 / 4 / 6;
		background-color: green;
		position: relative;
	}

	.grid-four {
		grid-area: 4 / 3 / 6 / 6;
		background-color: orange;
		position: relative;
	}

	.grid-photo-one {
		grid-area: 1 / 1 / 3 / 3;
		position: relative;
	}

	.grid-photo-two {
		grid-area: 1 / 3 / 3 / 5;
		position: relative;
	}

	.grid-photo-three {
		grid-area: 3 / 1 / 6 / 3;
		position: relative;
	}

	.grid-photo-four {
		grid-area: 3 / 3 / 6 / 5;
		position: relative;
	}
}

.project-number {
	font-size: 5.5rem;
    opacity: .7;
    font-weight: 700;
    text-shadow: 1px 1px 0 black;
}

.project-number-information {
	font-size: 1.3rem;
	color: white;
	width: 33.333%;
	margin-left: auto;
	margin-right: auto;
}

.project-documentation {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap; 
}

.project-documentation li {
	flex: 1 1 50%; 
	box-sizing: border-box;
}

.project-documentation li a {
	padding: .25rem 0 .25rem 1rem;
	position: relative;
	display: block;
}

.project-documentation li:hover a {
	background: rgba(0, 0, 0, .05);
}

.project-documentation li:hover a::before {
	content: "";
	width: 4px;
	height: 100%;
	background: var(--primary);
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

.addon-title {
    position: absolute;
    z-index: 2;
    top: 20%;
    left: 16%;
    transform: rotate(-22deg) skew(25deg);
    width: 50%;
    line-height: 15px;
    font-weight: 600;
    color: #545454;
}