$base-color: rgb(20, 20, 20); $base-color-light: rgb(104, 104, 104); $primary-color: rgb(40, 75, 98); $secondary-color: rgb(73, 144, 191); * { box-sizing: border-box; } .plan-page { display: flex; flex-direction: column; align-items: center; &-text { text-align: center; margin: 4px 0; } } .plan-title { font-size: 48px; font-weight: 600; margin: 4px 4px; } /* Style the list */ .plan-list { margin: 0; padding: 0; -webkit-transition: 0.3s; transition: 0.3s; } .plan-container { display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; gap: 40px; //flex-direction colunn for mobile @media (max-width: 600px) { flex-direction: column; gap: 20px; } } /* Pricing header */ .plan { height: 560px; width: 400px; display: flex; flex-direction: column; align-items: center; border-radius: 24px; padding: 0 0 40px 0; gap: 32px; margin-top: 32px; background-color: $base-color; &-header { width: 100%; border-radius: 24px 24px 0px 0px; background-color: $primary-color; display: flex; flex-direction: column; align-items: center; // border-bottom: solid white; // border-width: 4px; } &-label { margin-bottom: 0px; color: white; font-size: 28px; } &-price { font-size: 20px; } &-body { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 0 24px; } &-list { width: 100%; background-color: $base-color; display: flex; list-style-type: none; flex-direction: column; gap: 12px; font-size: 1em; li { margin: 0px 24px; } li:before { content: '\2713'; display: inline-block; color: green; padding: 0 6px 0 0; } } :hover { box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2); } } /* Grey list item */ .price .grey { font-size: 20px; } /* The "Sign Up" button */ .button { background-color: #284b63; border-radius: 8px; color: white; padding: 10px 25px; text-align: center; text-decoration: none; font-size: 18px; } /* Change the width of the three columns to 100% (to stack horizontally on small screens) */ @media only screen and (max-width: 600px) { .pricing-columns { width: 100%; } } .premium { background-color: $secondary-color; }