@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300&display=swap');

html, body {
	width: 100%;
	font-family: 'Merriweather', serif;
	font-size: 18px;
	line-height: 1em;
	letter-spacing: .1em;
	color: #fff;
}
@font-face {
  font-family: "Palatino";
  src: url("../fonts/Palatino.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "palatin";
  src: url("../fonts/palatin.woff") format("woff");
  font-weight: normal;
}
.woff

body {
	background-color: linear-gradient( 126.3deg,  rgb(175 173 177) 32.2%, rgb(55 43 52 / 46%) 109.2% );
	overflow-y: scroll;	
}
#preloader {
	width: 100%;
    height: calc(100% - 3em);
    background-color: #000;
    z-index: 100;
    position: fixed;
    top: 3em;
    text-align: center;
    color: #fff;
    user-select: none;
}
#preloader div {
	position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}
#preloader div#startButton {
	opacity: 0;
	top: 0px;
    cursor: pointer;
    height: calc(100vh - 54px);
    transform: none;
}
#preloader div#startButton span{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
main, nav {
	opacity: 0;
	display: none;
}
header {
	width: 100%;
	text-align: center;
	position: fixed;
	height: 2em;
    padding-top: 1em;
    background-color: lightgray;
    z-index: 2;
}
header,#menu {
	transition: background 1s;
	background: #959498;
}
.page2 header, .page2 #menu {
	background: linear-gradient(90deg, rgba(136,131,124,1) 0%, rgba(223,219,208,1) 44%, rgba(223,219,208,1) 54%, rgba(136,131,124,1) 100%);
}
.page3 header, .page3 #menu {
	background: #a5e0f7
}

header h1 {
	position: absolute;
	left: 1em;
    z-index: 10;
    cursor: pointer;
}
header h1 {
	background-image: url("../media/Julien Chang_logo-01.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -200em;
    overflow: hidden;
    width: 16em;
    height: 3.5em;
    line-height: 1.4em;
    padding: 0;
    margin: 0;
    top: -0.4em;
}
header h1 img{
    left: 0;
    position: absolute;
    width: 290px;
    filter: brightness(0.3);
}
a {
	text-decoration: none;
	cursor: pointer;
	color: #fff;
	transition: color 1s;
}
a:hover {
	color: #0150ff;
}
header nav {
	position: absolute; 
	right: 1em;	
	top: 1.5em;
	font-size: 0.7em
}
header nav a {
	padding: 0;
	cursor: pointer;
}
header nav a:hover {
	color: #0150ff;
}
main {
	width: 100%;
    margin: 0px auto 0 auto;
    z-index: 1;
}

h1.hidden {
	text-indent: -2000em;
}

.section {
	padding: 0;
}
.bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center; 
	opacity: 0.2;
}
.embed{
	position: relative;
    width: 90%;
    left: 5%;
    height: calc(90% - 3em - 47px);
    top: calc(3em + 5%);
    text-align: center;
}
.youtube {
	width: auto;
    max-height: 80vh;
    height: auto;
    display: none;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
}
.youtube {
	display: block;
	/*border:solid 5px transparent;
	border-color: transparent;*/
	transition: box-shadow 1s;
	box-shadow: 5px 5px 15px rgba(0,0,0,0.3)
}
.embed a:hover .youtube {
	box-shadow: 0px 0px 15px rgba(255,255,255,0.3);
	transition: box-shadow .4s;
}
#menu {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 47px;
	padding: 0;
	margin: 0px 0 0 0;
	z-index: 2;
}
#menuInner {
	width: 498px;
	margin: 0 auto;
}
#menu a {
	height: auto;			
	padding: 0;
	cursor: pointer;
	width: 12%;
	height: auto;
	text-align: center;
	display: inline-block;
	/*background-color: lightgray;*/
	/*border-bottom: solid 2px #000;*/
}
#menu a.on {
	background-color: yellow
}
#menu img {
	margin: 10px 0 15px;
	height: 100%;
	max-height: 22px;
	vertical-align: middle;
	filter: saturate(0) brightness(5);
}



#bio {
	overflow-y: scroll;
}
#bio img {
    float: left;
    max-width: 40%;
    margin: 0 1em 1em 0;
}
#bio p{
	text-align: justify;
    margin: 0 2em 1em 1em;
    font-size: 0.6em;
    line-height: normal;
}





.splash {
	width: 100%;
    height: 100%;
	background-image: linear-gradient( 126.3deg,  rgb(175 173 177) 32.2%, rgb(55 43 52 / 100%) 99.2% );
	position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	z-index: 100;
	padding: 0;
	margin: 0;
	font-family: "palatin";
	display: none;
}
#splash {
	display: block;
}
.popup {
	width: auto;
    height: auto;
    text-align: center;
    color: #000;
    background-color:#cdcdcd;
    line-height: 1em;
    font-size: 1.5em;
    opacity: 0;
    padding-bottom: 0em;
}
.popup hr{
	margin: 0.2em 0 0.3em;
}
.popup #splash-title {
	max-width: 30vw;
	max-height: 40vh;
	width: auto;
	height: auto;
}

.popup #product-shot {
	max-width: 40vw;
	max-height: 40vh;
	width: auto;
	height: auto;
}
.popup #preorder {
	display: block;
	color: #000;
	transition: .25s;
}
.popup a#preorder:hover {
	
}
.popup a#preorder:hover span{
	color: #fff;
	transition: .25s;
}
.popup a#preorder:hover span {
	text-decoration: underline;
}
.popup #enter {
	font-size: 30px;
    line-height: 30px;
    color: #fff;
    width: 100%;
    display: inline-block;
    height: 30px;
    padding-bottom: 0.3em;
}
.popup a#enter:hover {
	color: #000;
}



#tourDates {
	    width: 50%;
    height: 400px;
    margin: 0 auto;
    display: block;
    position: fixed;
    top: 50%;
    left: 10%;
    transform: translate(0px, -50%);
        padding: 1em;
        background-image: linear-gradient( 126.3deg,  rgb(175 173 177) 32.2%, rgb(55 43 52 / 46%) 109.2% );
}
#tourDatesInner {
	overflow-y: scroll;
    width: 100%;
    height: calc(100% - 0.5em);
}
#closeTourDates {
	display: none;
}
/*////////////// SMALL SCREENS //////////////*/

@media screen and (max-width: 1000px) {
	body {
		font-size: 28px;
	}
	#preloader {
		top: 4em;
	}
	.youtube {
		width: 100%;
	}
	.menu {
		margin: 0 auto;
		width: 90%; 
	}
	.menuInner {
		left: auto;
	    position: relative;
	    margin: 0 auto;
    	width: 288px; 
	}
	header {
		padding: 0;
		height: 7.5rem;
	}
	header h1 {
		width: 100%;
    	height: calc(100% - 2.2em);
    	top: 0.6em;
	    left: auto;
	    right: auto;
	    text-align: center;
	    position: relative;
	    background-size: 100%;
	    background-position: center;
	}
	header nav {
	    position: absolute;
	    right: auto;
	    top: auto;
    	font-size: 1.2rem;
    	bottom: .5em;
	    width: 100%;
	}
	header nav a {
	    user-select: none;
	}
	.embed {
		height: calc(90% - 5.5em - 47px);
    	top: calc(5.5em + 3%);
	}
	.closeBtn, .nextBtn {
		width: 90%;
	}

	.popup img {
		max-width: 96vw;
		max-height: 40vh;
	}
	.popup #preorder {
		font-size: 0.7em;
		line-height: 1.8em;
	}
}

@media (max-width: 1000px) {
	#menuInner {
		width: 100%;
		height: 80px;
	}
	#menu {
		height: 80px;
	}
	#menu a {
		width: 23%;
		height: 35px;
	}
	#menu img {
		max-height: 21px;
	}
	#menu-insta {
	    margin-left: 36px;
	}

	#tourDates {
		width: calc(100% - 1.4em);
    	left: 0.2em;
    	padding: 0.5em 0 .5em;
	}
	#closeTourDates {
		display: block;
	    border: none;
	    width: 100%;
	    height: 1.9em;
	    text-align: right;
	}
	#popup {
		width: calc(100% - 1.4em);
	}
	.popup #product-shot {
		max-width: 100%;
	}
}


/*////////////// TRANSITIONS //////////////*/
#menu a img{
	/*transition:filter 2s;*/
} 
#menu a:hover img{
	filter: hue-rotate(0deg);
	/*transition: filter 1s;*/
}

