ul {
  background: white;
}

nav > ul {
  background: blue;
  border: 2px solid red;
}

p {
  margin-top: 2em;
}

h3.important ~ p {
  margin-top: 0;
  color: red;
}

a[title] {
  text-decoration: underline;
  font-weight: 700;
}

a[href^="http"] {
  padding-left: 30px;
}

input[type="text"] {
  border: 2px solid black;
}

input[type="submit"] {
  background: blue;
  color: white;
}

ul.pseudo {
  border: 1px solid #000;
}

ul.pseudo li {
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  padding: 1em;
}

ul.pseudo li:last-child {
  border-bottom: none;
}

ul.nth-child li:nth-child(3) {
  color: red;
}

article p:nth-of-type(3) {
  color: red;
}

ol.nba-table {
  list-style: none;
  border: 1px solid #000;
}

ol.nba-table li {
  padding: 0.3em;
  border-bottom: 1px solid #000;
}

ol.nba-table li:nth-child(-n + 6) {
  background: green;
}

ol.nba-table li:nth-child(n + 7):nth-child(-n + 10) {
  background: blue;
  color: white;
}

ol.nba-table li:nth-last-child(-n + 5) {
  background: gray;
  color: white;
}

ol.nba-table li:last-child {
  border-bottom: none;
}
