:root {
	--light-red: #ff5757;
	--Orangey-yellow: #ffb01f;
	--Green-teal: #00bd91;
	--Cobalt-blue: #1125d4;

	/* ## Gradients */

	--Light-slate-blue-bg: hsl(252, 100%, 67%);
	--Light-royal-blue-bg: hsl(241, 81%, 54%);

	--Violet-blue-cir: hsla(256, 72%, 46%, 1);
	--Persian-blue-cir: rgba(36, 33, 202, 0);

	/* ### Neutral */

	--Pale-blue: hsl(221, 100%, 96%);
	--Light-lavender: hsl(241, 100%, 89%);
	--Dark-gray-blue: hsl(224, 30%, 27%);
}

body {
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--Dark-gray-blue);
}
p {
	font-size: 18px;
}

.container {
	width: fit-content;
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	border-radius: 20px;
}
@media (min-width: 768px) {
	.container {
		flex-direction: row;
		box-shadow: 5px 7px 20px -10px #999;
		margin-top: 100px;
	}
}
.result {
	flex: 1;
	text-align: center;
	background: linear-gradient(
		to top,
		var(--Light-royal-blue-bg),
		var(--Light-slate-blue-bg)
	);
	color: white;
	max-width: 350px;
	border-radius: 0 0 20px 20px;
	padding: 20px 50px;
}

@media (min-width: 768px) {
	.result {
		border-radius: 20px;
		padding: 40px;
	}
}
.result h2 {
	margin-bottom: 30px;
	color: var(--Pale-blue);
}

.result .circle {
	width: 100px;
	background: linear-gradient(
		to bottom,
		var(--Violet-blue-cir),
		var(--Persian-blue-cir)
	);
	aspect-ratio: 1;
	border-radius: 50%;
	margin-inline: auto;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
}

.result .circle span:first-child {
	font-size: 50px;
	font-weight: bold;
}
.result .circle span:last-child {
	color: var(--Light-lavender);
}
.result .great {
	font-size: 30px;
	margin-bottom: 20px;
}
.result .great + p {
	font-size: 14px;
	opacity: 0.6;
	color: var(--Pale-blue);
}
@media (min-width: 768px) {
	.result .circle {
		width: 80%;
	}
	.result .circle span:first-child {
		font-size: 70px;
	}
}

.summary {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
	padding: 30px;
	max-width: 350px;
}

.summary .scores {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}
.summary .scores .score {
	display: flex;
	justify-content: space-between;
	padding: 20px;
	border-radius: 10px;
	font-weight: bold;
}
.summary .scores .score > div:first-child {
	display: flex;
	gap: 10px;
	align-items: center;
}

.summary .scores .bg-red {
	background-color: rgba(255, 87, 87, 0.2);
}
.summary .scores .red {
	color: var(--light-red);
}

.summary .scores .bg-yellow {
	background-color: rgba(255, 177, 31, 0.2);
}
.summary .scores .yellow {
	color: var(--Orangey-yellow);
}
.summary .scores .bg-green {
	background-color: rgba(0, 189, 145, 0.2);
}
.summary .scores .green {
	color: var(--Green-teal);
}
.summary .scores .bg-blue {
	background-color: rgba(17, 36, 212, 0.2);
}
.summary .scores .blue {
	color: var(--Cobalt-blue);
}

.pale {
	opacity: 0.6;
}

.btn {
	color: white;
	background-color: var(--Dark-gray-blue);
	padding: 20px;
	text-align: center;
	border-radius: 100vh;
	cursor: pointer;
}
.btn:hover {
	background: linear-gradient(
		to top,
		var(--Light-royal-blue-bg),
		var(--Light-slate-blue-bg)
	);
}

.attribution {
	text-align: center;
	margin-top: 20px;
}

.attribution a {
	color: var(--light-red);
	background-color: var(--Light-lavender);
}

#lang {
	margin-block: 16px 0;
}