:root{
	--lauron_blue: color(display-p3 0 0.04 1 / 1);
}

@font-face {
  font-family: "Violet Sans";
  src: url("fonts/VioletSans.woff2") format("woff2");
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/Be_Vietnam_Pro.woff2") format("woff2");
}

* {
	padding: 0;
	margin: 0;
	font-family: Be Vietnam Pro;
	font-weight: 300;
	color: var(--lauron_blue);
	transition:transform .8s;
}


header {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	font-family: Violet Sans;
	text-transform: uppercase;

	background: #ffffff;
	box-shadow: 0 0 8px var(--lauron_blue);
	align-items: baseline;
	padding: 18px 24px 10px 28px;
	position: sticky;
  top: 0;
  z-index: 1;
}

h1 {
	font-size: clamp(2rem,4vw,2.4rem);
}

h2 {
	font-size: 3rem;
}

h1,h2,h3,nav a { 
	font-family: Violet Sans;
	text-transform: uppercase;
}

nav {
	display: flex;
  	gap: clamp(24px,5vw,56px);
}

nav a {
	padding: 2px 10px 0;
  	font-size: clamp(1.2rem,4vw,1.4rem);
  	border-radius: 12px;
}

header a,#work a {
	text-decoration: none;
}

nav a:hover {
	background: var(--lauron_blue);
	color: white;
	filter: drop-shadow(0 0 4px var(--lauron_blue));
}

section {
	min-height: 85dvh;
	height: 100%;
}

#about {
	overflow: hidden;
	display: flex;
	flex-flow: row wrap;
	min-height: 85dvh;
	justify-content: space-evenly;
	align-items: center;
	max-width: 1280px;
	margin: auto;
}

#about img {
	max-width: 260px;
  	box-shadow: -14px 16px 0 var(--lauron_blue);
}

#about div {
	max-width: 480px;
	font-size: 1.05rem;
}

link-title {
	font-weight: 600;
}

links-section {
	margin-top: 3rlh;
	display: inline-block;
}

links-section p {
	margin-bottom:1rlh;
}

#work {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 42dvh;
	gap: 24px;
	padding: 20px;
}

#work a {
	display: flex;
	width: 100%;
	flex-flow: column nowrap;
	gap: 14px;
}

#work a:hover{
	/*transform: rotateY(-12deg) rotateZ(1deg) rotateX(4deg);*/
}

#work a img{
	height: 100%;
	min-height: 0;
}

#work a div {
	display: flex;
	justify-content: space-between;
	font-size: 1.05rem;
}

img, video {
	width: 100%;
  	object-fit: cover;
}

.project_page {
	padding: 18px;
}

.hero_image {
	max-height: 80dvh;
}

project-description {
	margin-block: 18px;
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap-reverse;
	gap: 18px;
	padding-bottom: 16dvh;
}

project-description div p {
	max-width: 480px;
}

image-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	/*grid-auto-rows: 42dvh;*/
	gap: 36px 24px;
}

/* Styles for on mobile */
@media (width <= 480px) {
	header {
		justify-content: center;
		gap: 8px;
	}

	#about {
		gap: 36px;
		padding: 84px 18px 18dvh;
	}

	#work {
		grid-auto-rows: 275px;
    grid-template-columns: 1fr;
	}

	image-gallery {
		grid-template-columns: 1fr;
	}

	#work a, image-gallery img, image-gallery video {
		grid-column: auto !important;
		grid-row: auto !important;
	}
}