@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Red Hat Display", sans-serif;
  background-color: hsl(225, 100%, 98%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.bg-box {
  background: url(images/pattern-background-mobile.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  height: 19.4rem;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
}
.order-summary-component {
  max-width: 32.7rem;
  height: 56.7rem;
  margin: 0 auto;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.order-summary-component-content {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.main-header {
  font-size: 2.2rem;
  font-weight: 900;
}

.text {
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: 500;
  color: #717fa6;
}

.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsl(225, 100%, 98%);
  padding: 1.6rem;
  border-radius: 10px;
}
.plan-name {
  font-size: 1.4rem;
  font-weight: 900;
}
.price {
  font-size: 1.4rem;
  font-weight: 500;
  color: #717fa6;
}
.link:link,
.link:visited {
  color: #382ae1;
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  transition: all 0.3s;
}
.link:hover,
.link:active {
  border-bottom: 2px solid transparent;
  color: #766cf1;
  cursor: pointer;
}
.btn {
  background-color: #382ae1;
  border: none;
  color: #fff;
  height: 5rem;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  transition: all 0.3s;
}
.btn:hover {
  background-color: #766cf1;
  cursor: pointer;
}
.cancel {
  font-size: 1.5rem;
  font-weight: 900;
  color: #717fa6;
  border: none;
  background-color: transparent;
  transition: all 0.3s;
}
.cancel:hover {
  color: #1f2e55;
  cursor: pointer;
}
.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.icon {
  width: 4.8rem;
}
.hero-img {
  width: 100%;
}
.btn {
  display: block;
  width: 100%;
}

@media screen and (min-width: 1200px) {
  .bg-box {
    height: 43.7rem;
    background: url(images/pattern-background-desktop.svg);
  }
  .order-summary-component {
    max-width: 45rem;
    height: 69.7rem;
  }
  .main-header {
    font-size: 2.8rem;
  }
  .text {
    font-size: 1.6rem;
  }
  .order-summary-component-content {
    padding: 4.8rem;
  }
  .plan-name {
    font-size: 1.6rem;
  }
  .link:link,
  .link:visited {
    font-size: 1.4rem;
  }
}
