@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  width: 100%;
  height: 100vh;
  font-size: 15px;
  background-color: hsl(212, 45%, 89%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 50%;
  max-width: 320px;
  background-color: hsl(0, 0%, 100%);
  border-radius: 5%;
  padding: 1em;
  gap: 15px;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h1 {
  color: hsl(218, 44%, 22%);
  font-size: 1.2em;
}

.card p {
  font-size: 0.9em;
  color: hsl(216, 15%, 48%);
  padding: 1em;
}

.attribution {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  font-size: 0.75rem;
  text-align: center;
  color: hsl(228, 45%, 44%);
  background-color: transparent; 
}

.attribution a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.attribution a:hover {
  text-decoration: underline;
}


@media (min-width: 1024px) {
  .card h1 {
    font-size: 1.5em;
  }
}
