@font-face {
	font-family: "Iceland";
	font-style: "normal";
	font-weight: 400;
	src: url("assets/iceland.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
	font-display: swap;
}

*:focus {
	outline: none;
}

html {
	margin-left: calc(100vw - 100%);
	height: 100%;
	scrollbar-color: #333 black;
}

body {
	background-color: #000000;
	background-image: url("assets/background.png");
	color: #ffffff;
	margin: 0;
	font-family: "Iceland", sans-serif;
	min-height: 100%;
	overflow-y: scroll;
}

header {
	text-align: center;
}

footer {
	text-align: center;
	margin: 0 0 64px 0;
}

button {
	outline: none;
}

a {
	color: #dddddd;
	white-space: nowrap;
}

a:hover {
	color: #add8e6;
}

#content-wrapper {
	background: #000000;
	border-left: 5px double #333333;
	border-right: 5px double #333333;
	border-bottom: 5px solid #222222;
	border-radius: 0px 0px 10px 10px;
	width: 756px;
	margin: 0 auto 0 auto;
	box-sizing: border-box;
	padding: 0px 15px 15px 15px;
}

#title {
	font-size: 64px;
	line-height: 100%;
	margin: 0;
	padding: 0;
	font-weight: initial;
}

#radiomenu {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 4px;
	font-size: 22px;
	margin: 4px 0px 0px 0px;
	overflow: hidden;
	box-shadow: 0px 4px 6px 0px #000000;
}

#radiostations {
	overflow: hidden;
	margin-top: 12px;
}

.genre {
	height: 38px;
	background: #333333;
	border: none;
	border-radius: 0px;
	color: #ffffff;
	font-size: 32px;
	font-family: "Iceland", sans-serif;
	text-transform: capitalize;
	box-shadow: 0px 4px 6px 0px #000000;
}

.genre:hover {
	background: #000000;
	color: #add8e6;
	cursor: pointer;
}

.genre.selected {
	background: #000000;
	color: #add8e6;
}

#kerst {
	background: #dc000b;
	color: #00aa00;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#kerst:hover {
	background:#f3000b;
	color: #00aa00;
}

#kerst.selected {
	background: #f3000b;
	color: #00aa00;
}

.list-title {
	font-size: 34px;
	text-transform: capitalize;
}

.radiostation {
	width: 100%;
	font-size: 34px;
	display: block;
	border-radius: 5px;
	max-height: 36px;
	min-height: initial;
	transition: max-height 0.5s;
	overflow: hidden;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
	margin: 4px 0 4px 0;
}

.radiostation:hover {
	background: #333333;
	max-height: 100px;
	box-shadow: 0px 4px 6px 0px #000000;
}

.radiostation-name {
	float: left;
	clear: both;
	text-align: left;
	color: #add8e6;
	transition: all .5s;
	line-height: 100%;
}

.radiostation:hover .radiostation-name {
	margin-left: 10px;
}

.radiostation-description {
	font-size: 16px;
	color: #bbbbbb;
	float: left;
	clear: both;
	margin-top: 2px;
	margin-bottom: 16px;
	margin-left: 1px;
	transition: all .5s;
}

.radiostation:hover .radiostation-description {
	margin-left: 12px;
}

#search {
	overflow: hidden;
}

#search-bar {
	width: 100%;
	background: #333333;
	display: flex;
	box-shadow: 0px 4px 6px 0px #000000;
}

#search-icon {
	margin-left: 4px;
	box-sizing: border-box;
	flex: 0 0 34px;
}

#search-entry {
	font-family: Iceland;
	font-size: 32px;
	height: 38px;
	color: #ffffff;
	background: #333333;
	border: none;
	margin: 0 4px 0 4px;
	padding: 0 4px 0 4px;
	width: 1px;
	flex: 1 1 auto;
}

#close-search {
	background-color: #333333;
	border: none;
	margin-right: 4px;
	padding: 0px;
	background: url("../assets/close-icon.svg") no-repeat center center;
	cursor: pointer;
	flex: 0 0 34px;
}

#close-search:hover {
	background: url("../assets/close-icon-blue.svg") no-repeat center center;
}

#player {
	width: 100%;
	max-height: 60px;
	background: #333333;
	cursor: default;
	overflow: hidden;
	transition: max-height 0.25s ease-in;
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	margin-bottom: 10px;
	padding: 0px;
	box-sizing: border-box;
	z-index: 100;
	top: 0%;
	position: sticky;
	box-shadow: 0px 4px 6px 0px #000000;
}

.hidden {
	max-height: 0 !important;
	margin: 0 !important;
	border: none !important;
}

#player-stationname {
	color: #add8e6;
	font-size: 34px;
	line-height: 70%;
	flex: 1 1 0;
	order: 2;
}

#player-stationname:hover {
	cursor: pointer;
}

#player-stationname:active {
	color:#ffffff;
}

#volume-controls {
	flex: 0 0 auto;
	order: 3;
	text-align: center;
}

input::placeholder {
	color: #7c7c7c;
	font-size: 24px;
	opacity: 0.5;
}

input[type=range] {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 162px;
	height: 30px;
	background: #333333;
	outline: none;
	vertical-align: middle;
	margin: 0 5px 0 5px;
}

input[type=range]::-moz-range-track {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #999999;
	border: none;
	height: 2px;
}

input[type=range]::-webkit-slider-runnable-track {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #999999;
	border: none;
	height: 2px;
}

input[type=range]::-moz-range-thumb {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 15px;
	height: 25px;
	background: #ffffff;
	cursor: pointer;
	border-radius: 0px;
	border: none;
}

input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 15px;
	height: 25px;
	background: #ffffff;
	cursor: pointer;
	border-radius: 0px;
	border: none;
	margin-top: -12px;
}

input[type=range]::-moz-range-thumb:hover {
	background: #add8e6;
}

input[type=range]::-webkit-slider-thumb:hover {
	background: #add8e6;
}

#play-button {
	border: 0;
	background: transparent;
	box-sizing: border-box;
	width: 0;
	height: 50px;
	border-color: transparent transparent transparent #ffffff;
	transition: 100ms all ease;
	cursor: pointer;
	border-style: solid;
	border-width: 25px 0 25px 60px;
	margin: 5px 16px 5px 5px;
	padding: 0;
	flex: 0 0 auto;
	order: 1;
}

#play-button.playing {
	border-style: double;
	border-width: 0px 0 0px 60px;
}

#play-button:hover {
	border-color: transparent transparent transparent #add8e6;
}

#equalizer-container {
	flex: 0 1 48px;
	display: flex;
	height: 50px;
	flex-flow: column;
	justify-content: space-around;
	margin: 0px 5px 0px 0px;
	order: 4;
}

#equalizer-inner {
	flex: 1;
	display: flex;
	justify-content: space-evenly;
	align-items: flex-end;
}

#equalizer-base {
	flex: 0.3;
}

.bar {
	height: 1px;
	width: 3px;
	display: inline-block;
	background-color: #ffffff;
	bottom: 0;
	animation-duration: 500ms;
	animation-play-state: running;
	animation-direction: alternate;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.bar.noanimation {
	animation: none;
	animation-name: none;
}

.bar#bar-1 {
	animation-name: danceHeight1;
	animation-delay: 0ms;
}

.bar#bar-2 {
	left: 6px;
	animation-name: danceHeight2;
	animation-delay: 300ms;
}

.bar#bar-3 {
	left: 12px;
	animation-name: danceHeight3;
	animation-delay: 600ms;
}

.bar#bar-4 {
	left: 18px;
	animation-name: danceHeight4;
	animation-delay: 900ms;
}

.bar#bar-5 {
	left: 24px;
	animation-name: danceHeight5;
	animation-delay: 1200ms;
}

.bar#bar-6 {
	left: 30px;
	animation-name: danceHeight6;
	animation-delay: 1500ms;
}

@keyframes danceHeight1 {
	from {
	  height: 1px;
	}
	to {
	  height: 22px;
	}
}

@keyframes danceHeight2 {
	from {
	  height: 1px;
	}
	to {
	  height: 15px;
	}
}

@keyframes danceHeight3 {
	from {
	  height: 1px;
	}
	to {
	  height: 30px;
	}
}

@keyframes danceHeight4 {
	from {
	  height: 1px;
	}
	to {
	  height: 20px;
	}
}

@keyframes danceHeight5 {
	from {
	  height: 1px;
	}
	to {
	  height: 15px;
	}
}

@keyframes danceHeight6 {
	from {
	  height: 1px;
	}
	to {
	  height: 15px;
	}
}

.footer-hyperlinks {
	position: relative;
	top: 14px;
}

@media only screen and (max-width: 756px) {
	#content-wrapper {
		width: 100%;
		border-left: 0px;
		border-right: 0px;
	}

	#radiomenu {
		grid-template-columns: 1fr 1fr;
	}

	#player {
		max-height: 285px;
		flex-direction: row;
		justify-content: center;
	}

	#player-stationname {
		order: 1;
		flex: 0 0 auto;
		text-align: center;
		width: 100%;
		margin: 4px 0 6px 0;
	}

	#play-button {
		order: 2;
		margin: 0 0 5px 0;
	}

	#volume-controls {
		flex: 0 0 auto;
		margin: 0 10px 0 10px;
	}

	input[type=range]::-moz-range-thumb {
		width: 25px;
		height: 40px;
	}

	input[type=range]::-webkit-slider-thumb {
		width: 25px;
		height: 40px;
		margin-top: -19px;
	}

	.equalizer-container {
		margin: 0;
	}

	.radiostation {
		background: #333333;
		max-height: 100px;
	}

	.radiostation:active {
		background:#bbb
	}

	.radiostation:hover .radiostation-name {
		margin-left: 0px;
	}

	.radiostation:hover .radiostation-description {
		margin-left: 0px;
	}
}

@media only screen and (max-width: 360px) {
	#title {
		font-size: 52px;
	}
	.genre {
		font-size: 28px;
	}
}
