@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

header.header {
  background: #d8d8d8;
  width: 100%;
  position: sticky;
  top: 0;
  text-align: center;
}
main {
  padding: 2em 0;
  flex: 1;
}
footer {
  background: #323232;
  color: white;
  width: 100%;
  padding: 1em;
  text-align: center;
  font-style: italic;
}
footer a {
  color: white;
}

ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}
.card {
  width: 400px;
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.positive {
  color: green;
  font-weight: bold;
}
.negative {
  color: red;
  font-weight: bold;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.error {
  color: red;
  font-style: italic;
}
