* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: hsl(204, 43%, 93%);
  font-family: "Karla", sans-serif;
  font-size: 16px;
  gap: 10px;
  padding-top: 3rem;
}

article {
  display: grid;
  grid-template-columns: auto;
  margin: 0 1.2rem;
}

.part1 {
  background-color: white;
  border-radius: 10px 10px 0 0;
}

.part2 {
  background-color: hsl(179, 62%, 43%);
  border-radius: 0 0 0 10px;
}

.part3 {
  background-color: hsla(179, 62%, 43%, 0.8);
  border-radius: 0 0 10px 0;
}

article div {
  padding: 2.5rem;
}

.part1 h2 {
  color: hsl(179, 62%, 43%);
}

h2 {
  color: white;
  margin-bottom: 1rem;
}

.yellow {
  color: hsl(71, 73%, 54%);
  font-weight: bold;
  margin-bottom: 0.7rem;
}

.details {
  color: rgb(182, 178, 178);
  font-weight: 600;
  font-size: 0.9rem;
}

span {
  font-size: 1.8rem;
  color: white;
  font-weight: bold;
}

.monthly {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(181, 247, 245, 0.8);
}

.price-per-day {
  color: rgb(233, 232, 232);
}

.part3 ul {
  line-height: 1.4;
  font-size: 0.85rem;
  color: rgba(230, 248, 247, 0.8);
}

p {
  line-height: 1.7;
}

.signup:link,
.signup:visited {
  text-decoration: none;
  text-align: center;
  display: inline-block;
  color: white;
  background-color: hsl(71, 73%, 54%);
  border: none;
  border-radius: 5px;
  width: 200px;
  font-size: 1rem;
  padding: 0.8rem 0;
  font-weight: 500;
  font-family: "Karla", sans-serif;
}

@media screen and (min-width: 250px) {
  .part2 {
    border-radius: 0;
  }

  .part3 {
    border-radius: 0 0 10px 10px;
  }

  .signup {
    width: 100%;
  }

  .part2 h3,
  .part2 p {
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 768px) {
  main {
    padding: 0;
  }

  article {
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
  }

  .part1 {
    grid-column: 1/3;
    grid-row: 1/2;
  }

  .part2 {
    border-radius: 0 0 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .part3 {
    border-radius: 0 0 10px 0;
  }
}
