body{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

footer{
  margin: 3rem;
  text-align: center;
}

header{
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

hr{
  margin-top: 1.5rem;
  width: 100%;
}

main{
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.boto-afegir{
  background-color: hsl(190, 100%, 90%);
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  transition: 0.25s;
}
.boto-afegir:hover{
  background-color: hsl(190, 100%, 80%);
}

.boto-eliminar{
  cursor: pointer;
}

.import-total{
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.import-total > div:first-child{
  font-weight: bold;
}
.import-total > div:last-child{
  font-size: 1.25rem;
}

.llista-persones{
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  width: 90%;
}
.llista-persones > div{
  align-items: center;
  display: grid;
  font-weight: bold;
  gap: 1rem;
  grid-template-columns: 4fr 4fr 1fr;
  justify-content: center;
  width: 100%;
}
.llista-persones input{
  width: 100%;
}

.reparticio-basica{
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.reparticio-basica > div:first-child{
  font-size: 1.1rem;
  font-weight: bold;
}
.reparticio-basica > div:not(:first-child){
  align-items: center;
  display: flex;
  font-size: 1.1rem;
  gap: 1rem;
  justify-content: center;
}