/* FONTS */

@font-face {font-family: "OCR A Extended";
  src: url("../fonts/ocraextended.eot"); /* IE9*/
  src: url("../fonts/ocraextended.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/ocraextended.woff2") format("woff2"), /* chrome、firefox */
  url("../fonts/ocraextended.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("../fonts/ocraextended.svg#OCR A Extended") format("svg"); /* iOS 4.1- */
}
.ocr {
    font-family: "OCR A Extended" !important;
    font-size: 1em;
	font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

/* material-icons-regular - latin */
@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-icons-v140-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/material-icons-v140-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
}

.ico {
    font-family: "Material Icons" !important;
    font-size: 2em; font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

/* RESET */
* {
	margin:0;
	padding:0;
	list-style:none;
}

/* STYLES */
html {
	overflow-y: scroll;
}
body { 
	background-color: #000;
	font-family: sans-serif;
	color: #fff;
}

#page {
	padding: 50px;
	color: #8b9ca3;
	max-width: 700px;
    margin: 0 auto;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	color: #fff;
}
p {
	font-weight: normal;
	font-size: 0.9em;
	margin-bottom: 1em;
	line-height: 1.5;
}
a {
	display: inline;
	text-decoration: none;
	color: #0ae;
	transition: color 0.3s;
}
a:not([href]) { 
    color: #fff;
}
a > svg {
	height: 2em;
	width: 2em;
}
a:hover {
	color: #fff;
}

.ico-color {
	fill: #0ae;
	transition: all 0.3s;
}
a:hover .ico-color {
	fill: #fff;
}

h1 {
	font-size: 2em;
}
h3 {
	font-size: 1.5em;
	margin-bottom: 1.5em;
}

h1 + h3 {
	margin-top: 0.7em;
}

h5 {    
	font-size: 1.2rem;
    margin: 2em 0 0.5em;
	line-height: 1.5;
}

.past-events {
    border-top: 1px solid #666;
    margin-top: 3em;
    padding-top: 2em;
}

#wrap {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100vw;
	margin: -4px;
}
#bg {
	flex: 1 1 auto;
	margin: auto;
	background-color: #2a3086;
	width: 100%;
	max-width: 600px; 
	max-height: 600px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 1;
	transition: all 0.3s;
}
.bg-nye {
	background-color: #000 !important; 
	display: flex;
	flex-direction: column;
}
.nye-img {
	margin: auto;
	max-height: 100%;
}
.nye-link {
	margin: auto;
	padding: 0;
	position: sticky;
	bottom: 4px;
}
.nye-link > a {
	display: block;
	padding: 0.5em 1em;
	color: #fff;
}

@media (pointer: coarse) and (hover: none) {
	.nye-link {
		display: inline-block;
	}
}

#title {
	position: absolute;
	z-index: 10;
	pointer-events: none;
	font-size: 58px;
	top: 15px;
    text-align: center;
    width: 100%;
	color: #fff;	
	transition: color 0.3s;
	white-space: nowrap;
	transform-origin: 50% 50%; 
}
#albumtitle {
	position: absolute;
	top: 80px;
	right: 25px;
	color: #0ae;
	z-index: 10;
	pointer-events: none;
	font-size: 20px;
	background-color: #2a3086;
    padding: 1px 4px;
	transition: color 0.3s, background-color 0.3s;
	white-space: nowrap;
}
.circle {
	position: absolute;	
	width: 377px;
	height: 377px;
	transition: all 0.3s;
}

#circles-wrap {
	position: relative;
	width: 100%;
	height: 100%;	
	overflow: hidden;
	pointer-events: none;
	perspective: 150px;
	transition: all 0.3s;
}
#circles {
	z-index: 1;
	position: relative;
	width: 100%;
	height: 100%;	
	transform-style: preserve-3d;
	transition: all 0.3s;
}

#c0 { top: 13%; left:  3% }
#c1 { top: 42%; left:  3% }
#c2 { top: 71%; left:  3% }
#c3 { top: 13%; right: 3% }
#c4 { top: 42%; right: 3% }
#c5 { top: 71%; right: 3% }

.t0{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.5;stroke-miterlimit:10;}

.st0{fill:none;stroke:#FFFFFF;stroke-width:0.5399;stroke-miterlimit:3.8637;}
.st1{fill:none;stroke:#FFFFFF;stroke-width:1.0797;stroke-miterlimit:3.8637;}
.st2{fill:none;stroke:#FFFFFF;stroke-width:1.6195;stroke-miterlimit:3.8637;}
.st3{fill:none;stroke:#FFFFFF;stroke-width:2.1594;stroke-miterlimit:3.8637;}
.st4{fill:none;stroke:#FFFFFF;stroke-width:2.6992;stroke-miterlimit:3.8637;}
.st5{fill:none;stroke:#FFFFFF;stroke-width:3.2391;stroke-miterlimit:3.8637;}
.st6{fill:none;stroke:#FFFFFF;stroke-width:3.779;stroke-miterlimit:3.8637;}
.st7{fill:none;stroke:#FFFFFF;stroke-width:4.3189;stroke-miterlimit:3.8637;}
.st8{fill:none;stroke:#FFFFFF;stroke-width:4.8587;stroke-miterlimit:3.8637;}

#bar {
	position: absolute;
	display: none;
	bottom: 0;
	left: 0;
	width: calc(100% - 64px);
	background-color: rgba(0,0,0,0.5);
	padding: 8px 32px;
	text-align: center;
}

button {
    font-size: 16px;
    border: none;
	border-radius: 4px;
    background-color: #0088cc;
    margin: 2px;
    padding: 4px 16px;
    color: white;
	cursor: pointer;
    transition: background-color 0.2s linear;
}
button:hover {
    background-color: #4fafdf;
}
#settings > button {
	background-color: transparent;	
	padding: 0.5em;
	opacity: 0.3;
}
#settings > button:hover {
	opacity: 1 !important;
}
#settings > button:focus {
	outline: none;
}
.close {
	display: none;
}
#settings > button.open > .gear {
	display: none;
}
#settings > button.open > .close {
	display: block;
}
#settings.hidden > button {
	opacity: 0;
}
#settings {
    position: absolute;
    right: 0;
    bottom: 0;
	z-index: 1;
}
.checkbox {
	color: #fff;
    font-size: 0.8em;
    display: inline-flex;
    margin: 10px;
    gap: 5px;
}

.checkbox > label {
	display: inline-flex;	
    gap: 5px;
    align-items: center;
}

#timer-wrap {
	display: inline-block;
	margin-left: 5px;
	font-size: 0.8em;
}
#timer-wrap button {
	padding: 0;
    width: 2em;
	font-size: 1em;
}

/* slide-in menu */

#mainMenuButton {
	position: absolute;
	top: 0;
    right: -50px;
    padding: 3px 6px 0 6px;
    background-color: transparent;
	transition: right 0.2s ease;
}

#mainMenuButton .ico.close {
	display: none;
}

#side-menu {
  width: 220px;
  height: 100vh;
  position: fixed;
  left: -220px;
  top:0;
  background-color: #000;
  transition: left 0.2s ease;
  z-index: 100;
}

::-webkit-scrollbar              { background-color: #000; width: 4px; height: 4px; }
::-webkit-scrollbar-track-piece  { background-color: #000 }
::-webkit-scrollbar-thumb        { background-color: #0ae }
::-webkit-scrollbar-corner       { background-color: #000 }


#side-menu.expanded {
	left: 0;
}

#side-menu.expanded #mainMenuButton {
	right: calc(220px - 50px);
}

#side-menu.expanded #mainMenuButton .ico.close {
	display: inline;
}

#side-menu.expanded #mainMenuButton .ico.menu {
	display: none;
}

#side-menu-inner {
	padding: 55px 24px 24px 24px;
	height: 100%;
	overflow: auto;
	text-align: right;
    box-sizing: border-box;
}

#side-menu h3 {
	font-size: 1.4rem;
	line-height: 1rem;
}

#side-menu h3.selected a {
	color: #fff;
}

.thumbsbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.thumbsbar > img {
	max-width: 100px;
}

footer {
    margin-top: 6em;
}

/* Discography */

.cd-wrap { 
	display: flex;
	flex-wrap: wrap-reverse;
    align-items: flex-end;
	gap: 1em 2em;
} 
.cd-wrap > img {
	flex: 0;
}

.cd-wrap > ol {
	flex: 1;
	min-width: 200px;
}
 
.cd-year { color: #8b9ca3 } 
.cd-track-list {
	margin-left: 40px;
}
.cd-track-list > li {
	list-style: decimal-leading-zero;
	padding-bottom: 0.5em;
}
.cd-track-list > li:before {
	width: 40px;
}

.cd-track-personnel {
	display: inline-block;	
	display: none;	
    /*font-size: 0.6em;*/
    line-height: 1.3em;
	margin-bottom: 1em;
}

.cd-track-personnel > li {
	display: inline;
	color: #fff;
}

.cd-track-personnel > li:after {
	content: "|";
	display: inline;
	color: #8b9ca3;
}
.cd-track-personnel > li:last-child:after {
	content: "";
	display: none;
}

.cd-track-instr {
	color: #8b9ca3
}

@media only screen and (max-width: 1150px) {
	#page {
		margin-left: 175px;
		margin-right: 0;
	}
}

@media only screen and (max-width: 600px) {
	#albumtitle {
		font-size: calc(10vw / 3);
		top: calc(40vw /3);
		right: calc(25vw /6);
	}
	#title {
		font-size: calc(29vw / 3);
		top: calc(10vw / 4)
	}

	#page {
		margin-left: auto;
		max-width: 325px;
		margin-right: 0;
		transition: opacity 0.2s;
	}

	#side-menu.expanded + #page {
		opacity: 0.2;
	}

}
@media only screen and (max-height: 680px) {
	#wrap {
		max-height: calc(100vh - 40px);
		padding-top: 40px;
	}
	#bg {
		margin-top: 0;
	}
}

