@import "reset.css";

body {
  display: flex;
  flex-direction: column;
  background-image: url("images/pattern-background-mobile.svg");
  background-repeat: repeat-x;
  background-color: #e0e8ff;
  font-family: "Red Hat Display", sans-serif;
  line-height: 1.5em;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0 auto;
  justify-content: center;
}

footer {
  text-align: center;
}

.card {
  max-width: 450px; /* to match the picture's width */
  margin: 0 1em;
  background-color: white;
  border-radius: 1.5em;
}

.card__img {
  border-radius: 1.5em 1.5em 0em 0em;
}

.column {
  display: flex;
  flex-direction: column;
}

.card__column {
  padding: 2em;
  text-align: center;
  gap: 1em;
}

.card__text {
  color: #717fa6;
}

.card__plan-selection {
  display: flex;
  align-items: center;
  margin: 1em 0;
  background-color: #f7f9ff;
  padding: 1em;
  border-radius: 1em;
}

.plan-selection__img {
  margin-right: 1em;
}

.plan-selection__text {
  text-align: left;
}

.plan-selection__price {
  color: #717fa6;
}

.plan-selection__link {
  margin-left: auto;
  font-size: 0.9em;
}

.btn {
  border: 0;
  padding: 1em 0;
  border-radius: 1em;
}

.btn:hover {
  cursor: pointer;
}

.btn--primary {
  background-color: #382ae1;
  color: white;
}

.btn--primary:hover {
  background-color: #766cf1;
}

.link {
  color: #382ae1;
}

.link:hover {
  color: #766cf1;
  text-decoration: none;
}

.link--neutral {
  color: #717fa6;
  text-decoration: none;
}

.link--neutral:hover {
  color: black;
}

.link--neutral,
.btn {
  font-weight: 700;
}

/* after 750px, the mobile backround image breaks */
@media (min-width: 750px) {
  body {
    background-image: url("images/pattern-background-desktop.svg");
  }
}
