@import url('https://fonts.googleapis.com/css?family=Mountains+of+Christmas');


html {
	overflow-x: hidden;
}

html, body {
	width: 100%;
	height: 100%;
	cursor: url("../assets/images/cursor-holidays-christmas.gif") , auto;
	font-family: Helvetica Neue, Helvetica, Arial, " sans-serif";
}
body {
	padding: 0;
	margin: 0;
	text-align: center;
	
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

	background: #88d0ee; /* For browsers that do not support gradients */
	background:  radial-gradient(#88d0ee, #528ec3); /* Standard syntax */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.backgroundLayer {
	position: fixed;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 5s ease-in-out;
	pointer-events: none;
}

#app{
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: fixed;
	z-index: 1;
}

h1 {
	display: block;
	font-size: 2em;
	margin-top: 0.67em;
	margin-bottom: 0.67em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

h2 {
	display: block;
	font-size: 1.5em;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

a {
	color: #82c2f5;
	cursor: url("../assets/images/curosr-holidays-christmas-hand.png") , pointer;
	outline: none;
}

.content {
	display: block;
	margin-top: 13vh;
}

.content .text{
	font-size: 1.3em;
	text-align: left;
	line-height: 1.5em;
	width: 90%;
	max-width: 650px;
	margin: 0 auto;
	margin-bottom: 10px;
}

.social{
	padding: 20px;
	display: inline-block;
}

#countdownHTML {
	font-family: 'Mountains of Christmas', cursive;
	font-size: 14vmin;
	color: #fff;
	padding-top: 0px;
	cursor: default;
	text-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.menuBar{
	top: 0;
	position: sticky;
	width: 100%;
	height: 60px;
	background-image: url(../assets/images/menu_bar.png);
	background-position: bottom;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	z-index: 1;
}

#mainMenu{
	transform: translateY(0);
	transition: transform 0.3s ease;
}

#mainMenu.idle-hidden{
	transform: translateY(-100%);
}

body.cursor-hidden,
body.cursor-hidden *{
	cursor: none !important;
}

.menuBar .title{
	margin-left: 10px;
	color: white;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
}

.button{
	-webkit-appearance: none;
	appearance: none;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	line-height: 18px;
	height: 15px;
	margin-left: 10px;
	padding: 10px 14px;
	box-sizing: inherit;
	border: 0;
	color: white;
	font-family: inherit;
	text-decoration: none;
	font-size: 0.9em;
	text-transform: uppercase;
	font-weight: bold;
	background: #82c2f5;
	border-radius: 5px;
	border-bottom: solid 3px #5093c8;
	cursor: url("../assets/images/curosr-holidays-christmas-hand.png") , pointer;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}

.button:hover{
	 background: #70BCF9;
}

button{
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	caret-color: transparent;
}

#playPauseIcon{
	border: 0;
	background: transparent;
	box-sizing: border-box;
	width: 0;
	height: 15px;

	border-color: transparent transparent transparent white;
	transition: 100ms all ease;
	cursor: url("../assets/images/curosr-holidays-christmas-hand.png") , pointer;
	
	border-style: solid;
	border-width: 7px 0 7px 15px;
}

#playPauseIcon.paused {
	border-style: double;
	border-width: 0px 0 0px 15px;
}

i {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.left {
    transform: rotate(135deg);
}

.page{
	position: absolute;
	inset: 0;
	overflow-y: auto;
	visibility: hidden;
	background-color: #d23f31;
	transition: transform 0.3s, visibility 0s linear 0.3s;
	transform: translateX(-100%);
	opacity: 1;
	will-change: transform;
}

.page.selected {
	visibility: visible;
	transform: translateX(0);
	z-index: 10;
	transition-delay: 0s;
}

.page .content{
	margin-top: 0;
	color: white;
	text-align: center;
	width: 100%;
}

#playlist{
	text-align: left;
}

#playlist li{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background-color: #25b14b;
	margin-bottom: 2px;
	padding: 14px;
	cursor: url("../assets/images/curosr-holidays-christmas-hand.png") , pointer;
	border-left: thick solid #d23f31;
}

#playlist .stationPlayButton{
	appearance: none;
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

#playlist .favoriteButton{
	flex: none;
	padding: 2px 6px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: white;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
}

#playlist .favoriteButton:hover,
#playlist .favoriteButton:focus-visible{
	background: rgba(255, 255, 255, 0.18);
	outline: 2px solid white;
}

#playlist li:last-child{
	margin-bottom: 0;
}

#playlist .selected{
	background-color: #d23f31;
	border-left: thick solid #25b14b;
}

#radioTitle{
	flex: 1;
	min-width: 0;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#radioPage .sleepTimerControls{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 8px 12px;
	background: rgba(46, 42, 38, 0.85);
	color: white;
	font-size: 14px;
}

#sleepTimer{
	min-height: 34px;
	padding: 5px 8px;
	border: 1px solid #d6d6d6;
	border-radius: 4px;
	background: white;
	color: #2e2a26;
	font: inherit;
}

#sleepTimerCountdown{
	min-width: 4em;
	font-variant-numeric: tabular-nums;
}

.visually-hidden{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#playPause{
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: content-box;
	width: auto;
	height: 15px;
	margin-left: auto;
	margin-right: 10px;
	padding: 10px 14px;
	border: 0;
	border-bottom: solid 3px #5093c8;
}

.language{
	background-color: #2e2a26;
	padding: 10px;
}

:focus-visible{
	outline: 3px solid #ffd166;
	outline-offset: 3px;
}

#playlist button:focus-visible{
	outline-color: #2e2a26;
	outline-offset: 2px;
}

#promoButtons{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	background-color: white;
	gap: 10px;
	padding: 16px 20px;
}

#promoButtons div{
	margin: 0;
}

a img{
	cursor: url("../assets/images/curosr-holidays-christmas-hand.png") , pointer;
}

#christmasGifts h2{
	margin: 1.4em 0 0.75em;
	font-family: 'Mountains of Christmas', cursive;
	font-size: 2.25em;
	text-align: center;
}

#christmasGifts{
	width: 100%;
	margin: 0 auto;
	padding-bottom: 48px;
	font-size: 1.3em;
}

#shop{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	padding: 0 10px;
	box-sizing: border-box;
}

#shop a{
	display: flex;
	flex-direction: column-reverse;
	overflow: hidden;
	background: #fff;
	color: #2e2a26;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(46, 42, 38, 0.18);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

#shop a:hover{
	transform: translateY(-3px);
	box-shadow: 0 7px 18px rgba(46, 42, 38, 0.24);
}

#shop a span{
	display: block;
	min-height: 3.8em;
	padding: 12px;
	box-sizing: border-box;
	color: #2e2a26;
	font-size: 0.9em;
	line-height: 1.35;
	text-align: left;
}

#shop img{
	width: 100%;
	height: 150px;
	object-fit: cover;
}

#aboutPage .text{
	width: min(90%, 900px);
	max-width: none;
	padding: 24px 0 0;
	line-height: 1.55;
}

#aboutPage .text h1{
	margin: 0 0 12px;
	font-family: 'Mountains of Christmas', cursive;
	font-size: 2.25em;
	text-align: center;
}

#aboutPage .text > p{
	max-width: 720px;
	margin: 0 auto 20px;
	text-align: center;
}

.aboutShare{
	margin: -4px auto 24px;
	text-align: center;
}

.aboutActions{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.aboutActionButton{
	padding: 10px 16px;
	border: 0;
	border-bottom: 3px solid #5093c8;
	border-radius: 5px;
	background: #82c2f5;
	color: white;
	font: inherit;
	font-size: 0.9em;
	font-weight: bold;
	cursor: pointer;
}

.aboutActionButton:hover{
	background: #70BCF9;
}

.shareStatus{
	min-height: 1.4em;
	margin: 8px 0;
	font-size: 0.85em;
	user-select: text;
}

.aboutDonateLink{
	display: inline-block;
	font-weight: bold;
}

.aboutFeatures{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 24px 0;
}

.aboutFeatures div{
	padding: 18px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 10px;
	text-align: left;
}

.aboutFeatures strong,
.aboutFeatures span{
	display: block;
}

.aboutFeatures strong{
	margin-bottom: 6px;
	font-size: 1.05em;
}

.aboutFeatures span{
	font-size: 0.85em;
	line-height: 1.45;
}

#buttonOptions {
	margin-left: auto;
	margin-right: 10px;
}

.options.panel {
	background-color: white;
	margin: 0 auto;
	border: 10px #fff solid;
	border-radius: 15px;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	position: absolute;
	top: -550px;
	right: 15px;
	width: 80%;
	height: 80%;
	max-width: 320px;
	max-height: 500px;
	text-align: left;
	overflow-y: scroll;
	visibility: hidden;
	transition: top 0.3s, visibility 0s linear 0.3s;
}

.options.panel.selected {
	top: 80px;
	visibility: visible;
	transition-delay: 0s;
}

.backgroundControls{
	display: grid;
	gap: 10px;
	padding: 8px;
	margin-bottom: 4px;
	border-bottom: 1px solid #d6d6d6;
	color: #2e2a26;
	font-size: 14px;
}

.backgroundSlideshowToggle{
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: bold;
	cursor: pointer;
}

.backgroundShuffleToggle{
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.backgroundSlideshowToggle input{
	width: 16px;
	height: 16px;
	margin: 0;
}

.backgroundShuffleToggle input{
	width: 16px;
	height: 16px;
	margin: 0;
}

.backgroundIntervalLabel{
	display: grid;
	gap: 5px;
}

.backgroundInterval{
	width: 100%;
	padding: 6px;
	border: 1px solid #bbb;
	border-radius: 4px;
	background: white;
	color: #2e2a26;
	font: inherit;
}

.backgroundInterval:disabled{
	opacity: 0.55;
}

@media screen and (max-width: 650px){
	.options.panel {
		max-width: 260px;
	}

	#promoButtons{
		padding: 12px;
	}

	#aboutPage .text{
		width: 88%;
		padding-top: 18px;
	}

	#aboutPage .text h1,
	#christmasGifts h2{
		font-size: 1.75em;
	}

	.aboutFeatures{
		grid-template-columns: 1fr;
	}

	#shop{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	#shop img{
		height: 110px;
	}
}

.thumb{
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
	overflow: hidden;
	margin: 8px;
	display: inline-block;
	vertical-align: middle;
	width: 80px;
	height: 80px;
	background-size: 80px 80px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -o-border-radius: 50px;
	border-radius: 50px;
	-webkit-transition: -webkit-border-radius 0.5s ease-out 0s;
    -moz-transition: -moz-border-radius 0.5s ease-out 0s;
    -o-transition: border-radius 0.5s ease-out 0s;
    -ms-transition: border-radius 0.5s ease-out 0s;
    transition: border-radius 0.5s ease-out 0s;
}

.thumb:hover {
	border-radius: 15px;
    -webkit-transition: all 0.5s ease-out 0;
    -moz-transition: all 0.5s ease-out 0;
    -o-transition: all 0.5s ease-out 0;
    -ms-transition: all 0.5s ease-out 0;
    transition: all 0.5s ease-out 0;
}

@media only screen and (max-width: 520px) {
	#gamesButton {
		display: none;
	}
}

.popup {
	display: none;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	width: 100vw;
	height: 100vh;
	z-index: 900;
}

.popupContent {
	color: white;

	position: absolute;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -50%); 

	width: 80%;
	max-width: 700px;

	z-index: 999;

	background-color: #2e2a26;
	padding: 20px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	line-height: normal;
}

.popupTitle {
	font-size: 1.2em;
	font-weight: bold;
}

.closeButton {
    transition: all 0.5s ease;
    position: absolute;
    background-color: #07a5e7;
    padding: 6px 10px;
    right: 0;
    margin-right: -15px;
    margin-top: -35px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: white;
	font-size: 15px;
    -webkit-box-shadow: -4px -2px 6px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -4px -2px 6px 0px rgba(0,0,0,0.1);
    box-shadow: -3px 1px 6px 0px rgba(0,0,0,0.1);
}

.closeButton:hover {
    background-color: tomato;
    color: #fff;
}

#buttonInstall {
	position: fixed;
	bottom: 10px;
	background: #0aad0a;
	border-bottom: solid 3px #007a00;
}

@media (prefers-reduced-motion: reduce) {
	.backgroundLayer {
		transition-duration: 500ms;
	}

	.options.panel,
	#playPauseIcon,
	#shop a,
	.thumb {
		transition: none;
	}
}