@font-face {
    font-family: terminalGrotesqueOpen;
    src: url(terminal-grotesque_open.woff2);
}

@font-face {
    font-family: terminalGrotesque;
    src: url(terminal-grotesque.woff2);
}

@font-face {
    font-family: syneMono;
    src: url(SyneMono-Regular.woff2);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	padding: 2rem;
	background: #ffffff;
	font-family: syneMono;
	font-size: 15px;
	color: #ffffff;
}

.container {
	width: 50%;
	max-width: 1000px;
	min-width: 320px;

	display: flex;
	flex-direction: column;
	gap: 2rem;

	background: #ed0086;
	padding: 2rem;
}

p {
    margin-bottom: 1rem;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: 1rem;
    font-family: terminalGrotesque;
    border-bottom: 1px solid white;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: terminalGrotesque;
    
}

.main-links {
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
	gap: 1rem;
}

.main-links a,
.project-links a {
	color: white;
	text-decoration: none;
    font-size: clamp(1rem, 1.25vw, 2rem);
}

.main-links a:hover,
.project-links a:hover {
	text-decoration: underline;
}

.project {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.project h2 {
	font-size: 2rem;
    font-family: terminalGrotesque;
}

.gallery {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
}

.gallery img,
.gallery video,
.gallery iframe {
	width: 300px;
    height: 169px;
	flex-shrink: 0;
	display: block;
    border: 1px solid white;
    padding: 0.2rem;
}

.project-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
    justify-content: center;
}

.project-description {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.project-description ul {
	padding-left: 1.5rem;
}

@media (orientation: portrait), (max-width: 768px) {
	.container {
		width: 80%;
		padding: 1.5rem;
	}

	.gallery img,
	.gallery video {
		width: 240px;
	}
}