* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "roboto", helvetica, arial, sans-serif;
}

body {
  background-image: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  font-size: 1rem;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 0.5rem;
  text-align: center;
}
nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1rem 1rem 5rem 0;
}

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

li {
  color: #e4e7eb;
  margin-right: 1rem;
}

a {
  color: #e4e7eb;
}

ul a {
  text-decoration: none;
}

nav ul li a:hover {
  color: #ffaa33;
}

.install {
  margin: 20px;
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #e4e7eb;
  display: inline-block;
  padding: 0.5rem;
  position: relative;
  border: 3px solid #e4e7eb;
  border-radius: 25px;
  background-color: transparent;
  transition: 0.3s;
}

.install:hover {
  background-color: #e4e7eb;
  color: #121212;
  cursor: pointer;
}

h1 {
  color: #e4e7eb;
  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;
}
.card {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 17rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  margin: auto;
  overflow: hidden;
}

.card--avatar {
  width: 100%;
  height: 12rem;
  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: #6daa4e;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.card--link:hover {
  transition: 0.3s ease-in-out;
  background: #5a7fb5;
}

@media only screen and (max-width: 415px) {
  nav {
    flex-direction: column;
  }
}
