/* general content
–––––––––––––––––––––––––––––––––––––––––––––– */

.main{padding: 3% 3%;}
.row {padding: 2% 0;}
.head {background-color: var(--color-highlight);}
.about {background-color: var(--color-highlight);}

body.fade-out {
    opacity: 0;
    transition: none;
}

:root {
	--color-background: #000;
	--color-text: #fff;
	--color-accent: #B1C61A;
	--color-highlight: var(--color-accent);
	--content-width: 1460px;
}

html {
	background: var(--color-background);
}

body {
	margin: 0;
}

.js.has-loader main {
	opacity: 0;
}

.js.has-loader.is-ready main {
	opacity: 1;
	transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link {
	position: fixed;
	top: 0;
	left: 1rem;
	z-index: 200;
	padding: .75rem 1rem;
	background: var(--color-text);
	color: var(--color-background);
	transform: translateY(-120%);
}

.skip-link:focus {
	transform: translateY(0);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 4px;
}

.loading-screen {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	place-items: center;
	background: var(--color-background);
	clip-path: inset(0);
}

.js.has-forced-loader .loading-screen,
.js.is-loading .loading-screen,
.js .loading-screen.is-dismissing {
	display: grid;
}

.loading-screen.is-dismissing {
	pointer-events: none;
	clip-path: inset(100% 0 0 0);
	transition: clip-path var(--loader-exit-duration, 560ms) cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-screen__content {
	position: absolute;
	inset: 0;
}

.loading-screen__mark {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 100px;
	height: 100px;
	background: var(--color-accent);
	-webkit-mask: url("/assets/images/star_cursor.png") center / contain no-repeat;
	mask: url("/assets/images/star_cursor.png") center / contain no-repeat;
	opacity: 1;
	translate: -50% -50%;
	scale: 1;
	filter: blur(0);
	animation: rotation 10s infinite linear;
	transition:
		opacity 180ms ease-out,
		scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
		filter 260ms ease-out;
}

.loading-screen.is-dismissing .loading-screen__mark {
	opacity: 0;
	scale: .62;
	filter: blur(6px);
}

.loading-screen__progress {
	position: absolute;
	top: 75%;
	left: 50%;
	color: var(--color-accent);
	font-size: 20px;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	opacity: 1;
	translate: -50% -50%;
	transform: translateY(0);
	transition:
		opacity 180ms ease-out,
		transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-screen.is-dismissing .loading-screen__progress {
	opacity: 0;
	transform: translateY(-8px);
}

@keyframes rotation {
	to { transform: rotate(1turn); }
}

@keyframes loader-header-in {
	from {
		opacity: 1;
		transform: translate3d(0, -10px, 0);
		clip-path: inset(0 0 8px 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		clip-path: inset(0 0 0 0);
	}
}

@keyframes loader-header-rule-in {
	from { transform: scaleX(.72); }
	to { transform: scaleX(1); }
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 110;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 8%;
	box-sizing: border-box;
	background: var(--color-background);
}

.js.header-entrance .site-header {
	opacity: 1;
	transform: translate3d(0, -10px, 0);
	clip-path: inset(0 0 8px 0);
}

.js.header-entrance .site-header {
	animation: loader-header-in 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-header::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--color-text);
	transform: scaleX(1);
	transform-origin: left center;
}

.js.header-entrance .site-header::after {
	transform: scaleX(.72);
}

.js.header-entrance .site-header::after {
	animation: loader-header-rule-in 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-header__logo,
.site-nav a {
	font-size: 20px;
	color: var(--color-text);
	text-decoration: none;
}

.site-header__logo:hover,
.site-nav a:hover {
	color: var(--color-accent);
	text-decoration: none;
}

.site-nav__links {
	display: flex;
	gap: 30px;
}

.site-nav__toggle {
	position: relative;
	display: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text);
}

.site-nav__toggle:hover,
.site-nav__toggle:focus {
	border-color: transparent;
	color: var(--color-text);
}

.site-nav__toggle span[aria-hidden] {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transform-origin: center;
	transition:
		transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
		opacity 160ms ease-out;
}

.site-nav__toggle span[aria-hidden]:nth-of-type(2) {
	transform: translate(-50%, calc(-50% - 7px));
}

.site-nav__toggle span[aria-hidden]:last-of-type {
	transform: translate(-50%, calc(-50% + 7px));
}

.site-nav__toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) {
	transform: translate(-50%, -50%) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) {
	opacity: 0;
	transform: translate(-50%, -50%) scaleX(.5);
}

.site-nav__toggle[aria-expanded="true"] span[aria-hidden]:last-of-type {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 750px) {
	.site-header {
		padding: 5px 5.5%;
		align-items: flex-start;
	}

	.site-header__logo {
		display: flex;
		align-items: center;
		height: 44px;
	}

	.site-nav__toggle {
		display: block;
		margin-left: auto;
	}

	.site-nav__links {
		display: none;
		flex-direction: column;
		align-items: flex-end;
		gap: 0;
		padding: 0 10px 6px;
	}

	.site-nav__links.is-open {
		display: flex;
	}

	.site-nav__links a {
		min-height: 44px;
		display: flex;
		align-items: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	body,
	.loading-screen,
	.loading-screen__mark,
	.loading-screen__progress,
	.site-header::after,
	.site-nav__toggle span[aria-hidden] {
		animation: none;
		transition: none;
	}

	.js.header-entrance .site-header {
		transform: none;
		clip-path: none;
	}

	.js.header-entrance .site-header::after {
		transform: scaleX(1);
	}

}

.project-meta {
	font-size: 20px;
}

.project-meta p {
	margin: 0;
}

.project-meta--fixed {
	position: fixed;
	right: 2%;
	bottom: 2%;
	left: 2%;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.project-meta--mobile {
	display: none;
	margin-top: 50px;
	position: static;
	width: auto;
	z-index: auto;
}

.related-projects h2 {
	margin: 20px 0;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -.03em;
}

.project-card h3,
.project-card__meta {
	margin: 2px 0;
	font-size: 20px;
}

.project-index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4rem 2%;
}

@media (max-width: 750px) {
	.project-meta--fixed {
		display: none;
	}

	.project-meta--mobile {
		display: block;
	}

	.related-projects h2 {
		font-size: 30px;
	}

	.related-projects__grid {
		display: grid;
		gap: 3rem;
	}

	.project-index {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}

/* typography
–––––––––––––––––––––––––––––––––––––––––––––– */

body { 
    font-size: 20px;
    line-height: 1.4;
    color: #fff;
	opacity: 1;
	transition: 1s opacity;
	background-color: #000;
}

h1 {
	margin-bottom: 20px;
	margin-top: 20px;
	font-size: 40px;
}

h3 {
	margin-bottom: 2px;
	font-size: 20px;
}

ul {
	list-style-type: none;
}

h2.bio {color: #000;}
p.bio {color: #000;}

li a {
	color: #000;
	font-size: 20px;
	text-decoration: none;
}

li a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

a.underline {
	color: #000;
	text-decoration: underline;
}

.underline {
	color: #000;
	text-decoration: underline;
}

a.underline:hover {
	color: var(--color-accent);
	text-decoration: none;
}

/* loading
–––––––––––––––––––––––––––––––––––––––––––––– */

.fixed {
	position: fixed;
	z-index: 10;
}

#loading_screen
{  
  display: block;
  position: fixed;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 1.0;
  z-index: 100;
}

#logone {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
  	width: 100px;
	margin: auto auto;
}
.star {
	-webkit-animation: rotation 10s infinite linear;
	opacity: 1 !important;
}

@-webkit-keyframes rotation {
	from {
			-webkit-transform: rotate(0deg);
	}
	to {
			-webkit-transform: rotate(359deg);
	}
}

/* images 
–––––––––––––––––––––––––––––––––––––––––––––– */

img {
	max-width: 100%;
}

/* works page 
–––––––––––––––––––––––––––––––––––––––––––––– */

.filter {
	-webkit-filter: grayscale(100%);
/*	-webkit-clip-path: inset(1% 20% 1% 20%);*/
	filter:grayscale(100%);
/*	border: 5px solid #fff;*/
/*	border-radius: 100%;*/
}

.filter:hover {
	filter: none;
	-webkit-filter:grayscale(0);
/*	border: 5px solid #0000ff;*/
	text-decoration: underline;
}

#worksTumb:hover {
	color: #fff;
    text-decoration: underline;
}

a {
	color: #fff;
	text-decoration: none;
}

a:hover {
	color: #fff;
	text-decoration: underline;
}

/* work-project page
–––––––––––––––––––––––––––––––––––––––––––––– */

#topWorks {
	margin-top: 30px;
}

.mobileDivisore {
	display: none;
}


#latL {
	position: fixed;
	bottom: 2%;
	left: 2%;
	z-index: 1;
/*  	text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;*/
}

#latR {
	position: fixed;
	bottom: 2%;
	right: 2%;
	z-index: 1;
/*	text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;*/
}

#citW {
	margin-top: 10px;
	margin-bottom: 10px;
}


/* about page
–––––––––––––––––––––––––––––––––––––––––––––– */

/* contact page
–––––––––––––––––––––––––––––––––––––––––––––– */

.contact {
	color: #fff;
	font-size: 20px;
	text-decoration: none;
}

.contactUnderline {
	color: #fff;
	font-size: 20px;
	text-decoration: underline;
}

a.contactUnderline:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

/* footer
–––––––––––––––––––––––––––––––––––––––––––––– */

/*
li.footerWhite {
	color: #fff;
	font-size: 20px;
}

footer {
  background-color: black;
  
}


footer p {
	color: #fff;
	font-size: 18px;
	text-decoration: none;
}

footer ul {
	list-style-type: none;
	text-align: left;
	margin-left: 30px;
	padding: 10px;
	z-index: 20;
}
*/

/* navbar
–––––––––––––––––––––––––––––––––––––––––––––– */

header {
	width: 100%;
	display: block;
    position: fixed;
	z-index: 10;
}


.topnav {
  background-color: #000;
  overflow: hidden;
  box-shadow: 0px 2px;
}

.navRight {
	float: right;	
	margin-right: 9.5%;
	padding: 5px 0px;
}

.topnav a {
  display: inline-block;
  color: #fff;
  text-align: center;
  padding: 5px 0px;
  padding-left: 30px;
  font-size: 20px;
}

.topnav .icon {
  margin-top: 5px;
  display: none;
}

.logo {
	position: absolute;
	z-index: 5;
	float: left;
	display: inline-block;
	padding: 10px 0px;
	margin-left: 8%;
}

#logone {
	display: inline-block;
	margin-right: 5px;
}

header a{
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

header a:hover{
	color: var(--color-accent);
    text-decoration: none;
}

.navUnderline {
	color: #fff;
	text-decoration: underline;
}

.navUnderline:hover{
	color: var(--color-accent);
    text-decoration: underline;
}

/* media query 
–––––––––––––––––––––––––––––––––––––––––––––– */

/* general ––– */

@media (max-width: 1000px) {
	body {
		font-size: 20px;
	}
}

@media (max-width: 750px) {

	h1 {
		font-size: 30px;
	}
	.pageTitle {
		margin-top: 60px;
	}
	
	h3 {
		font-size: 20px;
	}
	.contact, .contactUnderline {
		font-size: 20px;
	}
	#topWorks {
		margin-top: 50px;
	}
	.divisore {
		display: none;
	}
	.mobileDivisore {
		display: block;
	}
	.latWorks {display: none;}
}

@media (min-width: 750px) {
#topWorks {display: none;}
}

/* hamburger menu ––– */

@media screen and (max-width: 750px) {
  .topnav a {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
	
	.logo {
		margin-left: 5.5%;
	}
	.navRight {
		margin-right: 5.5%;
	}
	
}

@media screen and (max-width: 750px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 5.5%;
    top: 0px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
	margin: 5px 0;
  }
  .navRight {
    margin-top: 38px;
  }
}
