#master-wrapper {
	max-width: 100vw;
	/* background-image: url("images/Colby_s-shortcut.gif") */
}

#navSecondary {
	display: none;
}

#main {
		grid-column: 1 / span 16;
	grid-row: 1 / span 5;
	display: grid;
	grid-template-columns: repeat(16, 1fr);
	grid-auto-rows: clamp(108px, 6.25vw, 135px); 

	
	width: 100vw;
	min-height: 100vh; 
	height: 100%;
	gap: 0px;
}
#main-grid-wrapper{

}
/* DECORATIVE BLOCKS - Start */ 
#resources-decorative-block-1 { /* Gradient square top-right */
	background-image: linear-gradient(45deg, rgba(238,170,255,1.0), rgba(83,108,83,1.0));
	grid-column: 2 / span 4;
	grid-row: 1 / span 4;
	z-index: 1;
	opacity: 0.5
}
#resources-decorative-block-2 { /* Teal vertical rect top-left */
	background-color: rgba(55,171,200,0.72);
	grid-column: 16 / span 1;
	grid-row: 1 / span 4;
	z-index: 1;
}	
#resources-decorative-block-3 { /* Banner rect top-center */
	background-image: linear-gradient(45deg, rgba(128,179,255,1.0), rgba(147,172,147,1.0));
	grid-column: 3 / span 12;
	grid-row: 2 / span 5;
	opacity: 0.5;
	z-index: 1;
}
#resources-decorative-block-4 { /* Red horizontal rect left */
	background-color: red;
	grid-column: 1 / span 5;
	grid-row: 5 / span 1;
	z-index: 2;
}
#resources-decorative-block-5 { /* Top of #main */
	grid-column: 5 / span 8;
	grid-row: 5 / span 2;
	opacity: 0.53;
	z-index: 1;
}
#resources-decorative-block-6 { /* Line above main */
	grid-column: 5 / span 8;
	grid-row: 4 / auto;
	opacity: 1;
	z-index: 1;
	border-bottom: white 1px solid;
}
/* DECORATIVE BLOCKS - End */


#resources-nav {
	grid-column: 2 / span 3;
	grid-row: 5;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-y: visible;
}


#resources-menu-ul,
#resources-nav-ul {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 70%;
}
.resources-menu-nav-ul-li,
.resources-nav-ul-li {
	width: 100%;
	text-align: center;
}
.resources-menu-ul-li a,
.resources-nav-ul-li a {
	display: block;
	list-style: none;
	padding: 6px;
	width: 100%;
	font-family: var(--font-heading);
	font-size: 2rem;
	text-transform: uppercase;	
}
.resources-nav-ul-li a:hover {
	border: 6px solid rgba(55,171,200,1.0);
	padding: 0px;
}
.resources-nav-ul-li a:active {
	border: 6px solid white;
	padding: 0px;
}
#resources-nav-ul-li-a-resources {
	text-decoration: underline;
}
#resources-nav-ul-li-a-resources:hover {
	text-decoration: underline;
		border: none;
		padding: 6px;
		opacity: .3;
		color: gray;
		background-color: rgba(255,238,170,1.0);
		text-decoration: none;
		cursor: not-allowed;
}

#ClaimThe-header-typography{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	grid-column: 2 / span 8;
	grid-row: 2 / span 3;
	font-family: var(--font-script);
	font-size: clamp(8rem, 12vw, 27rem);
	word-spacing: -0.25em;
	font-weight: 400;
	z-index: 4;
}
#WORD-header-typography {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	grid-column: 9 / span 6;
	grid-row: 2 / span 3;
	font-family: var(--font-heading);
	font-size: clamp(8rem, 14vw, 20rem);
	word-spacing: 0px;
	font-weight: 700;
	text-transform: uppercase;
	color: red;
	margin-top: -.25em;
	z-index: 3;
}
#Resources-header-typography {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	grid-column: 9 / span 6;
	grid-row: 4 / span 1;
	font-family: var(--font-heading);
	font-size: 2vw;
	word-spacing: 0px;
	letter-spacing: 1.3em;
	font-weight: 300;
	text-transform: uppercase;
	color: white;
	margin-right: -1.3em;
	z-index: 3;
}
#Last-updated-header-typography {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	grid-column: 9 / span 6;
	grid-row: 4 / auto;	
	z-index: 3;
	font-weight: 400;
	font-style: italic;
	display: flex;
	flex-direction: column;
	justify-content: end;
}


/* Resources main section */

#resources-main-section-wrapper {
	grid-column: 5 / span 8;
	grid-row: 5 / span 5;
	overflow-y: scroll;
	display: block;
	z-index: 3;
}
::-webkit-scrollbar-track {
	background-color: red;
}
#resources-main-section {
	background-image: linear-gradient(180deg, rgba(255,238,170,0.0), rgba(255,238,170,0.53), rgba(238,170,255,1.0));
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
	z-index: 3; 
	padding:.25em 2em 2em 2em;
	overflow: visible;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-left: white solid 1px;
}

#resources-main-section * {
	z-index: 4; 
}
#resources-main-section article {
	padding-bottom: 2em;
}
#back-tracks-heading,
#resources-secondary-section article h1,
#resources-main-section h1 {
	font-family: var(--font-script);
	font-size: clamp(3rem, 3.3vw, 5rem);
	font-weight: 400;
}
#back-tracks-heading {
}
#resources-secondary-section article h2,
#resources-main-section h2 {
	font-family: var(--font-heading);
	text-transform: uppercase;
	text-shadow: 1px 1px 1px black;
	color: white;
	letter-spacing: 1em;
	font-size: clamp(1rem, 1vw, 4rem);
	margin-top: -.81em;
}
#resources-secondary-section article h3,
#resources-main-section h3 {
	font-weight: 100;
	padding: .72em 0px;
	font-size: 14pt;
	color: rgba(255,255,255,0.33);
	text-shadow: 1px 1px 0px black;
}
#resources-secondary-section article p,
#resources-main-section p {
	padding: .81em 0;
	font-weight: 100;
	font-size: 18pt;
}
#resources-secondary-section {
	display: flex;
	flex-direction: row;
	padding: 2em 9vw;
}
#resources-secondary-section article {
	align-self: start;
	padding: 1.2em;
	flex:1;
}

#lyricsheets-table,
#backingtracks-table {
	padding-bottom: 0px;
}
#backingtracks-portrait-table ul,
#midi-table ul,
#lyricsheets-table ul,
#backingtracks-table ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 1.8em .234em .81em 1.2em;
	border-bottom: 1px dotted white;
	border-left: 1px solid white;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
	border-bottom-right-radius: 9px;
	border-bottom-left-radius: 9px;
}
#backingtracks-portrait-table ul li,
#midi-table ul li,
#lyricsheets-table ul li,
#backingtracks-table ul li{
	margin: 6px 0 1.3em 0.25em;
}
#backingtracks-portrait-table ul li a,
#midi-table ul li a,
#lyricsheets-table ul li a,
#backingtracks-table ul li a{
	margin: 0px 0px;
	white-space: nowrap;
	background-color: rgba(255,255,255,0.527);
	padding: .69em 1.2em; 
	border-radius: 50px;
	color: black;
	transition: background-color 0.1s;
}
#midi-table ul li a:hover,
#lyricsheets-table ul li a:hover,
#backingtracks-table ul li a:hover{
	background-color: rgba(255,255,255,0.9);
	transition: background-color 0.3s ease-in-out;
}
#midi-table ul,
#lyricsheets-table ul,
#backingtracks-table ul {
	border-bottom: 1px solid white;
	border-left: 1px solid rgba(255,255,255,0.3);
	border-top:none; 
	background-image: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(99,72,125,0.02));
	box-shadow: inset 0 0 9px 5px rgba(0, 0, 0, 0.06);
}
#backingtracks-table ul li.coming-soon {
	background-color: rgba(255,255,255,0.0);
}
#backing-portrait,
#lyrics-portrait,
#midi-portrait {
	display: none;
}

#resources-menu {
	grid-column: 13 / span 4;
	grid-row: 1 / span 9;

	display: flex;
}
#resources-menu figure{
	height: 100%;
}
#resources-menu figure img {
	flex-direction: column;
	align-items: center;
	height: 100%;
	z-index: 1;
}

#resources-menu figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (portrait and square)
   Square SVG reference: equal-column layouts collapse or reflow
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1000px){
	#main {
		min-height: 0px;
	}
	body {
	background-image: url("images/Colby_s-shortcut.gif");
  background-attachment: cover;
  
  /* Center the image horizontally and vertically */
  background-position: center center;
  
  /* Prevent the GIF from repeating/tiling */
  background-repeat: no-repeat;
  
  /* Force the background to stay fixed in the viewport while scrolling */
  background-attachment: fixed;
  
  /* Ensure the body expands to fill 100% of the viewport height */
  min-height: 100vh;
  
  /* Reset default margin gaps */
  margin: 0;
}
	#navSecondary {
		display: flex;
		z-index: 100;
	}
	#resources-main-section {
		display: none;
	}
	#resources-nav {
		display: none;
	}
	#resources-menu {
		display: none;
	}
	#resources-decorative-block-1 { /* Gradient square top-right */
		background-image: linear-gradient(45deg, rgba(238,170,255,1.0), rgba(83,108,83,1.0));
		grid-column: 2 / span 4;
		grid-row: 1 / span s;
		z-index: 2;
		opacity: 0.5
	}
	#resources-decorative-block-2 { /* Teal vertical rect top-left */
		background-color: rgba(55,171,200,1.0);
		grid-column: 15 / span 2;
		grid-row: 1 / span 2;
		z-index: 1;
	}	
	#resources-decorative-block-3 { /* Banner rect top-center */
		background-image: linear-gradient(45deg, rgba(128,179,255,1.0), rgba(147,172,147,1.0));
		grid-column: 3 / span 12;
		grid-row: 1 / span 2;
		opacity: 0.5;
		z-index: 1;
	}
	#resources-decorative-block-4 { /* Red horizontal rect left */
		background-color: red;
		grid-column: 1 / span 5;
		grid-row: 2 / span 1;
		z-index: 1;
	}
	#resources-decorative-block-5 { /* Top of #main */
		display: none;
	}
	#resources-decorative-block-6 { /* Line above main */
		display: none;
	}
	#ClaimThe-header-typography{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		grid-column: 2 / span 8;
		grid-row: 1 / span 2;
		font-family: var(--font-script);
		font-size: clamp(72pt, 20vw, 111pt);
		word-spacing: -0.25em;
		font-weight: 400;
		z-index: 4;
		line-height: .75em;
	}
	#WORD-header-typography {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		grid-column: 9 / span 6;
		grid-row: 1 / span 2;
		font-family: var(--font-heading);
		font-size: clamp(2rem, 27svw, 8rem);
		word-spacing: 0px;
		font-weight: 700;
		text-transform: uppercase;
		color: red;
		margin-top: -.25em;
		z-index: 3;
	}
	#Resources-header-typography {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		grid-column: 9 / span 6;
		grid-row: 2 / span 1;
		font-family: var(--font-heading);
		font-size: 3vw;
		word-spacing: 0px;
		letter-spacing: 1.3em;
		font-weight: 300;
		text-transform: uppercase;
		color: white;
		margin-right: -1.3em;
		z-index: 3;
	}
	#Last-updated-header-typography {
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: center;
		grid-column: 9 / span 6;
		grid-row: 2 / span 1;	
		z-index: 3;
		font-weight: 400;
		font-style: italic;
		font-size: clamp(7pt, 3.3vw, 9pt);
		display: flex;
		flex-direction: column;
		justify-content: end;
	}
	#resources-main-section-wrapper {
		display: none;
	}
	#resources-secondary-section {
		display: flex;
		flex-direction: column;
		padding: 2em 9vw;
	}
#backing-portrait,
#lyrics-portrait,
#midi-portrait {
	display: flex;
	flex-direction: column;
}
	#backingtracks-portrait-table ul li a{
		font-size: clamp(9pt, 3.3vw, 10.75pt)
	}
}