:root {
	--base: #605858;
  --background: #ffffff;
	--black: #000000;
	--white: #ffffff;
}

/* @group FONTS */

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-regular.woff2') format('woff2'),
       url('../fonts/barlow-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-italic.woff2') format('woff2'),
       url('../fonts/barlow-italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-bold.woff2') format('woff2'),
       url('../fonts/barlow-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlowcondensed-black.woff2') format('woff2'),
       url('../fonts/barlowcondensed-black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* @end */

/* @group GENERAL */

html, body {
	color: var(--base);
	font-family: 'Barlow', Arial, sans-serif;
	font-size: clamp(18px, 1.6vw, 20px);
	line-height: 1.3em;
}

body {
	min-height: 100vh;
	min-width: 320px;
}

h1,
.title {
	font-family: 'Barlow Condensed', Arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
}

h1 {
	margin-bottom: 1rem;
	font-size: 3rem;
	line-height: 1;
}

.title {
	font-size: 5rem;
	line-height: 1;
}

	@media (max-width: 799px) {
		
		h1 {
			font-size: 2.5rem;
			line-height: 1;
		}
		
		.title {
			font-size: 3rem;
			line-height: 1;
		}
		
	}
	
	@media (min-width: 1000px) {
		
		h1.page-heading {
			position: relative;
			z-index: 1;
			display: inline-block;
			margin-top: -2.5rem;
			padding: .1em .25em;
			background-color: var(--background);
		}
	
	}

h2,
.menu,
.event-date {
	font-size: clamp(1.25rem, 2.25vw, 1.5rem);
	font-weight: bold;
	line-height: 1.1em;
}

h2:not(:first-child) {
	margin-top: 1em;
}

h2:not(:last-child) {
	margin-bottom: .75rem;
}

figure + h2:not(:first-child) {
	margin-top: 0;
}

strong,
h3,
.event-year,
.event-city,
.event-show,
.social-links,
.footer-menu {
	font-weight: bold;
	font-size: 1.02em;
}

h3:not(:first-child) {
	margin-top: 1rem;
}

h3:not(:last-child) {
	margin-bottom: .5rem;
}

figcaption h3 {
	margin-top: 0;
}

em {
	font-style: italic;
}

p:not(:last-child) {
	margin-bottom: .75em;
}

.main a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-thickness: .05em;
	text-decoration-color: transparent;
	text-underline-offset: .15em;
	transition: all .15s ease-in-out 0s;
}

.main a:hover {
	text-decoration-color: currentColor;
}

a.button {
	display: inline-block;
	padding: .15rem .75rem .25rem;
	background-color: var(--primary);
	color: var(--white);
	font-weight: bold;
	line-height: 1rem;
}

.download-icon {
	width: 1em;
	height: 1em;
	margin-right: .5em;
	vertical-align: middle;
}

	.download-link__icon path {
		fill: var(--primary);
	}

.uppercase {
	text-transform: uppercase;
}

.greyscale-image {
	filter: grayscale(100%);
}

ul:not(:last-child) {
	margin-bottom: 1.5em;
}

li {
	display: table;
}

li:not(:last-child) {
	margin-bottom: .5em;
}

	li::before {
		display: table-cell;
		content: "•";
		width: 1.5em;
		padding-right: .25em;
		text-align: center;
	}

/* @end */

/* @group LAYOUT */

html,
body {
	min-width: 320px;
}

.main {
		padding-bottom: 5rem;
	}
	
		@media (max-width: 799px) {
			
			.main,
			.footer {
				padding-right: 1rem;
				padding-left: 1rem;
			}
		}
		
		@media (min-width: 800px) {
			
			.main,
			.footer {
				padding-right: 2rem;
				padding-left: 2rem;
			}
		}
	
		@media (min-width: 1000px) {
			
			body:not(.home) {
				background-color: #e0dfdf;
			}
			
			.header,
			.main,
			.footer {
				max-width: 70rem;
				margin-right: auto;
				margin-left: auto;
			}
			
			.header,
			.main,
			body:not(.home) .footer {
				background-color: var(--white);
			}
			
			.main,
			.footer {
				padding-left: 16rem;
			}
			
		}
		
.video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0;
	height: 0;
	overflow: hidden;
}

	.video iframe,
	.video embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

/* @end */

/* @group Header, Title, Navigation */

body {
	position: relative;
}

.title {
	position: relative;
	z-index: 1;
	max-width: 3em;
	line-height: .9em;
}

	.title__item {
		display: inline-block;
		padding: 0 .5rem .08em;
		margin-bottom: .25rem;
		color: var(--primary);
		background-color: var(--black);
	}
	
	@media (max-width: 999px) {
		
		.title {
			margin-left: .5rem;
			margin-top: calc(-1.5em - .25rem);
		}
		
		.home .title {
			position: absolute;
			left: .5rem;
			bottom: 20vh;
		}
		
	}
	
@media (max-width: 999px) {
	
	.title {
		margin-bottom: 1rem;
	}
	
}

@media (min-width: 1000px) {

	.navigation {
		position: fixed;
		top: 1rem;
		left: 1rem;
	}
	
}

@media (min-width: 1400px) {
	
	.navigation {
		left: 50%;
		transform: translateX(-34rem);
	}
}

/* @end */

/* @group Menu */

.menu {
	
}

	.menu__item:not(:last-child) {
		margin-bottom: .25rem;
	}

	.menu__item a {
		display: inline-block;
		padding: .05rem .5rem .15rem;
		color: var(--white);
		background-color: var(--primary);
	}
	
	.menu__item:hover a,
	.menu__item.active a {
		background-color: var(--black);
	}
	
	@media (max-width: 999px) {
	
	.menu {
		position: fixed;
		z-index: 10;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		min-width: 320px;
		padding-top: 3.25rem;
		font-size: 1.8rem;
		line-height: 1.1em;
		transform: translateX(-100vw);
    transition: all 0.5s ease;
	}

  .menu.open {
    transform: translateX(0);
  }
	
}

/* @end */

/* @group Menu-toggle */

.menu-toggle {
	position: fixed;
	z-index: 20;
	inset-block-start: 0;
	inset-inline-start: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3rem;
	height: 3rem;
	padding: .5rem;
	background-color: var(--primary);
}

.menu-toggle:hover {
	cursor: pointer;
}

	@media (min-width: 1000px) {

	.menu-toggle,
	.menu-overlay {
		display: none;
	}
	
}

/* @group Hamburger */
	
	.hamburger {
		position: relative;
		width: 100%;
	}
	
		.hamburger > * {
			display: block;
			position: absolute;
			top: 50%;
			height: 2px;
			width: 100%;
			background-color: var(--white);
			transition: all 300ms ease-in-out 0s;
			transform: translateY(-50%);
		}
		
		.hamburger > *:nth-child(1) {
			transform: translateY(calc(-50% + .4em));
		}
	
		.hamburger > *:nth-child(3) {
			transform: translateY(calc(-50% - .4em));
		}
		
		.hamburger.open > *:nth-child(1),
		.hamburger.open > *:nth-child(3) {
			margin-inline: auto;
		}
		
		.hamburger.open > *:nth-child(1) {
			transform: rotate(45deg);
		}
		
		.hamburger.open > *:nth-child(2) {
			opacity: 0;
		}
		
		.hamburger.open > *:nth-child(3) {
			transform: rotate(-45deg);
		}
	
	/* @end */

/* @end */

/* @group Menu-overlay */

.menu-overlay {
	visibility: hidden;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: var(--black);
	opacity: 0;
  transition: all 0.5s ease;
}

.menu-overlay.open {
	visibility: visible;
	opacity: .8;
}

/* @end */

/* @group Cover */

.cover {
	position: fixed;
	z-index: -1;
	inset-block-start: 0;
	inset-inline-start: 0;
}

	.cover img {
		height: 100vh;
		width: 100vw;
		object-fit: cover;
	}

/* @end */

/* @group grid */

.grid {
	display: grid;
	grid-row-gap: 1.5rem;
}

	@media (min-width: 800px) {
		
		.grid--two-cols {
			grid-template-columns: repeat(2, 1fr);
			grid-column-gap: 2rem;
		}
		
	}

/* @end */

/* @group inline-grid */

.inline-grid {
	display: grid;
	grid-row-gap: 1.5rem;
}

.inline-grid:not(:first-child) {
	margin-top: 1.5rem;
}

h2 + .inline-grid:not(:first-child) {
	margin-top: 0;
}

	.inline-grid img {
		width: 100%;
		height: auto;
		margin-bottom: .5rem;
	}
	
	.inline-grid h3 + p:last-child {
		margin-top: .5em;
	}
	
	@media (min-width: 400px) and (max-width: 799px) {
		
		.inline-grid {
			grid-template-columns: repeat(2, 1fr);
			grid-column-gap: 1rem;
		}
		
			.inline-grid__colspan {
				grid-column-end: span 2;
			}
		
	}
	
	@media (max-width: 799px) {
			
			.inline-grid .slim-image {
				width: 75%;
			}
			
		}

	@media (min-width: 800px) {
		
		.inline-grid {
			grid-template-columns: repeat(3, 1fr);
			grid-column-gap: 2rem;
		}
		
			.inline-grid__colspan {
				grid-column-end: span 3;
			}
		
	}

/* @end */

.link-to-overview {
	margin-top: 3rem;
	font-weight: bold;
}

/* @group Card */

.card:not(.card--no-border) {
	border-top: 4px solid var(--base);
	padding-top: .5rem;
}

.card {
	display: grid;
	grid-row-gap: .5rem;
}

.card--float-content,
.card--float-content-right {
	display: unset;
	grid-row-gap: unset;
}

	.card img {
		width: 100%;
		height: auto;
	}
	
	.card__figure {
		position: relative;
	}
	
		.card__figure .credit {
			position: absolute;
			bottom: 0;
			right: 0;
			padding: .5em;
			color: var(--white);
			mix-blend-mode: difference;
			font-size: .8rem;
			line-height: 1;
		}
	
	.card__text + .card__figure {
		margin-top: .5rem;
	}
	
	.card--float-content figure,
	.card--float-content-right figure  {
		margin-bottom: .75em;
	}
		
	@media (min-width: 600px) {
			
			.card--two-cols {
				grid-template-columns: repeat(2, 1fr);
				grid-column-gap: 2rem;
			}
			
				.card--two-cols:nth-child(odd) .card__figure {
					order: 2;
				}
				
				.card--two-cols:nth-child(odd) .card__text {
					order: 1;
				}
				
				.card--two-cols:nth-child(odd) .card__text:only-child {
					grid-column-end: span 2;
				}
				
			.card--float-content {
				
			}
			
				.card--float-content img,
				.card--float-content-right img {
					width: 100%;
					height: auto;
				}
			
				.card--float-content figure,
				.card--float-content-right figure {
					float: right;
					width: calc(50% - 1rem);
					margin-left: 2rem;
				}
				
				.card--float-content figure.portrait,
				.card--float-content-right figure.portrait {
					width: calc((100% - 4rem) * .333333333);
				}
				
				.card--float-content:nth-child(even) figure {
					float: left;
					margin-right: 2rem;
					margin-left: 0;
				}
				
				.card--float-content figure + h2,
				.card--float-content-right figure + h2 {
					margin-top: 0;
				}
			
		}

/* @end */

/* @group hero */

.hero {
	position: relative;
}

	.hero img {
		width: 100%;
		height: auto;
	}
	
	.hero__credit {
		position: absolute;
		bottom: 0;
		right: 0;
		padding: .5em;
		color: white;
		mix-blend-mode: difference;
		font-size: .8rem;
		line-height: 1em;
	}
	
	@media (min-width: 1000px) {
		
		.hero img {
			height: 75vh;
			max-height: 30rem;
			object-fit: cover;
			object-position: center top;
		}
		
	}

/* @end */

/* @group events */

.events {
	border-top: 4px solid var(--base);
}

/* @end */

/* @group event */

.event {
	display: grid;
	padding-top: .5rem;
	padding-bottom: .5rem;
	border-bottom: 4px solid var(--base);
}

	.event > *:first-child {
		margin-top: -.25em;
	}
	
	.event > *:last-child {
		text-align: right;
	}
	

	@media (max-width: 799px) {
		
		.event {
			grid-template-columns: 4rem 1fr 1fr;
			grid-column-gap: 1rem;
		}
		
			.event > *:nth-child(3) {
				grid-column: 1 / span 3;
				padding-top: .5rem;
			}
			
			.event > *:nth-child(4) {
				grid-column: 1 / span 3;
				padding-top: .5rem;
			}
			
			.event > *:nth-child(5) {
				grid-column-start: 3;
				grid-row-start: 1;
			}
		
	}

	@media (min-width: 800px) {
		
		.event {
			grid-template-columns: 4rem 1fr 3fr 2fr 1fr;
			grid-column-gap: 1rem;
		}
		
	}

/* @end */

/* @group Footer */

.footer {
	display: flex;
	flex-wrap: wrap;
	column-gap: 3rem;
	row-gap: 1rem;
	padding-bottom: 1rem;
}

.home .footer {
	display: none;
}

	.footer__social-links {
		margin-right: auto;
	}
	
	@media (max-width: 799px) {
		
		.footer {
			padding-bottom: 3rem;
		}
		
	}

/* @end */

/* @group social-links */

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
}

	.social-links__item {
		
	}

	.social-links__item::before {
		content: "";
		display: inline-block;
		width: 1rem;
		height: 1rem;
		margin-right: .25rem;
		background-size: 1rem 1rem;
		vertical-align: text-bottom;
	}
	
	.social-links__item[href*="facebook"]::before {
		background-image: url('../images/facebook.svg');
	}

	.social-links__item[href*="instagram"]::before {
		background-image: url('../images/instagram.svg');
	}
	
	.social-links__item[href*="youtube"]::before {
		background-image: url('../images/youtube.svg');
	}

/* @end */

/* @group footer-menu */

.footer-menu {
	color: var(--primary);
}

	.footer-menu__item:not(:last-child) {
		display: inline-block;
		margin-right: .75em;
	}
	
	.footer-menu__item:hover,
	.footer-menu__item.active {
		color: var(--base);
	}

/* @end */

