@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap");

:root {
  --pale-blue: hsl(225, 100%, 94%);
  --bright-blue: hsl(245, 75%, 52%);
  --very-pale-blue: hsl(225, 100%, 98%);
  --desaturated-blue: hsl(224, 23%, 55%);
  --dark-blue: hsl(223, 47%, 23%);
}

* {
  box-sizing: border-box;
  font-family: "Red Hat Display", sans-serif;
}

body {
  background-image: url(images/pattern-background-mobile.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center; 
}

@media screen and (min-width: 640px) {
  body {
    background-image: url(images/pattern-background-desktop.svg);
    background-color: #E0E8FF;
    background-position: top;
    background-size: 100%;
    
  }
}
.card {
  height: 620px;
  width: 400px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  margin: 10vh 0;
  border-radius: 20px;
  background: white;
}

.card__cover {
  background-image: url(images/illustration-hero.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 200px;
  border-radius: 20px 20px 0 0;
}

.card__main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  flex-grow: 1;
}

.card__title {
  color: var(--dark-blue);
  margin: 0;
  font-weight: 900;
  font-size: 1.5rem;
}

.card__description {
  text-align: center;
  font-size: 16px;
  color: var(--desaturated-blue);
  margin: 0;
}

.card__pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f8f9fe;
  width: 100%;
  border-radius: 10px;
}

.card__pricing > * {
  margin-right: 20px;
}

.card__plan__title {
  color: var(--dark-blue);
  font-weight: 900;
}

.card__plan__annual {
    color:var(--desaturated-blue);
}

.card__pricing > span {
  margin-left: auto;
  margin-right: 0;
  color: #5143d7;
  font-weight: 700;
  font-size: 14px;
}

.card__pricing > span:hover {
  color: #766cf1;
  cursor: pointer;
}

.card__payment-btn {
  width: 100%;
  padding: 14px;
  background: hsl(245, 75%, 52%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0px 10px 16px 0px hsla(245, 75%, 52%, 0.2);
}

.card__payment-btn:hover {
  background: #766cf1;
  cursor: pointer;
  box-shadow: 0px 10px 16px 0px hsla(245, 83%, 68%, 0.4);
}

.card__cancel-btn {
  border: none;
  color: var(--desaturated-blue);
  background: none;
  font-weight: 900;
}

.card__cancel-btn:hover {
    color: var(--dark-blue)
    cursor: pointer;
}