* {
  box-sizing: border-box;
}

body {
  background-color: hsl(212, 45%, 89%);
  font-family: "Outfit", sans-serif;
}

.card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0 10px 10px rgb(0 0 0 / 10%);
  left: 50%;
  padding: 20px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  width: 350px;
}

.card:hover {
  box-shadow: 0 0 10px 20px rgb(0 0 0 / 5%);
}

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

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

.card p {
  color: hsl(220, 15%, 55%);
  font-size: 17px;
  line-height: 1.6;
}

.attribution {
  bottom: 20px;
  font-size: 11px;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (max-width: 991px) {
  body {
    min-height: 700px;
  }

  .card {
    width: 90%;
    position: static;
    transform: translate(0, 0);
    margin: 80px auto;
    max-width: 350px;
  }

  .attribution {
    display: none;
  }
}
