@import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #fdfdfd;
  font-family: Roboto, arial, sans-serif;
  font-size: 1rem;
}
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-left: 1.5rem;
}
h1 {
  color: #000000ae;
  margin-bottom: 0.5rem;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 1rem 0;
}
h2.card--title {
  color: #222;
  font-weight: bolder;
  text-transform: capitalize;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  text-align: left;
  font-size: 2rem;
}
p.description {
  font-weight: lighter;
  font-size: 1rem;
  color: #00000096;
  font-style: italic;
  margin-top: 1rem;
}
.card {
  display: flex;
  align-items: left;
  flex-direction: column;
  width: 15rem;
  height: 15rem;
  background: #f0f0f0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  margin: 1rem;
  overflow: hidden;
  padding: 0.5rem;
}
.card--link {
  background: #f0f0f0;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin: 2rem;
}
.card--avatar {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}
