body, button, dialog, input, select {
  font-family: 'Trebuchet MS', sans-serif;
}

body {
  width: 1200px;
  margin: 0 auto;
}

/* formulaires
   =========== */

label, input, select, button {
  display: inline-block;
  box-sizing: border-box;
  margin: 0 10px 5px 0;
}

input, select, button {
  padding: 8px;
  width: 400px;
  font-size: 16px;
}

select, button {
  width: 150px;
}

.tri {
  margin-top: 30px;
}

[name="tri"] {
  width: 200px;
}

#msgErr {
  color: brown;
}

/* liste des tâches
   ================ */

#listeTaches {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(600px, max-content) max-content;
  grid-gap: 3px;
}

.l {
  display: contents;
  cursor: pointer;
}

.l:nth-of-type(2n) .c {
  background-color: #eee;
}

.l:nth-of-type(2n+1) .c {
  background-color: #ddd;
}

.c {
  box-sizing: border-box;
  padding: 5px 20px;
  line-height: 32px;
  border-radius: 3px;
}

[data-fait='true'] {
  text-decoration: line-through;
  color: #aaa;
}

.detail, .effacer {
  color: #777;
  text-decoration: underline;
}

.detail:hover, .effacer:hover {
  color: #000;
}

/* fenêtre modale
   ============== */

#modale {
  min-width: 300px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 8px #777;
}

#modale h2 {
  margin-bottom: 30px;
  text-align: center;
}

#modale span {
  color: cornflowerblue;
  font-weight: bold;
}

#modale button {
  display: block;
  margin: 30px auto 10px;
}