body,
html {
	height: 100%;
	margin: 0;
	font-family: 'Arial', sans-serif;
	color: white;
	overflow: hidden;
}

body {
	background-image: url('../res/unreal-tournament.jpg');
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 20%, transparent 50%);
	z-index: -1;
	animation: spotlight 10s infinite;
	animation-timing-function: ease-in-out;
}

.spotlight {
	width: 750px;
	height: 750px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(249, 235, 234, 0.8) 20%, rgba(249, 235, 234, 0) 50%);
	position: fixed;
	top: 5%;
	left: 10%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 2;
}

.title {
	font-size: 5em;
	text-align: center;
	text-shadow: 0 0 5px #000, 0 0 10px #ff0, 0 0 20px #ff0, 0 0 30px #ff0, 0 0 40px #ff0, 0 0 70px #ff0, 0 0 80px #ff0, 0 0 100px #ff0, 0 0 150px #ff0;
}

.button-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 50px
}

.button {
	padding: 15px 30px;
	font-size: 2em;
	text-decoration: none;
	border: none;
	cursor: pointer;
	border-radius: 5px;
	box-shadow: 0 0 20px #000;
	transition: transform 0.2s;
	margin: 0 10px;
}

.join-btn {
	background-color: #d90000;
	color: #fff;
}

.admin-btn {
	background-color: #000;
	color: #fff;
}

.button:hover {
	transform: scale(1.1);
}

.meet-btn {
        background-color: #007bff;
        color: #fff;
}

.author {
	font-size: 0.75em;
	position: absolute;
	right: 50px;
	bottom: 5px;
}

.download-link {
	position: absolute;
	right: 20px;
	top: 5px;
	font-size: 1.0em;
	color: #7e7e7e;
	text-decoration: none;
	transition: color 0.3s ease;
}

.download-link:hover {
	color: #fff;
}

.speaker-icon {
	position: fixed;
	top: 20px;
	left: 20px;
	cursor: pointer;
	font-size: 40px;
	color: #FFF;
	text-shadow: 2px 2px 4px #000000;
	transition: color 0.2s;
	border-radius: 50%;
	/* Makes the background round */
	background-color: #000;
	/* Black background */
	width: 60px;
	/* Adjust based on your icon size */
	height: 60px;
	/* Adjust based on your icon size */
	display: flex;
	justify-content: center;
	align-items: center;
}

.speaker-icon:hover {
	color: #d90000;
}

@media (max-width: 768px) {
	.title {
		font-size: 3em;
		/* Réduit la taille du titre */
		margin: 10px 0;
		/* Ajuste les marges */
	}

	.button {
		padding: 10px 20px;
		/* Ajuste la taille des boutons */
		font-size: 1.5em;
		/* Réduit la taille du texte des boutons */
	}

	.button-container {
		flex-direction: column;
		/* Empile les boutons verticalement */
		gap: 10px;
	}

	.speaker-icon {
		font-size: 30px;
		/* Réduit la taille de l'icône du haut-parleur */
	}

	.spotlight {
		width: 500px;
		height: 500px;
		/* Ajuste la taille du spot lumineux */
	}

	.download-link,
	.author {
		font-size: 0.8em;
		/* Réduit la taille du texte */
	}
}

.current-track {
	position: fixed;
	bottom: 0px;
	left: 20px;
	color: #FFF;
	font-size: 1em;
	white-space: nowrap;
	/* Garde le texte sur une seule ligne */
	overflow: hidden;
	/* Cache tout débordement */
	background: rgba(0, 0, 0, 0.5);
	/* Fond semi-transparent pour améliorer la lisibilité */
	padding: 5px 10px;
	/* Espacement autour du texte */
	border-radius: 5px;
	/* Coins arrondis */
	max-width: 80%;
	/* Limite la largeur pour éviter de couvrir toute la largeur de l'écran */
}
