.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 90%; }

.btn, .btn-clear {
  display: block;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 10px; }

.btn {
  background: #3829e0;
  color: #f5f7ff;
  width: 100%;
  font-weight: 700;
  margin: .7rem 0;
  transition: all 0.3s ease 0s; }
  .btn-clear {
    background: none;
    color: #7280a7;
    font-weight: 700;
    margin: .7rem 0; }
  .btn:hover {
    cursor: pointer;
    opacity: .7; }

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

body {
  font-family: "red hat display", sans-serif; }

.background {
  background: url("../images/pattern-background-desktop.svg") no-repeat top center;
  background-size: contain;
  background-position-y: -14%;
  position: relative;
  min-height: 100vh;
  padding-top: 2rem; }
  .background:before {
    content: '';
    background-color: rgba(183, 199, 243, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

.background * {
  z-index: 2; }

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 1rem;
  z-index: 2; }
  .attribution a {
    color: #3e52a3; }

#main {
  padding: 4rem 0;
  max-width: 375px;
  margin: 0 auto; }

.flex-container {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 1px 3px 10px #7280a7; }

.main-hero {
  max-width: 100%;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px; }

.main-content {
  background: #fff;
  text-align: center;
  padding: 0 1.4rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px; }
  .main-content h1 {
    font-weight: 900;
    margin-bottom: 1rem;
    margin-top: 1.8rem;
    font-size: 1.4rem; }
  .main-content p {
    line-height: 1.6;
    color: #7280a7;
    padding: 0 .6rem; }

.plan {
  background-color: #f5f7ff;
  display: flex;
  padding: 1rem;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  border-radius: 10px; }

.plan-type {
  font-size: .9rem; }

.plan-price {
  font-size: .9rem; }

.plan-change {
  font-size: .8rem;
  font-weight: 700;
  color: #3829e0;
  margin-left: 1.8rem; }

@media screen and (max-width: 1000px) {
  .background {
    position: relative;
    min-height: 120vh;
    background-position-y: top;
    background-size: 200%; }
    .background:before {
      content: '';
      background-color: rgba(183, 199, 243, 0.7);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; } }

@media screen and (min-width: 501px) and (max-width: 1200px) {
  .background {
    background-size: 100% auto;
    position: relative; }
    .background:before {
      content: '';
      background-color: rgba(183, 199, 243, 0.7);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; } }
