* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: #fff;
}

h1 {
  text-align: center;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.root {
  margin: 0 auto;
  max-width: 450px;
  border: solid 1px #ccc;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

.goal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.goal__name {
  font-size: 1.2rem;
}
.goal__date {
  font-size: 0.8rem;
}
