/*
0.25rem = 4px
0.5rem = 8px
0.625rem = 10px
0.75rem = 12px
0.875rem = 14px
1rem = 16px
1.125rem = 18px
1.25rem = 20px
1.5rem = 24px
1.75rem = 28px
2rem = 32px
2.25rem = 36px
2.5rem = 40px
3rem = 48px
3.5rem = 56px
4rem = 64px
4.5rem = 72px
5rem = 80px
5.5rem = 88px
6rem = 96px
6.5rem = 104px
7rem = 112px
7.5rem = 120px
8rem = 128px
8.5rem = 136px
9rem = 144px
9.5rem = 152px
10rem = 160px
10.25rem = 164px
10.5rem = 168px
10.75rem = 172px
11rem = 176px
11.25rem = 180px
11.5rem = 184px
11.75rem = 188px
12rem = 192px
12.25rem = 196px
12.5rem = 200px
12.75rem = 204px
13rem = 208px
13.25rem = 212px
13.5rem = 216px
13.75rem = 220px
14rem = 224px
14.25rem = 228px
14.5rem = 232px
14.75rem = 236px
15rem = 240px
15.25rem = 244px
15.5rem = 248px
15.75rem = 252px
16rem = 256px
16.25rem = 260px
16.5rem = 264px
16.75rem = 268px
17rem = 272px
17.25rem = 276px
17.5rem = 280px
17.75rem = 284px
18rem = 288px
18.25rem = 292px
18.5rem = 296px
18.75rem = 300px
19rem = 304px
19.25rem = 308px
19.5rem = 312px
19.75rem = 316px
20rem = 320px


100% opacity = FF
90% opacity  = E6
75% opacity  = BF
50% opacity  = 80
25% opacity  = 40
10% opacity  = 1A
0% opacity   = 00
*/


/*
----------------------------------------------------------------------
CUSTOM CURSOR
*/


.cursor {
	position: fixed;
	width: 0.625rem;
	height: 0.625rem;
	top: 0;
	left: 0;
	background: #eee;
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: 9999;

	transition: width 0.1s ease, height 0.1s ease;

	backface-visibility: hidden;
	transform-style: preserve-3d;
	will-change: transform, width, height;

	mix-blend-mode: difference;
}

/*
----------------------------------------------------------------------
FADE UP
*/


.fade-up {
	opacity: 0;
	transform: translateY(0.625rem);
	animation: fadeUp 0.6s ease forwards;
	animation-delay: calc(var(--i) * 0.1s);
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/*
----------------------------------------------------------------------
TEXT SETTINGS
*/


h1, h2, h3, h4, p, a {
	font-size: inherit;
	font-weight: inherit;
}

h2 {
	font-size: 2rem;
	line-height: 1;
}

h3 {
	font-size: 2rem;
	line-height: 1;
}

p {
	max-width: 45ch;
	color: #808080;
	font-weight: 400;
}

.about-p {
	max-width: 60ch;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

p a {
	font-weight: 550;
}

.project-grid a:hover {
	color: #808080;
}

.mid-grey {
	color: #808080;
}

.center-type {
	text-align: center;
}


/*
----------------------------------------------------------------------
IMAGE & VIDEO SETTINGS
*/


video, img {
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.hero img, footer img {
	border-radius: 0;
}


/*
----------------------------------------------------------------------
MAIN SITE SETTINGS
*/


* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	background: #222;
}

body {
	background: #eee;
	font-family: "Geist", sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: #222;
}

main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2rem;
	padding-top: 14rem;
}


/*
----------------------------------------------------------------------
HEADER & FOOTER
*/


header {
	display: flex;
	position: fixed;
	top: 0;
	width: 100%;
	padding: 2rem;
	font-weight: 450;
	color: #eee;
	mix-blend-mode: difference;
	z-index: 999;
}

nav {
	width: 100%;
}

nav ul {
	display: flex;
	justify-content: space-between;
	width: 100%;
	list-style: none;
}

footer {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2rem;
	height: calc(75vh - 4rem);
	background: #222;
	color: #eee;
}

.footer-info {
	display: flex;
	justify-content: space-between;
}


/*
----------------------------------------------------------------------
HOME PAGE
*/


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

.project-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.project-info {
	display: flex;
	justify-content: space-between;
}


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


.about-text {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: fit-content;
}


/*
----------------------------------------------------------------------
WORK PAGES
*/


.project-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.multi-media {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

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

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


/*
----------------------------------------------------------------------
TAG SETTINGS
*/


.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag {
	display: inline-block;
	background: #ddd;
	padding: 0.5rem;
	border-radius: 0.5rem;
	font-family: "Geist Mono", monospace;
	font-size: 0.625rem;
	font-weight: 400;
	color: #808080;
}


/*
----------------------------------------------------------------------
*/


.photo-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-row-gap: 1rem;
	grid-column-gap: 1rem;
	justify-items: center;
}

.photo-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: #808080;
}


/*
----------------------------------------------------------------------
*/


.mobile {
	display: none;
}


/*
----------------------------------------------------------------------
SMALL SCREENS
*/


@media (max-width: 768px) {

	main {
		padding: 1.5rem;
		padding-top: 14rem;
		gap: 1.5rem;
	}
	
	header {
		padding: 1.5rem;
	}
	
	footer {
		padding: 1.5rem;
	}
	
	.project-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.multi-media {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.multi-media.four {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.photo-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.cursor {
		display: none !important;
	}
	
	a:hover {
		color: #808080;
	}
	
	.desktop {
		display: none;
	}
	
	.mobile {
		display: inline;
	}
	
}