 header {
	width: 100%;
	position: relative;
	background-color: var(--white);
	padding: 1rem 0;
	box-shadow: 0 4px 2px -2px gray;
}

body {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--light);
}

.feedback {
	background: var(--white);
	padding: 2rem;
	max-width: 400px;
	width: 100%;
	border-radius: .75rem;
	box-shadow: var(--shadow);
	text-align: center;
	margin-top: 20px;
}

.feedback h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.rating {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: .5rem;
	font-size: 2rem;
	color: var(--yellow);
	margin-bottom: 2rem;
}

.rating .star {
	cursor: pointer;
}

.rating .star.active {
	opacity: 0;
	animation: animate .5s calc(var(--i) * .1s) ease-in-out forwards;
}

@keyframes animate {
	0% {
		opacity: 0;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.2);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.rating .star:hover {
	transform: scale(1.1);
}

textarea {
	width: 100%;
	background: var(--light);
	padding: 1rem;
	border-radius: .5rem;
	border: none;
	outline: none;
	resize: none;
	margin-bottom: .5rem;
}

.btn {
	padding: 0.5rem 1rem;
	font-size: 1rem;
	cursor: pointer;
}

.btn-primary {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: .25rem;
	margin-right: 10px;
}

.btn-danger {
	background-color: #dc3545;
	color: white;
	border: none;
	border-radius: .25rem;
}