@import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0f2f5;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: dimgray;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 0.5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul {
  list-style: none;
  display: flex;
}

li {
  margin-right: 1rem;
}

h2,
h1 {
  color: #008854;
  margin-bottom: 0.5rem;
}

.container {
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

a {
  text-decoration: none;
  color: dodgerblue;
}

h3.title {
  color: dimgray;
  margin-top: 25px;
  font-weight: 500;
}

.card {
  align-items: center;
  height: 3rem;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.19), 0 3px 3px rgba(0, 0, 0, 0.23);
  border-radius: 7px;
  margin: 15px 0px;
  overflow: hidden;
}

.card--trash {
  width: 25px;
  padding-top: 10px;
  object-fit: cover;
  margin-left: 15px;
  cursor: pointer;
}

.card--avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding: 5px;
  object-fit: cover;
  overflow: hidden;
  box-sizing: border-box;
  margin-left: 15px;
}

.card--title {
  color: #222;
  font-weight: 500;
  text-transform: capitalize;
  font-size: 1rem;
  margin-top: 0.3rem;
  margin-left: 20px;
}

.card--points {
  margin-top: 0.5rem;
  margin-right: 25px;
  font-size: 1.1rem;
  font-weight: 400;
}

.card--points.red {
  color: red;
}

.card--link {
  text-decoration: none;
  background: #db4938;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

a.button,
input[type="submit"] {
  display: inline-block;
  padding: 10px 0px;
  margin: 0 0.3em 0.3em 0;
  border-radius: 5px;
  text-decoration: none;
  color: #FFFFFF;
  background-color: dodgerblue;
  text-align: center;
  transition: all 0.2s;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

a.button:hover,
input[type="submit"]:hover {
  background-color: steelblue;
}

a.secondary {
  background-color: lightcoral;
}

a.secondary:hover {
  background-color: indianred;
}

input {
  padding: 10px;
  width: 100%;
  border: 1px solid #d9d9d9;
  margin-bottom: 15px;
  border-radius: 5px;
}