* {
box-sizing: border-box;
}
html {
font-size: 100%;
}
@font-face {
font-family: 'Cooper Black';
font-weight: normal;
font-style: normal;
font-display: swap;
src:
local('Cooper Black'),
url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.woff') format('woff'),
url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.otf') format('opentype'),
url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.ttf') format('truetype');
}
body {
font-family: "Cooper Black", serif;
font-weight: bold;
max-width: 50rem;
margin: 0 auto;
padding: 1rem;
}
.counter {
padding: 2rem;
text-align: center;
font-size: 2.5rem;
font-weight: 900;
}
.counter_title {
display: block;
font-size: 1.2em;
}
.counter_value {
display: block;
margin: 0;
font-weight: 900;
font-size: 2.5em;
}
.counter_mornings {
display: block;
}
.progress-bar_label {
display: inline-block;
width: 100%;
text-align: center;
}
.progress-bar_bar {
height: 1.2rem;
border-radius: 5px;
border: 1px solid black;
background-color: lightgrey;
}
.progress-bar_value {
background-color: green;
height: 100%;
border-radius: 5px;
}