#chooseplan {
  display: grid;
  align-items: center;
  height: 100vh;
  max-height: 800px;
  margin-top: 8rem;
  background-color: var(--background);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);

  @media screen and (max-width: 920px) {
    height: unset;
    max-height: unset;
  }
  
  .container {
    padding-block: 2rem;
    padding-bottom: 4rem;
    gap: 3rem;
    display: grid;
    text-align: center;
    
    h3 {
      color: var(--dark);
      margin: 0;

      @media screen and (max-width: 920px) {
        margin-bottom: 3rem;
      }
    }
    
    .alert {
      font-weight: 400;
      font-size: 1.25rem;
    }
  }
}

#chooseplan .cards {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;

  @media screen and (max-width: 920px) {
    flex-direction: column;
    padding-inline: 1rem;
  }

  .card {
    gap: 1.5rem;
    padding: 2rem;

    @media screen and (max-width: 920px) {
      padding: 2rem 1rem;
    }

    &:nth-child(1) {
      padding-top: 3rem;
    }

    &:nth-child(2) {
      background-color: var(--secondary-light);
      color: white;
    }

    .title {
      text-transform: uppercase;
      font-size: 2.375rem;
      font-weight: 800;
    }

    .old-price {
      font-weight: 200;
      font-size: 1.875rem;
      font-family: "League Spartan", sans-serif;
      position: relative;

      img {
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        transform: rotate(2.5deg)
      }
    }

    .price {
      font-size: 1.75rem;
      font-weight: 400;
      font-family: "League Spartan", sans-serif;

      b {
        font-weight: 800;
        font-size: 2.75rem;
      }
    }

    .economy, .count {
      font-size: 1.75rem;
      font-weight: 800;
    }

    .credit {
      font-weight: 400;
      font-size: 1.25rem;
    }

    button {
      background-color: white;
      color: var(--dark);
      font-weight: 700;
    }
  }
}
