/* RESET - Start */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*RESET - stop*/
body {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 100vw;
  block-size: 100vh;
  padding: 1.5rem;
  font-family: "Red Hat Display", sans-serif;
  background: rgb(224, 232, 255) url("../images/pattern-background-mobile.svg") top center/130% no-repeat;
}
@media (min-width: 90rem) {
  body {
    background: rgb(224, 232, 255) url("../images/pattern-background-desktop.svg") top center/100% no-repeat;
  }
}

.card {
  max-inline-size: 28.125rem;
  max-block-size: 43.5625rem;
  background-color: white;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0px 40px 30px -20px rgba(13, 48, 189, 0.15);
}
.card__hero {
  inline-size: 100%;
  block-size: auto;
}
.card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 2rem 1.5rem 1.5rem;
}
.card__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card__title {
  font-size: 1.375rem;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 900;
  color: rgb(31, 46, 85);
  text-align: center;
}
.card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 500;
  color: rgb(113, 127, 166);
  text-align: center;
}
.card__plan {
  display: flex;
  align-items: center;
  background-color: rgb(247, 249, 255);
  border-radius: 0.6875rem;
  padding: 1rem;
}
.card__icon {
  margin-inline-end: 1rem;
}
.card__spec {
  margin-inline-end: auto;
}
.card__name {
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 900;
  color: rgb(31, 46, 85);
}
.card__price {
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 500;
  color: rgb(113, 127, 166);
}
.card__change {
  border: none;
  background-color: transparent;
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 800;
  color: rgb(56, 42, 225);
  cursor: pointer;
  transition: 0.3s;
}
.card__change:hover, .card__change:focus {
  color: rgb(118, 108, 241);
  outline: none;
}
.card__order {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card__proceed {
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 900;
  color: white;
  background-color: rgb(56, 42, 225);
  border: none;
  border-radius: 0.6875rem;
  padding: 0.7813rem;
  box-shadow: 0px 20px 20px 0px rgba(56, 42, 225, 0.19);
  cursor: pointer;
  transition: 0.3s;
}
.card__proceed:hover, .card__pro ceed:focus {
  background-color: rgb(118, 108, 241);
  outline: none;
}
.card__cancel {
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 900;
  color: rgb(113, 127, 166);
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: 0.3s;
}
.card__cancel:hover, .card__cancel:focus {
  color: rgb(31, 46, 85);
  outline: none;
}
