@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); :root { --yellow:#f5bf23; --black:#111; --white:#fff; --light-color:#666; --light-bg:#eee; --box-shadow:0 .5rem 1rem rgba(0,0,0,.1); --border:.1rem solid rgba(0,0,0,.3); } * { margin: 0; padding: 0; font-family: "Montserrat", sans-serif; box-sizing: border-box; outline: none; border: none; text-decoration: none; transition: all .2s linear; } @mixin grid($val) { display: grid; grid-template-columns: repeat(auto-fit, minmax($val, 1fr)); gap: 2rem; } @mixin titleText($titleSize) { font-size: $titleSize; color: var(--black); text-transform: capitalize; } @mixin graphText($graphSize) { font-size: $graphSize; color: var(--light-color); line-height: 1.5; } @mixin iconsBox() { height: 5rem; width: 5rem; line-height: 5rem; font-size: 2rem; background: var(--light-bg); color: var(--black); cursor: pointer; text-align: center; &:hover { background: var(--black); color: var(--white); } } html { font-size: 62.5%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 7rem; &::-webkit-scrollbar { width: 1rem; } &::-webkit-scrollbar-track { background: transparent; } &::-webkit-scrollbar-thumb { background: var(--yellow); } } .header { position: sticky; top: 0; left: 0; right: 0; box-shadow: var(--box-shadow); padding: 1.5rem 10%; display: flex; align-items: center; justify-content: space-between; z-index: 1000; .logo { font-size: 2.5rem; // Menetapkan ukuran font langsung di sini color: var(--black); span { color: var(--yellow); } } }