/*@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');*/
@font-face {
    font-family: "Courier Prime";
    src: url("../data/Courier-Prime-Bold.woff");
}
@font-face {
    font-family: "Courier Prime-Sans";
    src: url("../data/Courier-Prime-Sans.woff");
}
@font-face {
    font-family: "Courier Prime Sans";
    font-weight: bold;
    src: url("../data/Courier-Prime-Sans-Bold.woff");
}
:root {
	--white: #ece5de;
	--black: #0e2339;
	--accent: #3169a2;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0.5rem;
}
::-webkit-scrollbar-track {
    background: var(--white);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
}
* {
  scrollbar-color: var(--accent) var(--white);
  scrollbar-width: thin;
}
html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 18px;
	font-family: 'Ubuntu Mono', monospace;
    font-family: 'Courier Prime', monospace;
	scroll-behavior: smooth;

	color: var(--black);
	background-color: var(--white);

}
body {
	height: auto;
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: 600;
}

a,
a:visited {
	color: var(--accent);

}
a:hover,
a:active {
	text-decoration: none;
}

h1 {
	font-size: 1.25rem;
	margin: 0;
	width: 100%;
	text-align: left;
	margin: 0.5rem 0 1rem 0;
}
h1 strong {
	font-size: 1.5rem;
}
h2 {
	font-size: 1.25rem;
	text-align: left;
	margin: 0.5rem 0 1rem 0;
}
p {
	margin: 0.5rem 0 1rem 0;
}

main {
	width: calc(100vw / 3 * 2);
	padding: 0;
	margin: 0 0 0 auto;
	animation: 1s fade-in ease both 1 1s;
}
@keyframes fade-in {
	0% 		{opacity: 0;}
	100% 	{opacity: 1;}
}
#looker {
	width: calc(100vw / 3);
	height: 100vh;
	display: flex;
	align-content: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background: var(--accent);
	animation: 1s slide-in-right cubic-bezier(0.16, 1, 0.3, 1) both 1 0.5s;
}
@keyframes slide-in-right {
	0% 		{translate: -100% 0;}
	100% 	{translate: 0 0;}
}
#looker-object {
	width: 75%;
	height: 90%;
	margin: 0 auto;
	margin: 0 auto;
	animation: 1s pop-in cubic-bezier(0.34, 1.56, 0.64, 1) both 1 2.5s;
}
@keyframes pop-in {
	0% 		{scale: 0;}
	100% 	{scale: 1;}
}
article {
	min-height: 100vh;
	display: flex;
	margin: 0;
	justify-content: center;
	flex-direction: column;
	padding: 2rem 4rem 2rem 2rem;
}
section.gallery .gallery-controls {
  position: absolute;
  z-index: 1000;
  top: -2rem;
  margin-left: 2rem;
}
button.gallery-button {
	border-radius: 50%;
	width: 1.5rem;
	height: 1.5rem;
	border: 2px solid var(--accent);
	background: var(--white);
	color: var(--accent);
	margin-right: 0.5rem;
	cursor: pointer;
	font-weight: bold;
}
section.gallery[data-slide="0"] button.gallery-button[data-slide="0"],
section.gallery[data-slide="1"] button.gallery-button[data-slide="1"],
section.gallery[data-slide="2"] button.gallery-button[data-slide="2"],
section.gallery[data-slide="3"] button.gallery-button[data-slide="3"],
section.gallery[data-slide="4"] button.gallery-button[data-slide="4"],
section.gallery[data-slide="5"] button.gallery-button[data-slide="5"],
section.gallery[data-slide="6"] button.gallery-button[data-slide="6"],
section.gallery[data-slide="7"] button.gallery-button[data-slide="7"],
section.gallery[data-slide="8"] button.gallery-button[data-slide="8"],
section.gallery[data-slide="9"] button.gallery-button[data-slide="9"],
button.gallery-button:hover {
	border: 2px solid var(--accent);
	color: var(--white);
	background: var(--accent);
}
section.gallery {
	width: calc(100% + 6rem);
	aspect-ratio: 16/9;
	margin-left: -2rem;
	background-color: var(--accent);
	margin-top: 0rem;
	margin-bottom: 1rem;
	position: relative;
}
section.gallery.gallery-controls {
	margin-top: 2rem;
}
section.gallery section.gallery-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}
section.gallery section.gallery-slide a::after {
	content: " ";
	background: red;
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
	z-index: 1000;
	background-image: url(../data/external-link.svg);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 1rem;
	background-color: rgba(0,0, 0, 0.25);
	backdrop-filter: blur(8px);
}
section.gallery section.gallery-slide img {
	width: 100%;
}

section.gallery[data-slide="0"] section.gallery-slide[data-slide="0"],
section.gallery[data-slide="1"] section.gallery-slide[data-slide="1"],
section.gallery[data-slide="2"] section.gallery-slide[data-slide="2"],
section.gallery[data-slide="3"] section.gallery-slide[data-slide="3"],
section.gallery[data-slide="4"] section.gallery-slide[data-slide="4"],
section.gallery[data-slide="5"] section.gallery-slide[data-slide="5"],
section.gallery[data-slide="6"] section.gallery-slide[data-slide="6"],
section.gallery[data-slide="7"] section.gallery-slide[data-slide="7"],
section.gallery[data-slide="8"] section.gallery-slide[data-slide="8"],
section.gallery[data-slide="9"] section.gallery-slide[data-slide="9"] {
	opacity: 1;
	pointer-events: all;
	visibility: visible;
	transition: opacity 1s ease, visibility 0s linear 0s;}

footer {
  padding: 0;
  text-align: left;
  width: calc(100vw / 3 * 2);
  margin: 0 0 0 auto;
  animation: 1s fade-in ease both 1 0.5s;
  font-size: 0.8rem;
}
footer p {
  padding: 1rem 15% 1rem 5%;
}
video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#contact-link {
	position: relative;
}
#contact-link.copied:after {
	content: "copied";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--black);
	animation: 2s copied ease both 1;
}
.pixelated {
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}
.small-article {
  min-height: 25vh;
}
@keyframes copied {
	0%		{opacity: 0;transform: translateY(0);}
	25%		{opacity: 1;}
	75%		{opacity: 1;}
	100%	{opacity: 0;transform: translateY(-24px);}
}
@media (orientation: portrait) {
	#looker {
		position: relative;
		width: 100vw;
		height: 30vh;
		animation: 1s slide-in-top cubic-bezier(0.16, 1, 0.3, 1) both 1 1.5s;
	}
	@keyframes slide-in-top {
		0% 		{translate: 0 -100%;}
		100% 	{translate: 0 0;}
	}
	main {
		padding: 0;
		width: 100vw;
	}
	section.gallery {
		margin-left: -1rem;
		width: calc(100% + 2rem);
	}
	section.gallery .gallery-controls {
		margin-left: 1rem;
	}
	footer {
		padding: 0;
		width: 100vw;
	}
	footer p {
		padding: 1rem;
	}
	article {
		min-height: 50vh;
		padding: 1rem;
	}
}
