/* Remove All default styles */

* {
  margin: 0;
  line-height: 2;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

body {
  background-color: #f5d04e;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: white;
  width: 100%;
  max-width: 20rem;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid black;
  box-shadow: 10px 10px;
}

.badge {
  background-color: #f6d04b;
  font-weight: bold;
  display: inline-block;
  padding: 0.15rem 0.3rem;
  border-radius: 0.5rem;
}

.badge,
.card {
  cursor: pointer;
}

.card:hover {
  box-shadow: 15px 15px 0 black;
  transform: translateY(-4px);
  transition: all 0.5s ease-in-out;
}

img {
  width: 100%;
  border-radius: 1rem;
}

.description {
  opacity: 0.5;
  line-height: 1.3;
}

.card-footer {
  display: flex;
  margin-top: 2rem;
}

.card-footer img {
  width: 2rem;
  height: 2rem;
}

.avatar-name {
  margin-left: 1rem;
  font-weight: bold;
}

.title {
  font-size: 1.5rem;
}
