@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Quicksand', sans-serif; } body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background-image: url(20.jpg); background-repeat: no-repeat; background-size: cover; overflow: hidden; } section::before { content: ''; position: absolute; width: 400px; height: 400px; background: linear-gradient(90deg,orangered,red); box-shadow: 0 0 10px rgb(255, 0, 0), 0 0 20px rgb(245, 12, 12), 0 0 40px rgb(255, 0, 0), 0 0 80px rgb(245, 15, 15), 0 0 100px rgb(255, 35, 35), 0 0 200px orangered; border-radius: 50%; transform: translate(-700px,300px); } section::after { content: ''; position: absolute; width: 60px; height: 60px; background: linear-gradient(#fff,#fff); box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff, 0 0 60px #fff, 0 0 80px #fff, 0 0 100px #fff; border-radius: 50%; transform: translate(350px,-320px); } .container { position: relative; background: rgba(255, 255, 255, 0.05); border-radius: 6px; overflow: hidden; z-index: 10; backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 5px 5px 30px rgba(0,0,0,0.2); } .container .calculator { position: relative; display: grid; } .container .calculator .value { grid-column: span 4; height: 140px; width: 300px; text-align: right; border: none; outline: none; padding: 10px; font-size: 30px; background: transparent; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.5); border-right: 1px solid rgba(255, 255, 255, 0.5); } .container .calculator span { display: grid; place-items: center; width: 75px; height: 75px; font-size: x-large; color: #fff; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.5); border-right: 1px solid rgba(255, 255, 255, 0.5); transition: 0.5s; } .container .calculator span:hover { transition: 0s; background: rgba(255, 255, 255, 0.05); } .container .calculator span:active { background: green; color: #192f00; font-size: 24px; font-weight: 500; } .container .calculator .clear { grid-column: span 2; width: 150px; background: rgba(255, 255, 255, 0.05); } .container .calculator .plus { grid-row: span 2; height: 150px; }