* { box-sizing: border-box; max-width: none; } 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 { height: 25px; border-radius: 5px; border: 1px solid black; background-color: lightgrey; } .progress-bar_value { color: white; height: 100%; display: flex; padding: 0 10px; justify-content: flex-end; align-items: center; white-space: nowrap; text-align: center; border-radius: 5px; min-width: 0; }