.pageHeader { background-color: var(--orange); text-align: center; padding: 1rem 0 0.5rem; } .upfold { background-color: var(--orange); display: flex; align-items: center; justify-content: space-between; padding: 0 3rem 5rem; border-bottom-right-radius: 3rem; border-bottom-left-radius: 3rem; .profileImage { display: block; position: relative; width: 10rem; height: 10rem; img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; display: block; } svg { position: absolute; bottom: -2rem; right: calc(50% - 3rem); width: 6rem; height: 6rem; } } .userDetails { width: calc(100% - 12rem); display: grid; h2 { grid-column-start: 1; grid-column-end: 4; font-size: 1.7rem; color: var(--black); } .stat { margin-top: 1rem; color: var(--brownish-black); line-height: 1.2; h5 { font-size: 1.6rem; } label { font-size: 1.6rem; } } } } .searchBar { background-color: white; display: flex; border-radius: 3rem; height: 5rem; width: calc(100% - 6rem); margin: -2.5rem auto 2.5rem; align-items: center; justify-content: space-between; box-shadow: 0px 5px 30px -20px var(--grey); input { height: 100%; border: 0; width: calc(100% - 5rem); background-color: transparent; padding-left: 2rem; font-size: 1.4rem; } svg { width: 5rem; fill: var(--red); } } .blockHeader { display: flex; align-items: center; justify-content: flex-start; h4 { font-size: 1.6rem; color: var(--black); flex-grow: 1; svg { width: 2rem; height: 2rem; fill: var(--black); vertical-align: middle; margin-right: 1rem; } } button { background-color: var(--teal); width: 3rem; height: 3rem; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: 1rem; svg { fill: white; width: 1.2rem; } } } $block-padding: 0 2rem; .List { padding: #{$block-padding}; ul { list-style: none; } li { display: flex; justify-content: space-between; align-items: center; margin: 2rem 0; &:nth-child(1) .icon { background-color: var(--red); } &:nth-child(2) .icon { background-color: var(--orange); } &:nth-child(3) .icon { background-color: var(--blue); } .icon { width: 4rem; height: 4rem; background-color: var(--grey); display: flex; align-items: center; justify-content: center; border-radius: 50%; svg { fill: white; width: 3rem; } } .info { width: calc(100% - 5rem); label, span { display: block; } label { font-size: 1.2rem; color: var(--black); font-weight: 700; } span { font-size: 1rem; color: var(--grey); font-weight: 500; } } } } .Shelf { padding: #{$block-padding}; ul { list-style: none; } }