body {
  align-items: center;
  background-color: hsl(0, 0%, 100%);
  box-sizing: border-box;
  display: flex;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  min-width: 260px;
  padding: 40px 22px;
  position: relative;
}

.container {
  border-radius: 0.5em;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: auto;
  max-width: 920px;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}

.item {
  color: hsl(0, 0%, 95%);
  flex: 1;
  font-family: "Lexend Deca", sans-serif;
  padding: 3rem;
}

.item svg path {
  animation-name: carMovement;
  animation-fill-mode: forwards;
  animation-delay: 1s;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  transform: translateX(-70px);
}

@keyframes carMovement {
  from {
    transform: translateX(-70px);
  }
  to {
    transform: translateX(0px);
  }
}

.item h1 {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 0.8em 0 0.6em 0;
}

.item p {
  color: hsla(0, 0%, 100%, 0.75);
  line-height: 1.7em;
  padding-bottom: 0.5em;
}

.sedans {
  background-color: hsl(31, 77%, 52%);
}

.suvs {
  background-color: hsl(184, 100%, 22%);
}

.luxury {
  background-color: hsl(179, 100%, 13%);
}

.btn {
  background-color: hsl(0, 0%, 95%);
  border: 2px solid hsl(0, 0%, 95%);
  border-radius: 2em;
  cursor: pointer;
  font-family: "Lexend Deca", sans-serif;
  font-size: 1em;
  padding: calc(1em - 2px) 2em;
}

.btn-sedans {
  color: hsl(31, 77%, 52%);
}

.btn-suvs {
  color: hsl(184, 100%, 22%);
}

.btn-luxury {
  color: hsl(179, 100%, 13%);
}

.btn:hover {
  background-color: hsla(0, 0%, 100%, 0);
  color: hsl(0, 0%, 95%);
}

.attribution {
  align-items: flex-end;
  display: flex;
  font-size: 11px;
  height: 100%;
  margin: 0 auto 4px auto;
  padding: 0 22px;
  position: absolute;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

@media screen and (min-width: 768px) {
  .container {
    flex-direction: row;
  }

  .item p {
    padding-bottom: 4.4em;
  }
}
