@import url("./fonts.css");
@import url("./icons.css");


:root {
	--jv-background: black; //#041517;
	--jv-text: white;
	--jv-accent: #ffb49d;
}


html, body {
	margin: 0;
	padding: 0;
}

html {
	color: var(--jv-text);
	background: var(--jv-background);
}

html * {
	box-sizing: border-box;
}

/* ! Typography */

html {
	font-family: "Space Grotesk", ui-sans-serif, sans-serif;
	font-size: 20px;
}

h1 {
	font-size: 3rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1;
	white-space: nowrap;
	margin: 0;
}

h1 span {
	display: inline-block;
	width: 0.5em;
}

h2 {
	font-size: 3rem;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 3rem;
}

h3 {
	
}

h4 {
	font-weight: 400;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.3em;
}

@media (width < 1024px)
{
	h1 {
		white-space: normal;
	}
} 

/* ! Layout */

section {
	position: relative;
	z-index: 0;
	min-height: 80vh;
}

section.flex-center {
	display: flex;
	align-items: center;
}

section#title {
	height: 100vh;
	background: url(../assets/images/liquidnoise1.png) no-repeat center center;
	background-size: cover;
}

section#title div {
	mix-blend-mode: difference;
	z-index: 2;
}

section#title canvas {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
}

section > div {
	width: 60%;
	max-width: 960px;
	margin: 0 0 0 10%;
	padding: 4rem 0;
	//background: fuchsia;
}

.columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

@media (width < 1024px)
{
	section > div {
		width: 90%;
		margin: 0 0 0 5%;
	}
} 

@media (width < 720px)
{
	.columns {
		display: block;
	}
} 


/* ! Navigation & Links */

a {
	text-decoration: none;
	color: var(--jv-accent);
}

a:hover {
	text-decoration: underline;
}

#menubutton {
	display: none;
	position: fixed;
	right: 1.5rem;
	top: 1.5rem;
	font-size: 1.8rem;
	mix-blend-mode: difference;
	z-index: 970;
	cursor: pointer;
}

nav#topnav {
	position: fixed;
	top: 0;
	right: 0;
	padding: 2rem 10% 0 0;
	mix-blend-mode: difference;
	z-index: 980;
	transition: all 0.25s ease;
}

nav#topnav .closebutton {
	display: none;
	position: absolute;
	right: 1.5rem;
	top: 1.5rem;
	font-size: 1.8rem;
	cursor: pointer;
}

nav#topnav ul {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

nav#topnav ul li {
	margin: 0 0 0.2em;
	padding: 0;
}

nav#topnav ul li a {
	display: inline-block;
	position: relative;
	font-size: 2.0rem;
	font-weight: 700;
	color: inherit;
	text-transform: none;
	text-decoration: none;
}

nav#topnav ul li a:after {
	content: "";
	display: block;
	position: relative;
	bottom: 0.2rem;
	width: 0;
	height: 0;
	border-bottom: 0.3rem solid white;
	border-bottom-color: inherit;
	transition: width 0.2s ease;
}

nav#topnav ul li a:hover:after {
	width: 100%;
}

nav#topnav .social {
	display: flex;
	gap: 1.5rem;
	margin-top: 4rem;
	font-size: 1.2rem;
}

nav#topnav .social a {
	display: inline-block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

nav#topnav .social a:after {
	content: "";
	display: block;
	position: relative;
	bottom: 0.1em;
	width: 0;
	height: 0;
	border-bottom: 0.3rem solid white;
	border-bottom-color: inherit;
	transition: width 0.2s ease;
}

nav#topnav .social a:hover:after {
	width: 100%;
}


nav#metanav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 1em;
}

nav#metanav ul li {
	display: inline-block;
	margin: 0 0 0.2em;
	padding: 0;
}

nav#metanav ul li a {
	display: inline-block;
	position: relative;
	color: var(--jv-text);
	text-transform: none;
	text-decoration: none;
}

nav#metanav ul li a:after {
	content: "";
	display: block;
	position: relative;
	bottom: 0;
	width: 0;
	height: 0.1em;
	background: var(--jv-text);
	transition: width 0.2s ease;
}

nav#metanav ul li a:hover:after {
	width: 100%;
}


@media (width < 1024px)
{
	#menubutton {
		display: block;
	}
	
	nav#topnav {
		width: 75%;
		max-width: 20rem;
		height: 100%;
		padding-left: 2.5rem;
		background: white;
		color: black;
		mix-blend-mode: normal;
		transform: translateX(calc(100% + 5px));
	}
	
	nav#topnav .closebutton {
		display: block;
	}
	
	body.show-menu {
		overflow: hidden;
	}
	
	body.show-menu #menubutton {
		display: none;
	}
	
	body.show-menu #topnav {
		transform: translateX(0);
	}
}


/* ! Content */

#title > div,
#content > div {
	padding-top: 3rem;
}

#content {
	min-height: calc(100vh - 5rem);
}

/* ! Content - Listen */

#listen .tracks-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, 1fr);
	gap: 4rem;
}

#listen .tracks-grid .track {
	width: 100%;
	cursor: pointer;
	//background: fuchsia;
}

#listen .tracks-grid .track	.cover {
	width: 100%;
	min-height: 1px;
	margin: 0 0 1rem;
	padding: 0;
	overflow: hidden;
	//background: green;
	background-size: cover;
	background-position: center center;
}

#listen .tracks-grid .track	.cover:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

@media (width < 720px)
{
	#listen .tracks-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

/* ! Content - News */


#news {
	min-height: 100vh;
}

#news .newsitem {
	margin-bottom: 4rem;
}

#news .newsitem figure {
	display: block;
	position: relative;
	width: 75%;
	min-height: 1px;
	margin: 0 0 1rem;
	background: black;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

#news .newsitem figure:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

#news .newsitem .content {
	width: 75%;
	font-size: 1.2rem;
	text-transform: uppercase;
}

#news .newsitem .content:before,
#news .newsitem .content:after {
	content: "+++++";
}

#news .newsitem .content span {
	font-weight: 700;
}

#news [data-spotifyurl],
#news [data-amazonurl],
#news [data-appleurl],
#news [data-deezerurl] {
	cursor: pointer;
}

@media (width < 720px)
{
	#news .newsitem figure,
	#news .newsitem .content {
		width: 100%;
	}
}

/* ! Content - About, Contact */

#about {
	min-height: 100vh;
	margin-top: 4rem;
	background: url(../assets/images/jv_test.jpg) no-repeat center center;
	background-size: cover;
}

#contact {
	min-height: 100vh;
}

#contact a {
	display: block;
	margin-bottom: 2em;
	font-size: 1.2rem;
}

/* ! Footer */

footer {
	padding: 1rem 0 2rem 10%;
	font-size: 0.75rem;
	display: flex;
	gap: 2em;
}

footer > div {
	margin-bottom: 1rem;
}

@media (width < 720px)
{
	footer {
		display: block;
		padding-left: 5%;
	}
}

/* ! Video player, Links popup */

div.overlay {
	position: fixed;
	display: none;
	align-items: center;
	justify-content: center;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	z-index: 990;
}

div.overlay .closebutton {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	font-size: 1.8rem;
	cursor: pointer;
}

/*
#youtube .frame {
	display: flex;
	align-items: center;
	width: 500px;
	height: 500px;
	overflow: hidden;
	border-radius: 250px;
}
*/

#youtube iframe {
	width: 800px;
	max-width: 90%;
	height: 580px;
	max-height: 50vh;
	margin-inline: auto;
}

#streamlinks div {
	//background: black;
}
#streamlinks div a {
	display: block;
	width: 22em;
	max-width: 80vw;
	margin: 1em 0;
	padding: 0.75em 1em;
	border-radius: 1em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	color: black;
	background: var(--jv-accent);
	transition: all 0.15s ease;
}
			
#streamlinks div a:hover {
	transform: scale(1.06);
}


body.show-player,
body.show-popup {
	overflow: hidden;
}

body.show-player #youtube {
	display: flex;
}

body.show-popup #streamlinks {
	display: flex;
} 