/*
 * 
 * Radio Player Style
 * 
 * Style sheet for the main player page
 * Stin, 2026
 *
 * 
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo+Play:slnt,wght@11,894&family=Emilys+Candy&family=Inspiration&family=Molle:ital@1&family=Nova+Round&display=swap');
 
body {
	background-color: #000;
	background-image: url('/images/player-bg.png'), linear-gradient(to bottom,  rgba(32,0,48,1) 0%,rgba(33,29,0,1) 100%);
	color: #ffe;
	font-family: "Nova Round", sans-serif;
	font-weight: 400;
	min-width: 260px;
	font-size: 1rem;
	padding: 0rem;
	margin: 0rem;
}

div#radioholder {
	background-color: #222;
	background: url('/images/tree-of-life-1-bg.png') center center, url('/images/player-bg.png'), linear-gradient(135deg, #581566 0%,#1f3f66 52%,#277f18 100%);
	background-size: cover, auto, auto;
	background-repeat: repeat, repeat, no-repeat;
	border-radius: 9px;
	/* border: 1px solid #555; */
	box-shadow: 0px 0px 3rem rgb(0, 0, 0) inset, 0px 0px 10rem rgba(180, 60, 255, 0.5) inset, 0px 0px 1rem #000;
	max-width: 820px;
	margin: auto;
}

div#radiotitle {
	font-family: "Cairo Play", sans-serif;
	font-size: 2.5rem;
	line-height: 2.8rem;
	padding-top: 0.3rem;
	text-align: center;
}

div#radiotitle span {
  -webkit-animation: glow 10s ease-in-out both infinite;
          animation: glow 10s ease-in-out both infinite;
}

div#radiotitle span:nth-child(1) {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}

div#radiotitle span:nth-child(9) {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
}

div#radiotitle span:nth-child(3) {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}

div#radiotitle span:nth-child(8) {
  -webkit-animation-delay: -1.2s;
          animation-delay: -1.2s;
}

div#radiotitle span:nth-child(5) {
  -webkit-animation-delay: -1.4s;
          animation-delay: -1.4s;
}

div#radiotitle span:nth-child(7) {
  -webkit-animation-delay: -1.7s;
          animation-delay: -1.7s;
}

div#radiotitle span:nth-child(4) {
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}

div#radiotitle span:nth-child(6) {
  -webkit-animation-delay: -2.2;
          animation-delay: -2.2s;
}

div#radiotitle span:nth-child(2) {
  -webkit-animation-delay: -2.5s;
          animation-delay: -2.5s;
}

@-webkit-keyframes glow {
  0%, 100% {
    text-shadow: 0 0 8.3333333333px snow, 0 -25px 50px tomato, -25px 25px 50px yellow, 25px 25px 50px tomato;
  }
  33% {
    text-shadow: 0 0 8.3333333333px snow, 0 -25px 50px cyan, -25px 25px 50px tomato, 25px 25px 50px cyan;
  }
  66% {
    text-shadow: 0 0 8.3333333333px snow, 0 -25px 50px yellow, -25px 25px 50px cyan, 25px 25px 50px yellow;
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 8.3333333333px snow, 0 -25px 50px tomato, -25px 25px 50px yellow, 25px 25px 50px tomato;
  }
  33% {
    text-shadow: 0 0 8.3333333333px snow, 0 -25px 50px cyan, -25px 25px 50px tomato, 25px 25px 50px cyan;
  }
  66% {
    text-shadow: 0 0 8.3333333333px snow, 0 -25px 50px yellow, -25px 25px 50px cyan, 25px 25px 50px yellow;
  }
}

div#controlholder {
	height: 95px;
}

div#carouselholder {
	height: 30%;
	min-height: 6.5rem;
	overflow: hidden;
	text-align: center;
	padding: 0.5rem;
	max-width: 800px;
	margin: auto;
/*	background: rgba(0, 0, 0, 0.3)*/
	line-height: 110%;
	background-color: transparent;
	font-size: small;
}

div#metadataholder {
	overflow: hidden;
	padding: 0.5rem;
	max-width: 800px;
	margin: auto;
}

#listener_count {
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 1rem;
	padding: 1px 9px 0px 9px;
	color: #fff;
}

div#song_info_ticker {
	animation: slide 15s linear infinite;
	text-shadow: 2px 2px 6px #000;
	padding: 6px;
}

div#recent_tracks {
	padding: 0.5rem;
	max-width: 800px;
	margin: auto;
	overflow-y: scroll;
	height: 30%;
	min-height: 4rem;
}

iframe {
	border: none;
	width: 100%;
	height: 100%;
}

hr {
	border: 0px 0px 1px 0px;
	border-style: solid;
	border-color: #555;
	margin: 0px;
	padding: 0px;
	box-shadow: 0px 0px 0.3rem #000, 0px 0px 1rem #fff;
}

@keyframes slide {
	0% {
		transform: translatex(-100%);
	}
	20% {
		transform: translatex(6%)
	}
	85% {
		transform: translatex(1%)
	}
	100% {
		transform: translatex(100%);
	}
}

div#MusesRadioPlayer-HTML5-player-0 {
	margin: auto;
}

table#recentlyplayed_table {
	font-size: small;
	width: 100%;
	max-width: 770px;
	margin: auto;
}

table#recentlyplayed_table thead th {
	background-color: rgba(0, 80, 30, 0.5);
	padding: 0.1em;
}

table#recentlyplayed_table tbody tr:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.1);
}

table#recentlyplayed_table tbody tr:nth-child(odd) {
	background-color: rgba(0, 0, 0, 0.2);
}

table#recentlyplayed_table tbody tr:nth-child(1) {
	font-weight: bold;
	font-style: italic;
}

table#recentlyplayed_table tbody tr td {
	padding: 0.2em;
	border-bottom: 1px dotted #003822;
}

div#social-links {
	text-align: center;
	margin: 0.2rem;
}

a#artistlink, a#artistlink:visited, a#artistlink:active {
	color: #fff;
	background-color: rgb(255, 255, 255, 0.3);
	padding: 0.45rem 1rem 0.4rem 1rem;
	margin-bottom: 0.6rem;
	display: inline-block;
	text-decoration: none;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	border-radius: 3rem;
}

div#artisttext {
}

div#artisttext p {
	text-align: justify;
	max-width: 800px;
	margin: 0rem;
}

figure#artistimageholder {
	max-height: 100%;
	max-width: 25%;
	float: left;
	box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
	margin: 0rem 0.8rem 0rem 0rem;
}

img#artistimage {
	max-width: 100%;
}

figcaption#artistimagecaption {
	background-color: #fff;
	color: #000;
	text-align: center;
	padding: 0.6rem 0.2rem;
}
