

* {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: black;
  background-color: white;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}




nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  gap: 0.5rem;
  border-bottom: solid 1px #aaa;
  background-color: #eee;
}

nav a {
  display: inline-block;
  min-width: 9rem;
  padding: 0.5rem;
  border-radius: 0.2rem;
  border: solid 1px #aaa;
  text-align: center;
  text-decoration: none;
  color: #555;
}

nav a[aria-current='page'] {
  color: #000;
  background-color: #d4d4d4;
}

main{
  padding:50px;
}
h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h3 {
  text-transform: capitalize;
}

p {
  line-height: 1.5;
}

.cards {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 2rem;
  row-gap: 2rem;
  grid-auto-flow: dense;
  align-items: start;
}
.cards .card {
  margin: 0 auto;
  max-width: 320px;
  height: fit-content;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
.cards .card:hover {
  cursor: pointer;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s, transform 0.3s;
  transform: scale(1.05);
}
.cards .card:hover .card-header h3 {
  transition: color 0.3s;
  color: royalblue;
}
.cards .card .card-hero img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.cards .card .card-header {
  padding: 8px 16px;
}
.cards .card .card-body {
  padding: 8px 16px;
}
.cards .card .card-footer {
  padding: 8px 16px 16px 16px;
  display: flex;
  gap: 8px;
}
.cards .card .card-footer .footer-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.cards .card .card-footer .avatar {
  width: 40px;
  height: 32px;
  border-radius: 5%;
}

a {
  display:inline-block;
  text-decoration: none;
  color: #555;
}
.muted {
  color: rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width: 1100px) {
  .cards .card {
    max-width: 280px;
  }
}
@media only screen and (max-width: 920px) {
  .cards {
    margin-top: 1rem;
    margin-bottom: 2rem;
    grid-template-columns: 1fr;
  }
  .cards .card {
    max-width: 400px;
  }
}
@media only screen and (max-width: 500px) {
  .cards {
    margin-top: 1rem;
    margin-bottom: 2rem;
    grid-template-columns: 1fr;
  }
  .cards .card {
    max-width: 320px;
  }
}