body{ min-height:100vw; } /*card grid to allow cards to be displayed in a grid*/ .list-grid { display: grid; grid-template-columns: repeat(2, 320px); gap: 45px; } /* card design for information pallets as first collumn*/ .list { background-color: #EADDCF; width: 280px; height: 180px; margin-bottom: 25px; margin-left: 60px; border: 6px solid #CEBBA9; padding: 5px; text-align: center; border-radius: 20px; transition: 0.6s; } /* makes the cards highlight themselves when you hover over them*/ .list: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 */ .lb { display: flex; flex-direction: row; align-items: center; gap: 10px; } .lb-text { display: flex; padding-left: 5px; flex-direction: column; } /* for the image next to the text body */ .lb-image { margin-top: 10px; height: 80px; }