@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

:root {
	--border-color: #144fc6;
	--fill-color: #6ab3f8;
}

/* Basic CSS Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #3494e4;
	color: #fff;
	font-family: Montserrat, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 40px;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

h1 {
	margin-top: 10px;
}

h3 {
	font-weight: 400;
	margin: 10px 0;
}

.cup {
	background-color: #fff;
	color: var(--border-color);
	border: 4px solid var(--border-color);
	border-radius: 0 0 40px 40px;
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.cup.cup-big {
	height: 330px;
	width: 150px;
}

.cup.cup-small {
	border-radius: 0 0 15px 15px;
	height: 95px;
	width: 50px;
	background-color: rgba(255, 255, 255 0.9, alpha);
	font-size: 14px;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.cup.cup-small.full {
	background-color: var(--fill-color);
	color: #fff;
}

.cups {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 280px;
}

.remaining {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1;
	transition: all 0.3s ease;
}

.remaining span {
	font-size: 20px;
	font-weight: bold;
}

.remaining small {
	font-size: 12px;
}

.percentage {
	background-color: var(--fill-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 30px;
	height: 0;
	transition: all 0.3s ease;
}

.text {
	text-align: center;
	margin-bottom: 8px;
}
