/* to set a minimum height for the website */ body{ min-height: 100vw; } /*card grid to allow cards to be displayed in a grid*/ .card-grid { display: grid; grid-template-columns: repeat(4, auto); gap: 45px; margin-top: 40px; } /* card design for information pallets as first collumn*/ .card { background-color: #EADDCF; width: 200px; height: 260px; border: 6px solid #CEBBA9; padding: 10px; text-align: left; border-radius: 35px; transition: 0.6s; } /* makes the cards highlight themselves when you hover over them*/ .card:hover { box-shadow: 0 10px 16px 0 rgba(0,0,0,0.4); background-color: #7FC8AB; border: 6px solid #236E44; transition: 0.6s; } /* text body above buttons */ .hero { display: flex; flex-direction: row; align-items: center; gap: 140px; } .hero-text { display: flex; padding-left: 60px; flex-direction: column; } /* for the image next to the text body */ .hero-image { margin-top: 50px; width: 400px; margin-bottom: 40px; } .title{ font-size: 40px; font-weight: 900; font-family: sans-serif; color: #292E3A; } .text{ font-size: 12px; font-family: sans-serif; font-weight: 900; color: #292E3A; } /* for the title of each card */ .CT{ font-family: sans-serif; padding-left: 5px; font-weight: 800; color: #292E3A; text-decoration: underline; } /* for the text of each card */ .Cf{ padding-left: 10px; font-weight: 600; font-size: 14px; color: #292E3A; font-family: sans-serif; padding-right: 10px; }