/* Colors */
:root {
	--purple: #5d3b8e;
	--dark-purple: #1b0041;
	--beige: #eee3b4;
	--brown: #c8a666;
	--white: #fff;
	--black: #000;
	--brown: #8b4c20;
	--cream: #fbf3b2;
	--midnight: #131443;
	--yellow: #cec973;
	--off-white: #e1e1e1;
}

:root {
	--med: (min-width: 768px);
}

html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden; /* 🛑 prevent full-page horizontal scroll */
	font-family: sans-serif;
	scroll-behavior: smooth;
}

/* Fonts */
@font-face {
    font-family: 'league_gothicregular';
    src: url('../fonts/leaguegothic-regular-webfont.woff2') format('woff2'),
         url('../fonts/leaguegothic-regular-webfont.woff') format('woff');
    font-display: swap; /* or try 'block' or 'fallback' */
    font-weight: normal;
    font-style: normal;
}

body {
	--cooper: league_gothicregular, Arial;
}

/* Font sizes */
@media (max-width: 768px) { 
	html { font-size: 1rem; }
	}
@media (max-width: 1024px) { 
	html { font-size: 1.5rem; }
	}
@media (min-width: 1025px) { 
	html { font-size: 2rem; }
	}
@media (min-width: 1500px) { 
	html { font-size: 3rem; }
	}

/* Links */
a,
a:focus {
  color: #fff;
}
a:hover {
  color: var(--beige);
  /*transition-duration: 1s;
  text-decoration: none;*/
}

.ticket { 
  background: var(--purple);
  color: var(--beige);
  display: inline-block;
  border-radius: 25px;
  padding: 6px 20px;
  transform: scale(120%);
  text-decoration: none;
  width: fit-content;
  margin: 10vw auto 5vw auto;
  @media (min-width: 768px) {
	  margin: 50px auto 80px auto;
  }
}

.ticket:hover {
  text-decoration: none !important;
  background: var(--purple);
  color: var(--white);
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

body {
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url(../img/bg25.jpg) repeat center center var(--beige);
	background-size: contain;
	background-attachment: fixed;
	margin: 0 !important;
	font-family: sans-serif;
	min-height: 100vh;
	min-height: 100dvh;
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Mobile Nav */
.navbar {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 1rem;
	background: transparent;
	position: relative;
	z-index: 11;
	font-family: var(--cooper);
	@media (min-width: 768px) {
		justify-content: center;
	}
}

.brand {
	font-size: 1.2rem;
	font-weight: bold;
}

.top-links {
	font-size: .75rem;
	display: flex;
	align-items: center;
	gap: .75rem;
}

.top-links a {
	background: url(../img/purple-halftone.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
	text-decoration: none;
	font-weight: 500;
}

/* Hide "extra" links on mobile only */
.top-links a.extra {
	display: inline-block;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
	width: 30px;
	height: 22px;
	justify-content: center;
	position: absolute;
	top: .5rem;
	right: 1rem;
}

.hamburger span {
	width: 100%;
	height: 3px;
	background: url(../img/purple-halftone.jpg) repeat;
		background-clip: content-box;
		-webkit-background-clip: content-box;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
	border-radius: 2px;
	transition: 0.4s;
	position: absolute;
	left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Animate to X */
.hamburger.open span:nth-child(1) {
	transform: rotate(45deg);
	top: 9px;
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
	transform: rotate(-45deg);
	top: 9px;
}

/* Overlay menu */
.overlay {
	position: fixed;
	inset: 0;
	background: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s ease-in-out;
	z-index: 10;
}

.overlay a {
	background: url(../img/purple-halftone.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
	font-family: var(--cooper);
	font-size: 1.5rem;
	text-decoration: none;
	font-weight: 600;
}

a.donate {
	background: url(../img/purple-halftone.jpg) repeat;
	color: var(--beige);
	text-fill-color: var(--beige);
	-webkit-text-fill-color: var(--beige);
	font-size: inherit;
	
	padding: 6px 20px;
	border-radius: 25px; 
	display: inline-block;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Responsive rules */
@media (max-width: 768px) {
	/* Hide extra links inline */
	.top-links a.extra {
		display: none;
	}

	/* Show hamburger */
	.hamburger {
		display: flex;
	}
}


#banner {
	padding: 0;
	width: 100%;
	overflow: hidden;
	contain: layout; /* isolate layout of banner */
}

.scroll-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.scroll-wrapper::-webkit-scrollbar {
	display: none;
}

.scroll-wrapper ul {
	display: flex;
	flex-wrap: nowrap;
	list-style: none;
	padding: 0;
	margin: 0;
	min-width: 100%;
	width: max-content; /* allow horizontal scroll without affecting page width */
	justify-content: center;
	text-align: center;
	font-size: 60%;
}

.scroll-wrapper li {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 10px 20px;
	margin-right: 0;
	width: 45vw;
	&:nth-child(1) {
		background: transparent;
	}
	&:nth-child(2) {
		background: black;
		color: #fff;
	}
	&:nth-child(3) {
		background: blue;
		color: #fff;
	}
}

#arc {
	z-index: -1;
	width: 50vw;
	height: 50vw;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/arc.png) no-repeat top left;
	background-size: 100%;
	transform: rotate(180deg);
	
	@media (min-width: 1025px) {
		width: 33vw;
		height: 33vw;
	}
}

main {
	width: 100vw;
	height: auto;
	padding: 4vw 4vw 0 4vw;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--cooper);
	font-weight: bold;
	text-transform: uppercase;
	color: var(--purple);
	@media (min-width: 614px) {
		padding: 4vw 10vw 0 10vw;
	}
	@media (min-width: 1025px) {  
		background-size: 33vw, 25vw;
	}
}

header {
	width: 100%;
	img {
		width: 90%;
		height: auto;
		margin: 0 auto;
		@media (min-width:500px) {
			width: 75%;
		}
		@media (min-width:768px) {
			width: 60%;
		}
	}
	h2 {
		font-size: 60%;
		text-align: center;
		margin: 1vw 0;
		background: url(../img/purple-halftone.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		@media (min-width: 768px) {
			font-size: 75%;
		}
	}
}

main img {
	width: 100%;
	height: auto;
	margin-bottom: 5vw;
}

#full-lineup {
	/*background-image: url(../img/arc.png), url(../img/power-lines.png);
	background-repeat: no-repeat, no-repeat;
	background-position: bottom right, bottom left;
	background-size: 50vw, 33vw;*/
	width: 100%;
	height: 100%;
	min-height: 100vh;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 0 6vw 0;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	#full-lineup {
		padding: 0 10%;
		background-size: 33vw, 20vw;
	}
}
	
#full-lineup ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 60%;
	margin-bottom: 5vw;
}
@media (min-width: 768px) {
	#full-lineup ul {
		margin: 2.5vw 0;
		font-size: 80%;
	}	
}

@media (min-width: 768px) {
	#full-lineup img {
		width: 60%;
		height: auto;
		margin: 0 auto;
	}
}

#full-lineup li:after {
	content: '•';
	font-weight: 700;
	padding: 0 8px;
}
#full-lineup li a {
	background: url(../img/purple-halftone.jpg) repeat;
	background-clip: text;
	-webkit-background-clip: text;
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}
#full-lineup li a:hover {
	text-decoration: underline;
}
#full-lineup li:last-child:after, #full-lineup li.no-separator::after {
	content: '';
}
#full-lineup p {
	font-size: 50%;
	margin-bottom: 2.5vw;
}
#full-lineup .ticket {
	background: url(../img/purple-halftone.jpg) repeat;
	color: var(--beige);
	text-fill-color: var(--beige);
	-webkit-text-fill-color: var(--beige);
	font-size: 80%;
	margin: 5vw auto;
}
@media (min-width: 768px) {
	#full-lineup .ticket {
		margin: 2.5vw auto;
	}
}

#full-lineup .ticket a {
	color: var(--beige);
}

#full-lineup svg {
	fill: var(--purple);
	width: 24px;
	height: auto;
}
@media (min-width: 768px) {
	#full-lineup svg {
		width: 3vw;
	}
}

#schedule {
	h3 {
		width: 100%;
		box-sizing: border-box;
		padding: 10px;
		display: inline-block;
		background: url(../img/mimeo-bg.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		color: var(--purple);
		font-size: 95%;
		transform: rotate(358deg);
		text-align: center;
		@media (min-width: 674px) {
			font-size: 150%;
		}
		@media (min-width: 768px) {
			font-size: 180%;
		}
	}
}

.schedule-row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.venue-block {
  flex: 1 1 100%;
  min-width: 280px; /* ensures good layout on small screens */
  box-sizing: border-box;
}

@media (min-width: 500px) {
  .venue-block {
    flex: 1 1 calc(50% - 1rem);
    min-width: intrinsic;
    max-width: 80%;
  }
}
/*@media (min-width: 635px) {
	.venue-block {
		max-width: 50%;
	}
}*/
@media (min-width: 1024px) {
  .venue-block {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(50% - 1rem);
  }
  .venue-block:nth-child(1), .venue-block:nth-child(2) {
	  flex: 1 1 calc(50% - 1rem);
  }
}
@media (min-width: 1200px) {

}

.venue-block {
	position: relative;
  flex: 1;
  background: transparent;
  box-sizing: border-box;
  padding: 0;
  border: 2px solid transparent;
  border-image: url(../img/mimeo-bg.jpg) 10 repeat;
  outline: 2px solid var(--midnight);
  outline-offset: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 280px; /* helps layout breathe on small screens */
  &:nth-child(1) { transform: rotate(359deg); }
  &:nth-child(2) { transform: rotate(358.5deg); }
  &:nth-child(3) { transform: rotate(358deg); }
  &:nth-child(4) { transform: rotate(359deg); }
  &:nth-child(5) { transform: rotate(1deg); }
  @media(min-width: 500px) {
	  &:nth-of-type(odd) {
		  margin: 0 0 -16px -17px;
	  }
  }
  ul {
	  list-style-type: none;
	  margin: 0;
	  padding-left: 0;
	  background: url(../img/venue-bg.jpg) repeat;
  }
  li {
	  	background: url(../img/mimeo-bg.jpg) repeat;
	  	background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		text-align: left;
		padding: 5px;
		line-height: 1;
		a {
			text-decoration: none;
		}
		a:hover {
			text-decoration: underline;
			text-decoration-size: 1.5px;
			text-decoration-color: var(--midnight);
		}
  }
  li:first-child {
	  background: url(../img/mimeo-bg.jpg) repeat;
	  position: relative;
	  h4, .detail, .time {
		  background: url(../img/bg25.jpg) repeat;
		  background-clip: text;
		  -webkit-background-clip: text;
		  text-fill-color: transparent;
		  -webkit-text-fill-color: transparent;
	  }
	  h4 {
		  margin: 0;
		  font-size: 70%;
	  }
	  .detail {
		  font-size: 70%;
	  }
	  .time {
		  font-size: 60%;
		  position: absolute;
		  right: 5px;
		  bottom: 5px;
	  }
	  color: var(--cream) !important;
	  a {
		  color: var(--cream);
		  text-decoration: none;
		  :hover {
			  text-decoration: underline;
		  }
	  }
  }
  li.tix { 
	  background: url(../img/mimeo-bg.jpg) repeat;
	  color: var(--beige);
	  text-fill-color: var(--beige);
		-webkit-text-fill-color: var(--beige);
	  display: inherit;
	  border-radius: 25px;
	  padding: 6px 20px;
	  transform: scale(80%);
	  text-decoration: none;
	  width: fit-content;
	  margin: 10px auto;
	  @media (min-width: 768px) {
		  margin: 15px auto;
	  }
	  a:hover {
		  transform: scale(105%)
	}
  }
}

footer {
	position: relative;
	width: 100%;
	height: auto;
	svg {
		width: 24px;
		height: auto;
		margin: 20px auto 50px auto;
		@media (min-width: 768px) {
			& {
				width: 50px;
			}
		}
	}
	#contact {
		position: absolute;
		bottom: 15vw;
		width: 100%;
		background: var(--beige);
		display: flex;
		flex-direction: row;
	}
}

#sponsors {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 20px 0 40px 0;
	text-align: center;
	@media (min-width: 709px) {
		flex-direction: row;
		flex-wrap: wrap;
	}
	/*a {
		width: 10%;
		margin: 0 20px;
		@media (min-width: 768px) {
			width: 100px;
		}
		img {
			width: 100%;
			height: auto;
		}
	}*/
}

/* Make the entire logo area clickable */
.logo-link {
	display: inline-block;
	text-decoration: none;
	outline: none;
	cursor: pointer !important;
}
.logo-link:focus-visible {
	outline: 2px solid #005fcc;
	outline-offset: 4px;
}

.knockout {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0 30px;
  max-width: 100%;
}

/* Default: Fallback first (no masking) — show the PNG normally */
.knockout img {
  height: 50px;   /* fixed height */
  width: auto;     /* width adjusts to each logo’s aspect ratio */
  max-width: 100%;
  display: block;
}
.knockout .mask {
  display: none;   /* hidden in fallback mode */
}

/* Responsive heights */
@media (min-width: 709px) {
  .knockout img { height: 50px; }
}

@media (min-width: 900px) {
  .knockout img { height: 50px; }
}

/* If masking is supported, switch to the knockout effect */
@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .knockout {
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  /* Keep the <img> for sizing but hide it visually (still occupies layout) */
  .knockout img {
    visibility: hidden;
  }

  /* Gradient fill visible only where the mask is opaque */
  .knockout .mask {
    display: block;
    position: absolute;
    inset: 0;
    background: url(../img/purple-halftone.jpg) repeat;
    pointer-events: none; /* ensure clicks hit the anchor */
  }

  /* Optional hover pop */
  .logo-link:hover .mask {
    filter: brightness(1.15);
  }
}

#richman {
	background: url(../img/richman-bg.jpg) repeat #000;
	background-size: contain;
	height: 100%;
	min-height: 100vh;
	width: 100%;
	/*margin-top: -10vw;*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2vw 10vw 10vw 10vw;
	box-sizing: border-box;
	font-family: var(--cooper) !important;
	img {
		max-width: 90vw;
		height: auto;
		margin-bottom: 30px;
		border: 2px solid #fff;
		border-radius: 13%;
		@media (min-width: 768px) {
			max-height: 80vh;
			width: auto;
		}
	}
	h2, h3, h6 {
		text-align: center;
		color: var(--white);
		font-size: .75rem;
		
		font-weight: 100;
	}
	h2 {font-size: .9rem}
	h6 {font-size: .25rem}
	.ticket {
		background: var(--brown);
		color: var(--cream);
		@media (min-width: 768px) {
			transform: scale(75%);
			margin: 30px auto;
		}
	}
}

h3 {
	color: var(--off-white);
	size: 3rem !important;
	font-family: var(--cooper);
}
h4 {
	color: var(--yellow);
	size: 1rem;
}

#richman ul {
	list-style-type: none;
	margin: 0;
	padding-left: 0;
	color: var(--yellow);
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	@media (min-width: 768px) {
		flex-direction: row;
		width: 80vw;
	}
	img {
		width: 250px;
		border: 0px;
		border-radius: none;
	}
	li {
		display: flex;
		flex-direction: column;
		@media (min-width: 768px) {
			width: 45%;
	}
	p {
	 	font-size: 1rem;
	}
}

