
:root {
	/* colors */
	--black: #000000;
	--white: #ffffff;
	--grey: #7d7d7d;
	--dark-grey: #3b3b3b;
	--light-grey: #dcdcdc;
	--light-light-grey: #f0f0f0;
	--blue: blue;
	--green: lime;
	/* color functions */
	--color-primary: var(--yellow);
	--color-surface: var(--light-grey);
	--color-subtle: var(--grey);
	--color-text-default: var(--black);
	--color-text-subtle: var(--grey);
	--color-text-link: var(--grey);
	--background-color: var(--light-light-grey);
	--border-color: var(--grey);
	/* fonts */
	--font-mono: "IBM Plex Mono", monospace;
	--font-serif: "IBM Plex Serif", serif;
	--font-condensed: "IBM Plex Sans Condensed", sans-serif;
}



body {
	background-color: var(--background-color);
	text-transform: lowercase;
}

header {
	position: sticky;
	background: var(--background-color);
	top: 0;
	z-index: 1000;
	padding: 1rem 2rem;
	text-transform: uppercase;
	border-bottom: 1.5px solid var(--border-color);
}

.name {
	font-size: 1.5rem;
	font-family: var(--font-condensed);
	font-weight: 400;
	margin-bottom: 0;
}

.role {
	font-size: 1rem;
	font-family: var(--font-condensed);
	font-weight: 300;
}


.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-family: var(--font-mono);
	font-weight: 300;
}

nav > a {
	text-decoration: none;
}

a {	
	color: var(--color-text-default);		  
}
a:hover {
	color: var(--color-text-link);
}

main {
	width: 90%;          
	max-width: 960px;    
	margin: 24px auto 0; 
	padding: 0 1rem;
	
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

section {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	border-bottom: 1px solid var(--border-color);
	scroll-margin-top: 110px;

}

.sub-section {
	display: flex;
	gap: 2rem;
	margin-bottom: 20px;
}

h2 {
	text-transform: uppercase;
}

p {
	margin: 0;
}

section > h2 {
	margin-top: 0;
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 1rem;
	color: var(--color-text-subtle);
}

.sub-section > h3 {
	margin-top: 0;
	font-family: var(--font-mono);
	font-weight: 250;
	font-size: 1rem;
	min-width: 12rem;
	max-width: 12rem;
	color: var(--color-text-default);
	text-transform: uppercase;
}

.section-content {
	font-family: var(--font-serif);
	font-size: 12pt;
	color: var(--color-text-default);
	flex: 1;
}

footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;

	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 1rem;
	color: var(--color-text-subtle);

	margin: 70px 0px 10px; 
	padding: 1rem 2rem;
	text-transform: uppercase;
	border-top: 1.5px solid var(--border-color);
}

.footer-links > a {
	color: var(--color-text-default);
	text-transform: uppercase;
	text-decoration: none;
}
.footer-links > a:hover {
	color: var(--color-text-subtle);
}

.date-outer {
	display: flex;
	flex-direction: column;
	font-family: var(--font-mono);
	margin-bottom: 10px;
	width: 100%;
}

.date-header {
	display: flex;
	justify-content: space-between;
}
.date-title {
	text-transform: uppercase;			
	text-decoration: underline;
	min-width: 200px;
	max-width: 200px;
}

.date-place-outer {
	display: flex;
	font-size: 0.9rem;
	color: var(--color-text-subtle);
	gap: 25px;
}

.date-description {
	font-family: var(--font-serif); 
	text-transform: lowercase;
}

.work-title {
	text-transform: uppercase;
	text-decoration: underline;
}
.work-description {
	font-family: var(--font-serif);
	text-transform: lowercase;
}

.work-outer {
	display: flex;
	flex-direction: column;
	font-family: var(--font-mono);
	font-weight: 400;
	align-items: flex-start;
	margin-bottom: 20px;;
}
.work-header {
	display: flex;		  
	gap: 0.5rem;
}	  
.work-title {
	text-transform: uppercase;
	text-decoration: underline;
}
.work-description {
	font-family: var(--font-serif);
	text-transform: lowercase;
}

.performances-list {
	display: flex;
	flex-direction: column;
}

.performance {
	margin-bottom: 10px;
	display: flex;
	flex-direction: row;
	gap: 2rem;
	flex-grow: 10;
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 0.85rem;
	border-bottom: 0.5px solid var(--border-color);
	text-transform: lowercase;
}	  
.performance-date {
	min-width: 50px;
	max-width: 50px;
}
.performance-place {
	min-width: 70px;
	max-width: 70px;
}

a.external::after {
	content: "↗"
}

@media (max-width: 720px) {

	.sub-section {
		flex-direction: column;
	}

	.name {
		font-size: 1rem;
	}

	.role {
		font-size: 0.9rem;
	}

	nav {
		justify-content: flex-end;
	}
	
	section {
		scroll-margin-top: 150px;
	}
}

