/* Import Font Awesome for star icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

body {
	font-family: Arial, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 20px;
	background-color: #f4f4f4;
	color: #333;
}

h1 {
	color: #333;
	margin-bottom: 40px;
}

.rating-container {
	/*background-color: #fff;*/
	padding: 25px 40px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 25px;
	text-align: center;
}

.rating-container p {
	font-size: 1.1em;
	margin-bottom: 15px;
}

.stars-display {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px; /* Small gap between stars */
}

.star {
	font-size: 2em; /* Adjust star size */
	color: #ccc; /* Default empty star color */
	position: relative;
	overflow: hidden; /* Important for half-stars */
}

.star.filled {
	color: #ffc107; /* Gold color for filled stars */
}

.star.half-filled:before {
	content: "\f089"; /* Font Awesome half-star icon */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: #ffc107;
	position: absolute;
	top: 0;
	left: 0;
	width: 50%; /* Show only half of the icon */
	overflow: hidden;
}