body {
	margin: 0;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(dimgray, silver, silver, dimgray);
}

.card {
	width: 400px;
	background: linear-gradient(#333, dimgray);
	color: white;
	box-sizing: border-box;
	padding: 20px 0;
	font-family: sans-serif;
	letter-spacing: 0.1em;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card h2 {
	text-transform: uppercase;
	text-align: center;
}

.card p {
	height: 50px;
	margin: 0;
	padding: 10px 20px;
	transition: 0.3s;
}

.card p:hover {
	background-color: #333;
}

.card p span {
	display: block;
	text-align: right;
	top: -1em;
	position: relative;
}

.card p span::after {
	content: '';
	position: absolute;
	top: 1.2em;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid mediumspringgreen;
	border-radius: 0.2em;
	background-image: linear-gradient(to right, mediumspringgreen, mediumspringgreen);
	background-repeat: no-repeat;
	background-position: top 1px left 1px;
	background-size: var(--level) 1em;
}

.card p.html { --level: 90%; }
.card p.css { --level: 95%; }
.card p.javascript { --level: 80%; }
.card p.svg { --level: 60%; }
.card p.canvas { --level: 75%; }
