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

body {
  background-color: hsl(0, 0%, 95%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 375px;
}

.card1,
.card2,
.card3 {
  height: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Lexend Deca", sans-serif;
  font-weight: 300;
  font-size: 15px;
  padding: 40px;
  color: hsla(0, 0%, 100%, 0.75);
}

.card1 {
  background-color: hsl(31, 77%, 52%);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

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

.card3 {
  background-color: hsl(179, 100%, 13%);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.icon {
  margin-bottom: 20px;
}

.heading h1 {
  color: hsl(0, 0%, 95%);
  font-family: "Big Shoulders Display", cursive;
  font-size: 36px;
  margin-bottom: 20px;
}

.content {
  margin-bottom: 20px;
}

button {
  background-color: hsl(0, 0%, 95%);
  padding: 12px 30px;
  border: 2px solid hsl(0, 0%, 95%);
  border-radius: 25px;
  font-family: "Lexend Deca", sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: transparent;
  color: hsl(0, 0%, 95%) !important;
}

@media (min-width: 700px) {
  .container {
    flex-direction: row;
    max-width: 920px;
  }

  .card1,
  .card2,
  .card3 {
    height: 500px;
    width: 307px;
  }

  .card1 {
    border-top-right-radius: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .card3 {
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}

