@import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.material-icons {
  vertical-align: middle;
  margin-right: 5px;
}

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

header {
  margin: 10px;
}

main {
  max-width: 240px;
  margin: 10px;
  padding: 0.5rem;
  text-align: center;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

li {
  margin-right: 1rem;
}

h1 {
  color: #3c4ce7;
  margin-bottom: 0.5rem;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 1rem 0;
}
.card {
  display: flex;
  align-items: center;
  flex-direction: column;
/*  width: 15rem auto; */
/*  height: 15rem; */
  background: #fff;
  border-radius: 10px;
  margin: auto;
  overflow: hidden;
}

.cardhelp {
  display: flex;
  align-items: center;
  flex-direction: row;
/*  width: 15rem auto; */
/*  height: 15rem; */
  background: #fff;
  border-radius: 10px;
  margin: auto;
  overflow: hidden;
}


.card--avatar {
  width: 100%;
  /*height: 10rem;*/
  object-fit: cover;
}

.card--title {
  color: #222;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

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