.common_card{ position: relative; width: 25vw; height: 100%; border-radius: 10px; margin: 10px; z-index: 1; &:before{ content: ''; width: 100%; height: 100%; position: absolute; box-shadow: 0 0 10px 1px var(--dark-grey); filter: brightness(200%); z-index: -1; border-radius: 10px; } } .card_header{ position: relative; width: 100%; height: 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1; &:before{ content: ''; position: absolute; width: 100%; height: 100%; background-color: var(--grey); filter: brightness(150%); z-index: -1; border-radius: 10px 10px 0 0; } h4{ font-size: 18px; color: var(--dark-grey); margin: 0 20px; } button{ width: 30px; height: 30px; padding: 0; border-radius: 30px; font-weight: 800; font-size: 20px; margin: 0 20px; } } .card_upfold{ overflow: auto; list-style: none; height: 300px; h5{ font-size: 16px; color: var(--dark-grey); padding: 5px 0; } p{ font-size: 14px; color: var(--grey); padding: 5px 0; } .cardList{ position: relative; margin: 20px; cursor: pointer; z-index: 0; &:before{ content: ''; position: absolute; width: 100%; height: 100%; background-color: var(--grey); filter: brightness(160%); z-index: -1; transform: scale(105%); border-radius: 10px; border: 1px solid var(--grey); } } } ::-webkit-scrollbar { width: 5px; border-radius: 10px; background: var(--dark-grey); } ::-webkit-scrollbar-track { background: white; border-radius: 10px; } ::-webkit-scrollbar-thumb { border-radius: 10px; background: var(--grey); } ::-webkit-scrollbar-thumb:hover { border-radius: 10px; background: var(--dark-grey); }