body {
	background-color: #000;
	font-family: HelveticaNeueLight,
	HelveticaNeue-Light,
	"Helvetica Neue Light",
	HelveticaNeue,
	"Helvetica Neue",
	TeXGyreHerosRegular,
	Helvetica,
	Tahoma,
	Geneva,
	Arial,
	sans-serif;
}

.bg,
.bg > * {
	box-sizing: border-box;
}

.bg {
	position: relative;
	margin: 6.5% auto;
	max-width: 36.5rem;
	max-height: 36.5rem;
	border: 0 solid #a1a1a1;
	border-radius: 10px;
}

 ul.nav {
	position: relative;
	display: flex;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	top: 160px;
}

ul.nav li {
	position: relative;
	display: block;
	float: left;
	width: 3.75rem;
	height: 3.75rem;
	margin: 0.35rem;
}

.nav a img {
	opacity: 0.425;
	width: 100%;
	transition: opacity 0.15s ease-in-out;
	background-color: rgba(0, 0, 0, 0.50);
}

.nav a:hover img,
.nav a:focus img {
	background-color: #ccc;
	background-color: rgba(0, 0, 0, 0.50);
	opacity: 1;
}

.nav a:active img {
	opacity: .75;
}


/* soundcloud music player container */
.music-player {
	position: absolute;
	top: 36.5rem;
	background-color: #0a0a0a;
	background-color: rgba(10, 10, 10, 0.75);
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding-top: 0.15rem;
	padding-bottom: 0.7rem;
	width: 100%;
	max-width: 36.5rem;
	color: #FFF;
}

/* plangular soundcloud music player */
.controls {
	display: block;
	padding-left: 0.35rem;
	padding-top: 0.15rem;
	padding-bottom: 0.15rem;
	overflow: visible;
	position: relative;
	width: auto;
}

.icon {
	width: 1.2375rem;
	height: 1.2375rem;
	position: relative;
	vertical-align: middle;
	fill: currentcolor
}

.button {
	cursor: pointer;
	color: #fff;
	background-color: #0074d9;
	border-radius: 3px;
	transition-duration: .05s;
	transition-timing-function: ease-out;
	transition-property: box-shadow, background-color;
}

	.button:hover {
		box-shadow: inset 0 0 0 20rem rgba(0, 0, 0, .03125)
	}

	.button:focus {
		outline: 0;
	}

	.button.is-active,
	.button:active {
			box-shadow: inset 0 0 0 20rem rgba(0, 0, 0, .0625), inset 0 3px 4px 0 rgba(0, 0, 0, .25), 0 0 1px rgba(0, 0, 0, .0625)
	}

	.button.is-disabled,
	.button:disabled {
		opacity: .5
	}

	.button-transparent {
		position: relative;
		z-index: 2;
		color: inherit;
		background-color: transparent;
		border-radius: 0;
		border: none;
		transition-duration: .1s;
		transition-timing-function: ease-out;
		transition-property: box-shadow
	}

	.button-transparent:before {
		content: '';
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		z-index: -1;
		top: -1px;
		left: -1px;
		background-color: currentcolor;
		transition-duration: .1s;
		transition-timing-function: ease-out;
		transition-property: opacity;
		opacity: 0
	}

	.button-transparent:hover {
		box-shadow: none
	}

	.button-transparent:hover:before {
		opacity: .09375
	}

	.button-transparent:focus {
		outline: 0;
	}

	.button-transparent.is-active,
	.button-transparent:active {
		box-shadow: none
	}

	.button-transparent.is-active:before,
	.button-transparent:active:before {
		opacity: .0625
	}

	.button-transparent.is-disabled,
	.button-transparent:disabled {
		opacity: .5
	}


	.button-grow {
		transition: transform, box-shadow, .05s ease
	}

	.button-grow:hover {
		transform: scale(1.0625)
	}

	.button-grow:active {
		transform: scale(.9375)
	}

.rounded {
	border-radius: 3px
}

.time-indicators {
	margin-top: 0.3rem;
	margin-right: .15rem;
	color: #FFF;
	font-size: .75rem;
	font-weight: 400;
	position: absolute;
	right: 0;
}

.progress {
	display: block;
	width: 100%;
	height: .56rem;
	margin: .35rem 0 .35rem 0;
	background-color: #505050;
	background-color: rgba(80, 80, 80, 0.7);
	border: 0;
	border-radius: 10000px;
	overflow: hidden;
	-webkit-appearance: none;
	cursor: pointer;
	color: #f2f2f2;
	color: rgba(242, 242, 242, .9);
}

	.progress::-webkit-progress-bar {
		-webkit-appearance: none;
		background-color: #505050;
		background-color: rgba(80, 80, 80, 0.4);
	}

	.progress::-webkit-progress-value {
		-webkit-appearance: none;
		background-color: currentColor
	}

	.progress::-moz-progress-bar {
		background-color: currentColor
	}

	.tracklist {
		display: block;
		font-size: 1.05rem;
		height: 5.85rem;
		overflow: auto;
		overflow-y: scroll;
		margin-top: 0.35rem;
		margin-left: 0.35rem;
	}

	.tracklist > * {
		transform: translate3d(0, 0, 0);
	}

	.tracklist ul li {
		background-color: #505050;
		background-color: rgba(80, 80, 80, 0.25);
		height: 1.2375rem;
		cursor: pointer;
		font-size: .9rem;
		font-weight: 400;
		line-height: 1.2375rem;
		list-style: none;
		border-bottom: solid 2px #000;
		border-bottom: solid 2px rgba(0, 0, 0, 0.3);
		color: #FFF;
		color: rgba(255, 255, 255, 0.65);
		padding: .175rem 0 .175rem 0.5rem;
		transition: all .3s ease-in-out;
	}


	.tracklist li:hover {
		background-color: #505050;
		background-color: rgba(80, 80, 80, 0.8);
		color: #eee;
		transition: all .3s ease-in-out;
	}

	.tracklist li.active,
	.tracklist li:active {
		background-color: #505050;
		background-color: rgba(80, 80, 80, 0.7);
		color: #eee;
		opacity: 1.0;
	}

#crossfade {
	display: block;
	position: relative;
	overflow: hidden;
	max-width: 36.5rem;
	max-height: 36.5rem;
	border-radius: 8px;
}

#crossfade > img {
	max-width: 100%;
	opacity: 0;
	z-index: -10;
	animation: imageAnimation 5s linear infinite 0s;
}


@keyframes imageAnimation {
	0% {
		opacity: 0;
		animation-timing-function: ease-in;
	}
	20% {
		opacity: 1;
	}
	80% {
		opacity: 1;
		animation-timing-function: ease-out;
	}
	100% {
		opacity: 0;
	}
}

@media only screen and (max-width: 38em) {
	.bg {
		width: 97.5%
	}
}

@media only screen and (max-height: 18.75rem) {
	.bg {
		margin: 0.15rem auto;
	}
	.nav {
		display: none;
	}
	#crossfade {
		display: none;
	}
	.music-player {
		position: fixed;
		max-width: 36.5em;
		width: 97.5%;
		bottom: auto;
	}
}

@media only screen and (max-height: 51rem) {
	.music-player {
		position: fixed;
		max-width: 36.5em;
		width: 97.5%;
		bottom: 0;
	}
}

@media only screen and (max-width: 38em) and (max-height: 49rem) {
	.music-player {
		max-width: 36.5em;
		width: 97.5%;
	}
}

/*mobile*/
@media only screen and (min-device-width: 320px) and (max-device-width: 667px) {
	body {
		width: 100%;
		overflow-x: hidden;
	}
	.bg {
		width: 100%;
		margin: 0.35rem 0 0 0;
		position: fixed;
	}
	.nav {
		position: fixed;
	}

	.music-player {
		position: absolute;
		width: 100%;
		max-width: none;
		margin-top: 13.5rem;
		padding-bottom: 0.35rem;
		bottom: auto;
	}
	.controls {
		margin-top: .15rem;
	}

	.icon {
		width: 2rem;
		height: 2rem;
		margin: 0.5rem
	}

	.progress {
		height: 1rem;
		margin: .5rem 0 .5rem 0;
	}

	.tracklist {
		font-size: 1.15rem;
		height: 14.25rem;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}
	.tracklist ul li {
		font-size: .9rem;
		font-weight: 400;
		height: 2.2rem;
		line-height: 1.1rem;
		list-style: none;
		padding: .175rem 0 .175rem 0.6rem;
		overflow: hidden;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	.time-indicators {
		margin-top: 0.3rem;
		margin-right: .35rem;
		font-size: .75rem;
		font-family: HelveticaNeue, "Helvetica Neue", TeXGyreHerosRegular, Helvetica, Tahoma, Geneva, Arial, sans-serif;
		font-weight: 400;
		position: absolute;
		right: 0;
	}

}

/* landscape phablets and smaller devices */
@media only screen and (max-device-width: 667px) and (orientation: landscape) {
	.bg {
		position: fixed;
		width: 100%;
		max-width: none;
	}
	.nav {
		position: fixed;
	}
	#crossfade img {
		display: none;
	}
	.music-player {
		width: calc(100% - 8.9rem);
		max-width: none;
		margin-top: 0;
		margin-left: 8.9rem;
		height: auto;
		max-height: 20rem;
	}

	.tracklist {
		height: auto;
		max-height: 15rem;
	}

	.controls {
		margin-bottom: .7rem;
	}
}
