body {
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
		Helvetica, sans-serif;
	background: #f3f4f6;
	margin: 0;
	width: 100%;
	margin: auto;
	font-size: 18px;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

/* Sections ---------------------------------- */

/* main flex container */
.flex_1 {
	display: flex;
	flex-direction: column;
	max-width: 427px;
	margin: auto;
}

.player {
	justify-content: center;
}

.background {
	flex: 2;
	padding: 1.5em 0;
	border-radius: 8px;
	background: #fff;
	margin: 1.222em;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.prehravac {
	min-height: 100%;
	background-color: #e1e1e1;
	text-align: left;
	color: black;
	box-shadow: inset -7px 0 9px -7px rgba(134, 130, 130, 0.24);
	flex: 1;
	display: flex;
	flex-direction: row;
	border-bottom: 1px #cac9c9 solid;
}

.aroundbutton {
	overflow: visible;
	margin-top: 0.8em;
}

.playbutton {
	position: relative;
	z-index: 1;
	/* top: 50%; */
	/* left: 50%; */
	/* transform: translateX(-50%) translateY(-50%); */
	box-sizing: content-box;
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.playbutton:before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: block;
	width: 75px;
	height: 75px;
	background: rgba(224, 98, 155, 0.1);
	border-radius: 50%;
	animation: pulse-border 2.2s ease-out infinite;
}

.playbutton:after {
	content: "";
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: block;
	width: 75px;
	height: 75px;
	background: rgba(224, 98, 155, 0.2);
	border-radius: 50%;
	transition: all 200ms;
}

.playbutton img {
	position: relative;
	z-index: 3;
	max-width: 100%;
	width: auto;
	height: auto;
}

.playbutton span {
	display: block;
	position: relative;
	z-index: 3;
	width: 0;
	height: 0;
	border-left: 22px solid #fff1f1;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}

/* animation for the play button */
@keyframes pulse-border {
	0% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
		opacity: 0;
	}
}

#song {
	font-weight: normal;
}

#umelec {
	font-weight: bold;
	font-size: large;
}

#vol-control {
	appearance: slider-horizontal;
	cursor: default;
	border: initial;
	margin: 2px;
	height: 12px;
	background: whitesmoke;
	border-radius: 15px;
	filter: hue-rotate(95deg) brightness(0.9);
	cursor: pointer;
}

i.fa-volume-down {
	margin-right: -8px;
	right: 0;
	margin: 2px;
	font-size: 15px;
}

.fa-pause {
	width: 1.2em !important;
}

.fa-play {
	width: 1.35em !important;
}

i.fa-volume-up {
	margin-right: -8px;
	right: 0;
	margin: 2px;
	font-size: 15px;
}

/* offsets the inner parts of the player */
.controls {
	display: flex;
	padding: 0 4em;
	flex-direction: row;
	/* margin-top: 3em; */
	margin-top: 1em;
	justify-content: center;
}

/* responsivity */
@media screen and (min-width: 1200px) {
	body {
		width: 500px;
	}
	.flex_1 {
		width: 100%;
		max-width: 100%;
	}
	.iframe_reload {
		width: 458px !important;
		margin: 1.2em;
		background: white;
		height: 80%;
		box-shadow: 0 0 10px 1px grey;
		border-bottom: 5px solid #acacac;
	}
}

@media screen and (max-width: 900px) {
	.flex_1 {
		max-width: 100%;
	}
	.iframe_reload {
		max-width: 100%;
	}
}

#nojs_message {
	background: #726f6f;
	color: white;
	font-weight: bolder;
	line-height: 1.5em;
	padding: 1em;
}

@media screen and (max-width: 1200px) {
	button {
		margin-bottom: 1em !important;
		line-height: 2.25;
		/* border-radius: 500px; */
	}
	body {
		max-width: 100%;
	}
	.flex_1 {
		max-width: 450px;
		box-shadow: 0 0 10px 1px #918e8e;
	}
	.iframe_reload {
		width: 100% !important;
		max-width: 450px;
		box-shadow: 0 0 10px 1px #bababa;
	}
}

input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}

input[type="checkbox"]:focus {
	outline: 0;
}

.toggle {
	height: 28px;
	width: 48px;
	border-radius: 16px;
	display: inline-block;
	position: relative;
	margin: 1em 0.3em;
	border: 2px solid #a2a2a4;
	background: linear-gradient(180deg, #494a50 0%, #29292b 100%);
	transition: all 0.2s ease;
}

.toggle:after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: white;
	box-shadow: 0 1px 2px rgba(44, 44, 44, 0.2);
	transition: all 0.2s cubic-bezier(0.5, 0.1, 0.75, 1.35);
}

.toggle:checked {
	/*! border-color: #B22B2B; */
	background: #e2237a;
	margin: 1em 0.3em;
}

.toggle:checked:after {
	transform: translatex(20px);
}

.pressed {
	display: block;
	position: relative;
	z-index: 3;
	background: #fff1f1;
	width: 22px !important;
	height: 22px !important;
	border-left: 0px solid #fff1f1 !important;
	border-top: 0px solid transparent !important;
	border-bottom: 0px solid transparent !important;
}

.on {
	color: white;
	z-index: 100;
	display: block;
	visibility: visible;
	position: inherit;
	font-size: 32px !important;
	border: none;
}

.loader {
	/* border-top-color: rgb(255 255 255); */
	-webkit-animation: spin 1s linear infinite;
	animation: spin 1.4s ease-out infinite;
	/*! border-top: 5px solid #be2c2c; */
	border-radius: 50%;
	width: 95px;
	height: 70px;
	background: rgba(224, 98, 155, 0.1);
}

/* Safari */

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.quality {
	display: flex;
	flex-direction: row;
	margin-top: 5em;
	padding-top: 0.25em;
	justify-content: center;
	border-top: 1px solid #c8c8c8;
}

/* optional dark mode support. If not desired remove all code until from here until the end */
@media (prefers-color-scheme: dark) {
	html {
		background: #121212;
	}
	#umelec {
		margin-top: 2em;
	}
	.ics-calendar h4 {
		background: #232323;
		color: white;
	}
	.ics-calendar h4:hover {
		background: #232323;
		color: white;
	}
	body {
		box-shadow: none;
		background: #121212;
	}
	p,
	a,
	h1,
	h2,
	h3 {
		color: white;
	}
	.right {
		background: #181a1b;
		box-shadow: none;
		border-bottom: 7px solid #8c1e18;
	}
	.flex_1 {
		background: #232323;
		box-shadow: none;
	}
	.iframe_reload {
		box-shadow: none;
	}
	.iconify {
		color: whitesmoke !important;
	}
	.loader {
		border: 3px solid #181a1b;
	}

	@media screen and (min-width: 1200px) {
		.flex_1 {
			background: #121212;
		}
		.right {
			margin-top: 0;
			padding-top: 3em;
		}
	}
}
