/* Montserrat Font Faces */
@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
	font-weight: 400;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
	font-weight: 700;
}

/* Font Awesome */
@import url('../fonts/font-awesome/css/all.min.css');

body {
	margin: 0;
	padding: 0;
	background-color: black;
	overflow: hidden;
	font-family: 'Montserrat', sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100vw;
	height: 100vh;
	box-sizing: border-box;
}

.background {
	position: fixed;
	background-image: url("https://moinestifm.ro/images/banner.png");
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	filter: blur(100px) brightness(30%);
	transition: opacity 0.5s ease-in-out;
	opacity: 1;
}

.background.fade-out {
	opacity: 0.5;
	background-image: url("https://moinestifm.ro/images/banner.png");
}

.background.fade-in {
	opacity: 1;
}

.volume-control {
	margin-top: 20px;
	z-index: 20;
	width: 300px;
	text-align: left;
}

.volume-slider {
	width: 75%;
	height: 0.5rem;
	outline: none;
	border-radius: 5px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	background: white;
	border-radius: 50%;
	cursor: pointer;
}

.volume-slider::-moz-range-thumb {
	width: 15px;
	height: 15px;
	background: white;
	border-radius: 50%;
	cursor: pointer;
}

.song-info {
	margin-top: 15px;
	text-align: center;
	z-index: 10;
	color: white;
}

.song-title,
.song-artist {
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overflow-y: auto;
}

.song-artist {
	font-weight: bold;
	text-overflow: ellipsis;
	overflow: hidden;
	font-weight: 500;
	white-space: nowrap;
}

.song-title {
	font-size: 2rem;
	font-weight: 700;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.play-button {
	position: relative;
	width: 50vw;
	height: 50vw;
	max-width: 300px;
	max-height: 300px;
	min-width: 200px;
	min-height: 200px;
	margin-top: 20px;
	cursor: pointer;
	z-index: 20;
}

.song-art-container {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	overflow: hidden;
}

.song-art {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 1;
	transition: opacity 0.5s ease-in-out;
}

.song-art.fade-out {
	opacity: 0;
}

.song-art.fade-in {
	opacity: 1;
}

.play-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s;
}

.play-overlay:hover {
	opacity: 1;
}

.controls {
	position: absolute;
	bottom: 10px;
	width: 100%;
	text-align: center;
	color: white;
	text-align: center;
	text-decoration: none;
}

.logo-container {
	width: 200px;
	height: 200px;
	box-sizing: border-box;
	position: absolute;
	top: 20px;
	z-index: 1;
}

.logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	color: white;
	font-weight: 100;
	font-style: italic;
	height: 100px;
}

header {
	position: absolute;
	bottom: 15px;
	left: 100;
	right: 0;
	padding: 10px 30px;
	display: flex;
	justify-content: center;
	background: rgba(0, 0, 0, 0);
	z-index: 30;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}

.header-content {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-link {
	color: white;
	font-size: 1rem;
	text-decoration: none;
	transition: color 0.3s;
}

.header-link:hover {
	color: #00ddff;
}

.header-button {
	background: none;
	border: none;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	transition: color 0.3s;
}

.header-button:hover {
	color: #00ddff;
}

.section {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	color: white;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 40;
	overflow: auto;
}

.section.show {
	display: flex;
	transition: ease-in-out 2s;
}

.section-content {
	max-width: 600px;
	padding: 20px;
	text-align: center;
}

.section {
	padding: 20px;
}

.section-content {
	position: relative;
	text-align: center;
}

.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

a.box {
	padding: 10px;
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: ease 0.3s;
}

a.box:hover {
	transform: scale(1.05);
}

.box-image {
	width: 100%;
	height: auto;
	border-radius: 10px;
	width: 90px;
}

.box-text {
	margin-top: 10px;
	font-size: 16px;
}

.close-button {
	background: none;
	border: none;
	color: white;
	font-size: 2rem;
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}

.close-button:hover {
	color: #00ddff;
}

.listen-button {
	width: 60px;
	height: 60px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0);
	color: white;
	cursor: pointer;
	z-index: 2;
	transition: 0.3s ease-in-out;
	transform: translateY(15%);
}

.listen-button:hover {
	background: #444;
	transform: translateX(15%);
	transform: scale(1.1);
}

@media screen and (max-width: 768px) {

	.song-title,
	.song-artist {
		margin: 0;
		padding: 0;
		overflow-x: auto;
		overflow-y: auto;
	}

	.song-artist {
		font-size: 1.2rem;
		font-weight: bold;
		text-overflow: ellipsis;
		overflow: hidden;
		font-weight: 500;
		white-space: nowrap;
	}

	.song-title {
		font-size: 1.5rem;
		font-weight: 700;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}
}