@import url(https://fonts.googleapis.com/css?family=Open+Sans:100italic,100,300italic,300,400italic,400,600italic,600,700italic,700,800italic,800);
@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

:root {
	--body-text-font: 'Open Sans', Helvetica, Arial, sans-serif;
	--color-page-bg: #252627;
	--color-page-bg-alt: #232425;
	--color-footer-bg: #202122;
	--color-white: #ffffff;
	--color-white-05: rgba(255, 255, 255, 0.05);
	--color-white-10: rgba(255, 255, 255, 0.10);
	--color-white-30: rgba(255, 255, 255, 0.30);
	--color-white-50: rgba(255, 255, 255, 0.50);
	--color-white-70: rgba(255, 255, 255, 0.70);
	--color-white-80: rgba(255, 255, 255, 0.80);
	--color-white-90: rgba(255, 255, 255, 0.90);
	--color-black: rgba(0, 0, 0, 1);
	--color-black-10: rgba(0, 0, 0, 0.10);
	--color-black-30: rgba(0, 0, 0, 0.30);
	--color-black-50: rgba(0, 0, 0, 0.50);
	--dim-max-width: 1200px;
	--border-radius-image: 6px;
	--serif-text-font: 'Averia Serif Libre', Georgia, Times, serif;
}

body {
	background: rgba(37, 38, 39, 1) url("img/header-blur-bg-2.jpg") no-repeat 0 -200px;
	margin: 0;
	padding: 0;
	background-size: auto;
	font-family: var(--body-text-font);
}

.no-scroll {
	overflow: hidden;
}

.fade-enter-active {
	animation: fade 0.25s;
}

.fade-leave-active {
	animation: fade 0.25s reverse;
}

@keyframes fade {
	from {
		opacity: 0%;
	}

	to {
		opacity: 100%;
	}
}

/* HEADER */
/* ---------------------------------- */
.page-header {
	display: grid;
	grid-template-rows: 50px 25px 92px;
	margin: 50px 50px 0;
}

.page-header_bg {
	grid-area: 1/1/2/1;
	height: 74px;
}

.header-cutout {
	r: 54px; 
}

.header-round-rect {
	height: 74px;
}

.logo {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	overflow: hidden;
	justify-self: center;
	display: flex;
	justify-content: center;
	grid-area: 3/1/3/1;
}
.logo img {
	width: 96px;
	height: 96px;
	align-self: center;
}

/* compact -------------------------- */
.page-header-compact {
	display: grid;
	grid-template-rows: 90px;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: var(--dim-max-width);
	margin: 42px auto 0 auto;
	padding: 0 50px;
}
.page-header-compact .page-header_bg {
	grid-area: 1/1/1/4;
}
.page-header-compact .logo {
	grid-area: 1/2/1/2;
}
.page-header-compact .nav-list {
	grid-area: 1/3/1/3;
	justify-self: end;
}
.page-header-compact .name {
	grid-area: 1/1/1/1;
	font-family: "Averia Serif Libre", system-ui;
	font-size: 18px;
	font-weight: 300;
	text-transform: uppercase;
	color: var(--color-white);
	margin-left: 30px;
	letter-spacing: 1px;
}

/* navigation */
/* ---------------------------------- */

.btn-menu {
	display: none;
}

.header-nav {
	grid-area: 1/3/1/3;
	justify-self: end;
	margin-right: 30px;
}

.nav-list {
	display: flex;
	gap: 45px;
/*	margin: 22px 0 0 0;*/
	list-style-type: none;
	grid-area: 1/1/2/1;
	align-self: flex-start;
	justify-self: center;
	position: relative;
	font-size: 17px;
}
.page-header-compact .nav-list {
	gap: 27px;
/*	margin: 30px 30px 0 0;*/
}
.nav-list a:link,
.nav-list a:visited {
	font-family: var(--body-text-font);
	font-weight: 300;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-white-80);
}
.nav-list a.nav-list_item--active {
	text-decoration: none;
	cursor: default;
	color: rgba(255, 255, 255, 0.43);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	position: relative;
}
.nav-list a.nav-list_item--active::after {
	content: "";
	position: absolute;
	width: 40%;
	height: 4px;
	border-radius: 2px;
	background-color: rgba(255, 255, 255, 0.45);
	margin: 0 auto;
	top: 29px;
}

/* dark-fade */
.header-fade {
	position: absolute;
	left: 0;
	top: 379px;
	width: 100%;
	height: 421px;
	background: linear-gradient(180deg, rgba(37, 38, 39, 0) 0%, var(--color-page-bg) 58%);
}
.header-fade-compact {
	position: absolute;
	left: 0;
	top: 246px;
	width: 100%;
	height: 388px;
	background: linear-gradient(180deg, rgba(37, 38, 39, 0) 0%, var(--color-page-bg) 40%);
	z-index: -1;
}
.content {
	background-color: var(--color-page-bg);
	width: 100%;
	height: 400px;
	position: absolute;
	top: 634px;
	left: 0;
	z-index: -1;
}

/* MAIN CONTENT */
/* ---------------------------------- */

/* featured work */
/* ---------------------------------- */
.featured-work {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: auto;
	grid-column-gap: 38px;
	max-width: var(--dim-max-width);
	margin: 0 auto;
	padding: 50px;
}
.featured-work-card {
	background: rgba(30, 30, 30, 0.3);
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	border-radius: 10px;
	padding: 25px;
	cursor: pointer;
}
.featured-work-card_image {
	object-fit: cover;
	width: 100%;
	border-radius: 6px;
	height: 228px;	
}
.featured-work-card_title {
	font-weight: 600;
	font-size: 19px;
	margin-right: 20px;
	white-space: nowrap;
}
.featured-work-card_link:link,
.featured-work-card_link:visited {
	text-decoration: none;
	color: #B2B2B2;
}
.featured-work-card_tools {
	display: flex;
	gap: 10px;
}
.featured-work-card_tools img {
	width: 30px;
	height: 30px;
}
.featured-work-card_role {
	font-weight: 400;
	font-size: 16px;
	color: #686868;
	margin: 0;
}
.featured-work-card_description {
	font-weight: 400;
	font-size: 16px;
	line-height: 135%;
	margin-bottom: 0;
	color: #B2B2B2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.featured-work-card_title-row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
}

/* GENERIC ELEMENTS */
/* ---------------------------------- */
.section-heading {
    text-transform: uppercase;
	text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.20);
    position: relative;
    font-size: clamp(49px, 6vw, 69px);
	padding: 0 0 clamp(40px, 6vw, 70px) 0;
	margin: 0;
    line-height: .79;
    font-weight: 700;
}
.section-heading::after {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    color: #ffffff;
    -webkit-text-stroke-width: 0;
    font-size: clamp(16px, 2vw, 26px);
    font-weight: 500;
    left: 50%;
	transform: translateX(-50%);
	padding: 0 0 clamp(40px, 6vw, 70px) 0;
}

/* SKILLS SECTION */
/* ---------------------------------- */
.skills-section {
	/*padding: clamp(40px, 6vw, 70px);*/
	padding: clamp(40px, 5.5vw, 70px) clamp(40px, 10vw, 70px);
}
.skills-card_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(47%, 1fr));
    gap: 40px;
	max-width: var(--dim-max-width);
	margin: auto;
}
.skills-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 4vw, 30px);
}
.skills-card_icon {
    fill: #666666;
    width: calc(40px + 3vw);
    height: calc(40px + 3vw);
}
.skills-card_content {
    align-self: start;
}
.skills-card_heading {
    font-size: 22px;
    font-weight: 600;
    color: #dddddd;
    line-height: 1;
    margin: 0;
    padding: 0;
}
.skills-card_description {
    font-size: 18px;
    line-height: 1.55;
    margin: 10px 0 0;
    padding: 0;
    color: #aaaaaa;
}

/* TOOLS SECTION */
/* ---------------------------------- */
.tools-section {
	background-color: #232323;
    padding: clamp(40px, 6vw, 70px);
}
.tools-list {
    display: flex;
	gap: clamp(60px, 5vw, 80px);
	padding: 40px 0;
	justify-content: center;
	max-width: fit-content;
	margin: auto;
}
.tools-list:not(:last-child) {
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.10));
	background-size: 50% 1px;
	background-position: center bottom;
	background-repeat: no-repeat;
}
.tool-item {
    display: grid;
    gap: 16px;
    justify-items: center;
}
.tool-item_image {
	width: clamp(35px, 4vw, 50px);
	height: clamp(35px, 4vw, 50px);
}
.tool-item_name {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 500;
    color:#aaaaaa;
	text-align: center;
}

/* INDUSTRIES SECTION */
/* ---------------------------------- */
.industries-section {
/*	background-color: #232323;*/
/*    padding: clamp(40px, 6vw, 70px);*/
	padding: 5.5vw 20vw;
}
.industries-list {
	display: grid;
	gap: 40px;
}
.industries-card {
	display: grid;
	grid-template-columns: 100px 1fr;
	grid-column-gap: 40px;
}
.industries-card_logo {
	justify-self: end;
	align-self: start;
}
.industries-card_text {
	color: #cccccc;
	font-size: 18px;
	padding: 0;
	margin: 0;
	line-height: 1.35;
	padding-bottom: 30px;
}
.industries-card:not(:last-child) .industries-card_text {
	border-bottom: 1px solid #343434;
}

/* PROJECTS PAGE */
/* ---------------------------------- */
.apps-section {
	padding: 0 50px;
}
.apps-container {
	background: rgba(30, 30, 30, 0.3);
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	border-radius: 10px;
	padding: 40px;
	margin: 50px auto;
	max-width: var(--dim-max-width);
	box-sizing: border-box;
}
.apps-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: auto;
	grid-column-gap: 40px;
}
.apps-card {
	cursor: pointer;
}
.apps-card_image {
	border-radius: var(--border-radius-image);
	width: 100%;
	height: 370px;
	object-fit: cover;
}
.websites-section {
	margin: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.websites-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-column-gap: 30px;
	max-width: var(--dim-max-width);
}
.websites-card {
	cursor: pointer;
}
.websites-card_image {
	height: clamp(400px, 50vw, 700px);
	overflow-y: hidden;
	border-radius: var(--border-radius-image);
}
.websites-card_image img {
	width: 100%;
}
.websites-card_title,
.apps-card_title {
	font-weight: 600;
	font-size: 19px;
	color: #B2B2B2;
	text-align: center;
}

.apps-card_link:link,
.apps-card_link:visited,
.websites-card_link:link,
.websites-card_link:visited {
	text-decoration: none;
	color: #B2B2B2;
	text-align: center;
}

/* PROJECTS DETAILS */
/* ---------------------------------- */
.project-details-section {
	padding: 0 50px;
}

/* breadcrumb nav */
.breadcrumb-nav {
	list-style-type: none;
	margin: 30px auto;
/*	padding: 0 30px;*/
	padding-left: 10px;
	box-sizing: border-box;
	display: flex;
	font-size: clamp(14px, 2vw, 22px);
	text-transform: uppercase;
	max-width: var(--dim-max-width);
}
.breadcrumb-nav_item::after {
	content: "/";
	position: relative;
	display: inline-block;
	margin: 0 10px;
	font-weight: 600;
	color: var(--color-white-30); 
}
.breadcrumb-nav_item a {
	text-decoration: none;
	color: var(--color-white);
	font-weight: 300;
}
.breadcrumb-nav_item--selected {
	font-weight: 600;
	color: #143D53;
	text-transform: none;
}

/*
.breadcrumb-nav_item--selected::after {
	content: "";
	display: inline-block;
	position: absolute;
	margin-top: 16px;
	margin-left: 20px;
	width: 25%;
	height: 1px;
	background: linear-gradient(to right, rgba(255,255,255, 1) 0%, rgba(255,255,255, 0) 100%);
}
*/

/* case study visuals */
/*---------------------------------------*/

.project-details_image-container {
	background: rgba(30, 30, 30, 0.3);
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.35);
/*
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
*/
	border-radius: 10px;
/*	padding: 40px;*/
	max-width: var(--dim-max-width);
	margin: 0 auto;
}


.project-details_case-study {
	display: grid;
}
.project-details_case-study img {
	width: 100%;
}

.project-details_case-study img:first-child {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
/*	margin-top: -1px;*/
}
.project-details_case-study img:last-child {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
/*	margin-top: -1px;*/
}

/* projects footer nav */
/*---------------------------------------*/
.proj-nav-container {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-rows: auto 170px;
	margin-top: 50px;
}
.proj-nav-container::before {
	content: "";
	background-color: var(--color-footer-bg);
	grid-area: 2/1/2/4;
}
.proj-nav {
	display: flex;
/*	gap: 40px;*/
	gap: clamp(20px, 3vw, 40px);
	grid-area: 1/2/3/2;
	border-bottom: 1px var(--color-white-10) solid;
	padding-bottom: 20px;
}
.nav-item {
	display: grid;
	grid-template-rows: repeat(2, auto);
	gap: 16px;
	cursor: pointer;
	width: clamp(120px, 12vw, 140px);
	position: relative;
}
.nav-item > .nav-item_image {
	box-shadow: 0 5px 6px rgba(0,0,0,0.35);
	border-radius: 6px;
	width: 100%;
	align-self: end;
	opacity: 0.85;
}
.nav-item > .reflection {
	grid-area: 2/1/2/1;
	transform: rotateX(180deg) translateY(10px);
	-webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	mask-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	border-radius: 6px;
	opacity: .20;
	height: 70px;
	width: 100%;
	object-fit: cover;
	object-position: left bottom;
}
.nav-item > .proj-nav_link:link,
.nav-item > .proj-nav_link:visited {
	grid-area: 2/1/2/1;
	align-self: start;
	color: var(--color-white-70);
	text-decoration: none;
	text-align: center;
	font-weight: 300;
	position: relative;
	width: 80%;
	justify-self: center;
	font-size: clamp(14px, 1.3vw, 16px);
}


/* selected item */
.nav-item.selected {
	cursor: default;
	width: clamp(160px, 15vw, 180px);
}
.nav-item.selected > .nav-item_image {
	border: 2px #000000 solid;
	margin: -2px;
	opacity: 1;
	box-shadow: 0 9px 5px rgba(0,0,0,0.50);

}
.nav-item.selected > .reflection {
	border: 2px #000000 solid;
	margin: -2px;
}
.nav-item.selected > .proj-nav_link:link,
.nav-item.selected > .proj-nav_link:visited {
	color: var(--color-white);
	font-weight: 500;
	cursor: default;
	font-size: clamp(15px, 2vw, 17px);
}

/* ABOUT PAGE */
/* ---------------------------------- */

.recommendations-section {
	padding: clamp(30px, 6vw, 50px);
}

.recommendations-section .apps-container {
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 30px;
/*	padding: clamp(30px, 4vw, 50px);*/
}	

.recommendations-container {
	display: flex;
	gap: 40px;
}

.recommendation-item {
	flex: 1;
	padding: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) clamp(30px, 4vw, 40px) clamp(20px, 4vw, 40px);
	border-radius: 6px;
	background-color: var(--color-white-05);
	border-bottom: 1px var(--color-white-05) solid;
	border-top: 1px var(--color-black-30) solid;
}
.recommendation-item_name {
	color: #b2b2b2;
	margin-top: 0;
	line-height: 1;
	font-family: var(--serif-text-font);
}
.recommendation-item_title {
	font-size: 16px;
	color: #686868;
	margin-top: -10px;
}
.recommendation-item_quote {
	fill: var(--color-white-10);
	width: 45px;
	height: 35px;
	float: right;
	margin-top: -40px;
}

.recommendation-item_text.first-paragraph {
	display: -webkit-box;
	-webkit-box-orient: vertical;  
	overflow: hidden;
	-webkit-line-clamp: 4;
}
.recommendation-item_text.first-paragraph.expanded {
	display: block;
}
.recommendation-item_text {
	color: #b2b2b2;
	line-height: 1.6;
}
.recommendation-item_text:not(.first-paragraph) {
	display: none;
}
.recommendation-item_text:not(.first-paragraph).show {
	display: block;
}

.recommendation-item_text:last-child {
	margin-bottom: 0;
}
.recommendation-item_text:first-child {
	margin-top: 0;
}
.recommendation-item_button-row {
	border-top: 1px var(--color-white-05) solid;
	margin: 20px 0 -30px;
	padding: 20px 0;
	display: flex;
	justify-content: center;
}
.recommendation-item_button-row .chevron-arrow.down {
	fill: var(--color-white-70);
	width: 22px;
	height: 13px;
	transition: all 0.35s ease-in-out;
}
.recommendation-item_button-row .chevron-arrow.up {
	transform: rotate(180deg);
	transition: all 0.35s ease-in-out;
}

/* Bio */
.bio_text-blocks {
	font-size: 16px;
	color: var(--color-white-70);
	font-weight: 400;
	line-height: 1.55;
	padding: 0 50px;
}
.bio_text-blocks img {	
	display: inline-block;
}
.bio_text-blocks .left {
	float: left;
	margin: 0 30px 20px 0;
}
.bio_text-blocks .right {
	float: right;
	margin: 0 0 20px 30px;
}



/* FOOTER */
/* ---------------------------------- */
footer {
    padding: clamp(40px, 6vw, 70px);
	background-color: var(--color-footer-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}
.footer-container {
	max-width: var(--dim-max-width);
}
.social-links-list {
	display: flex;
	gap: 40px;
	width: fit-content;
	margin: auto;
}
.social-link {
	color: var(--color-white-80);
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	text-decoration: none;
}
.social-link_image {
	width: 35px;
	height: 35px;
}
.social-link_text {
	font-size: 16px;
}
.copyright {
	color: var(--color-white-30);
	text-align: center;
}

/* Scroll to top button */
.btn-scroll-top {
	position: fixed;
	bottom: clamp(30px, 7vw, 50px);
	right: clamp(30px, 7vw, 50px);
	display: block;
	width: 48px;
	height: 48px;
	padding: 12px 8px;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	z-index: 1;
	background-color: rgba(61, 132, 155, 0.7);
	outline: none;
	border-width: 0;
	border-radius: 50%;
}
.btn-scroll-top.show {
	opacity: 1;
	transition: opacity 0.4s ease-in-out;
}

.icon-scroll-top {
	width: 20px;
	height: 18px;
	fill: var(--color-white-70);
	transform: rotate(-180deg);
	transition: fill 0.2s ease-in-out;
}

@media only screen and (max-width: 930px) {
	.recommendations-container {
		flex-direction: column;
	}
	.featured-work-card_title-row {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	.featured-work-card_tools {
		margin-bottom: 10px;
	}
}


/*-----------------------------------------------*/
/* mobile */
/*-----------------------------------------------*/
@media only screen and (max-width: 800px) {
	.page-header-compact .name > span {
		display: none;
	}
	.page-header-compact .name::after {
		content: attr(data-initials);
	}
	.page-header-compact {
		grid-template-rows: 64px;
		margin: 30px auto 0 auto;
		padding: 0 30px;
	}
	.page-header_bg {
		height: 62px;
	}
	.page-header-compact .logo {
		grid-area: 1/2/1/2;
	}
	.page-header-compact .logo img {
		width: 80px;
		height: 80px;
	}

	.header-cutout {
		r: 48px;
	}

	.header-round-rect {
		height: 62px;
	}

	.btn-menu {
		position: absolute;
		right: 60px;
		top: 50px;
		z-index: 3;
		width: 30px;
		height: 23px;
		appearance: none;
		padding: 0;
		background-color: transparent;
		border: none;
		cursor: pointer;
		display: unset;
	}
	.btn-menu_icon {
		fill: var(--color-white-90);
		width: 30px;
		height: 23px;
		position: relative;
		z-index: 3;
	}
	.btn-menu_icon .top,
	.btn-menu_icon .mid,
	.btn-menu_icon .bot {
		transition: all .5s ease-in-out;
	}
	.btn-menu_icon.close {
		z-index: 3;
		fill: var(--color-white-90);
	}
	/* close button */
	.btn-menu_icon.close .top,
	.btn-menu_icon.close .mid,
	.btn-menu_icon.close .bot {
		transition: all .5s ease-in-out;
	}
	.btn-menu_icon.close .top {
		transform: matrix(-0.707107, 0.707107, 0.707107, 0.707107, 40, 0);
		y: -7px;
		x: 9px;
	}
	.btn-menu_icon.close .mid {
		opacity: 0;
	}
	.btn-menu_icon.close .bot {
		transform: matrix(-0.707107, -0.707107, -0.707107, 0.707107, 35, 28);
		y: -1px;
		x: 6px;
	}

	/* ------------------ */
	.header-nav {
		position: fixed;
		right: -405px;
		top: 0;
		height: 100vh;
		background-color: rgba(48, 49, 50, 0.8);
		-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
		box-shadow: -14px 0 15px var(--color-black-50);
		padding: 50px;
		box-sizing: border-box;
		width: 345px;
		z-index: 2;
		grid-area: 1/3/1/3;
		justify-self: end;
		margin-right: 30px;
		transition: right 0.5s ease-in-out;
	}
	.header-nav.open {
		right: -30px;
		transition: right 0.5s ease-in-out;
	}

	.nav-list {
		flex-direction: column;
		gap: 40px;
		margin: 40px 0 0;
		position: relative;
		font-size: 20px;
		padding: 0;
		width: 100%
	}
	.nav-list a:link,
	.nav-list a:visited {
		padding-left: 22px;
		line-height: 1;
	}
	.nav-list a.nav-list_item--active {
		align-items: center;
		justify-content:flex-start;
		position: relative;
	}
	.nav-list a.nav-list_item--active::before {
		content: "";
		position: absolute;
		width: 4px;
		height: 80%;
		border-radius: 2px;
		background-color: rgba(255, 255, 255, 0.45);
		margin: 0 auto;
		left: 0;
	}
	.nav-list a.nav-list_item--active::after {
		display: none;
	}
	.header-nav_heading {
		height: 70px;
		border-bottom: 1px solid var(--color-white-10);
	}
	
	/* left & right margins */
	.apps-section,
	.featured-work,
	.recommendations-section,
	.project-details-section {
/*		padding: 0 30px;*/
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.recommendation-item {
/*		padding: 20px 30px 30px;*/
	}
	
	.recommendation-item_text.first-paragraph {
		-webkit-line-clamp: 6;
	}
	
	.featured-work {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		grid-row-gap: 38px;
	}
	.apps-cards {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		grid-row-gap: 38px;
	}

	.tools-list {
		flex-direction: column;
		gap: 40px;
	}
	.tool-item {
		grid-template-columns: auto 1fr;
		gap: 16px;
		justify-items: start;
		align-items: center;
		min-width: 163px;
	}
	.tools-list:not(:last-child) {
		background-size: 100% 1px;
	}
	
	.industries-section {
	  padding: clamp(30px, 5.5vw, 50px);
	}

	.industries-card {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.industries-card_logo {
		justify-self: start;
	}
	
	.websites-cards {
/*		grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));*/
		grid-template-columns: 1fr;
		grid-column-gap: 0;
		grid-row-gap: 30px;
		max-width: var(--dim-max-width);
	}
	
	/* Project Footer Navigation */
	.proj-nav-container {
		grid-template-rows: auto clamp(105px, 15vw, 170px);
	}
	.proj-nav {
		gap: clamp(10px, 3vw, 40px);
	}
	.nav-item {
		gap: 12px;
		cursor: pointer;
		width: clamp(50px, 12vw, 120px);

	}
	.nav-item .reflection {
		height: 40px;
	}
	.nav-item.selected .reflection {
		border: 1px var(--color-black) solid;
		margin: -1px;
	}
	.nav-item.selected {
		width: clamp(70px, 15vw, 160px);	
	}
	.nav-item.selected .nav-item_image {
		border: 1px var(--color-black) solid;
		margin: -1px;
	}
	.nav-item > .proj-nav_link:link,
	.nav-item > .proj-nav_link:visited,
	.nav-item.selected > .proj-nav_link:link,
	.nav-item.selected > .proj-nav_link:visited {
		font-size: 0;
	}
}

/*-----------------------------------------------*/
/* hover effects for devices with a mouse */
/*-----------------------------------------------*/
@media(hover: hover) and (pointer: fine) {
	/* header nav */
	/* ---------------------------- */
	.nav-list a:link,
	.nav-list a:visited {
		position: relative;
/*		transition: all .5s ease-in-out;*/
	}
	.nav-list a:not(.nav-list_item--active)::after {
		content: "";
		position: absolute;
		opacity: 0;
		top: 29px;
		left: 50%;
		transform: translateX(-50%);
		width: 4px;
		height: 4px;
		border-radius: 2px;
		background-color: rgba(255, 255, 255, 0.45);
		margin: 0 auto;
		transition: width .5s, opacity .5s ease-in-out;
	}
	.nav-list a:not(.nav-list_item--active):hover {
		color: rgba(255, 255, 255, 0.55);
		transition: all .2s ease-in-out;
	}
	.nav-list a:not(.nav-list_item--active):hover::after {
		top: 29px;
		left: 50%;
		transform: translateX(-50%);
		width: 40%;
		background-color: rgba(255, 255, 255, 0.35);
		margin: 0 auto;
		opacity: 1;
		transition: all .5s ease-in-out;
	}
	/* footer nav */
	/* ---------------------------- */
	.nav-item:not(.nav-item.selected):hover .nav-item_image {
		border: 2px var(--color-black) solid;
		margin: -2px;
		opacity: 1;
	}
	.nav-item:not(.nav-item.selected):hover .reflection {
		border: 2px var(--color-black) solid;
		margin: -2px;
	}
	.nav-item:not(.nav-item.selected):hover .proj-nav_link:link,
	.nav-item:not(.nav-item.selected):hover .proj-nav_link:visited {
		color: var(--color-white);
	}

	/* recommendations show/hide arrow */
	/* -------------------- */
	.recommendation-item_button-row  .chevron-arrow {
		transition: all 0.35s ease-in-out;
	}
	.recommendation-item_button-row:hover {
		cursor: pointer;
	}
	.recommendation-item_button-row:hover .chevron-arrow {
		fill: var(--color-white);
		transition: all 0.35s ease-in-out;
	}
	
	.btn-scroll-top.show:hover .icon-scroll-top {
		fill: var(--color-white);
		transition: fill 0.2s ease-in-out;
	}
}

.btn-scroll-top.show:active {
	background-color: rgba(61, 132, 155, 1);
}
.btn-scroll-top.show:active .icon-scroll-top {
	fill: var(--color-white);
}


@media(hover: hover) and (pointer: fine) and (max-width: 800px) {
	.nav-list a:not(.nav-list_item--active):hover::after {
		opacity: 0;
	}
}

@media only screen and (orientation: landscape) {
    html {
        -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
    }
}
