*{ margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", serif; } #background { position: absolute; z-index: -1; } html { margin: 0; overflow: hidden; font-size: 1.2em } body { background: linear-gradient(-45deg, #2a5596, #cf8fa7, #23a6d5, #23d5ab); background-size: 400% 400%; animation: gradient 14s ease infinite; height: 100vh; display: grid; place-items: center; } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } h2{ font-size: 2.4rem; font-family: "Lexend Deca Light", serif; text-align: center; } p,a{ font-size: 1.7rem; } .feedback-section{ box-shadow: 0 0 10rem #fff, 0 0 15rem #fff, 0 0 12rem #b05af7, 0 0 15rem #d99ef0, 0 0 15rem #7305f9, inset 0 0 12rem #2f0a6c; padding: 5rem; } .rating{ display: flex; justify-content: space-between; align-items: center; gap: 3.2rem; margin: 4.8rem 0 3.2rem 0; } /*.child p:first-child{}*/ /*.unhappy p, .happy p, .satisfied p{}*/ :is(.unhappy, .happy, .satisfied) h3{ text-align: center; } :is(.unhappy, .happy, .satisfied, .response-screen) p:first-child{ background-color: #2f0a6c; border-radius: 1rem; font-size: 5.6rem; padding: 1.6rem 2.4rem; cursor: pointer; margin-bottom: 1.2rem; transition: all .3s linear; } :is(.unhappy, .happy, .satisfied) p:first-child:hover{ scale: 1.05; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px; } .feedback-btn{ width: 100%; text-align: center; } a{ padding: 1.2rem 3.2rem; border: none; outline: none; cursor: pointer; background-color: #20262E; color: #fff; font-size: 1.8rem; border-radius: .5rem; /*display: inline-block;*/ font-family: "Lexend Deca Light", serif; } .active{ scale: 1.05; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 2px, rgb(51, 51, 51) 0px 0px 0px 2px; border-radius: .6rem; } .response-screen { text-align: center; } .response-screen h3{ margin: 1.2rem 0 3.2rem 0; font-size: 1.4rem; } .response-screen .feedback-button{ margin-top: 3.2rem; } .glow-on-hover { width: 220px; height: 46px; border: none; outline: none; color: #fff; background: #111; cursor: pointer; position: relative; z-index: 0; border-radius: 10px; font-size: 22px; bottom: -12px; text-align: center; color:white; letter-spacing: .2rem; padding: 5px; font-family: 'Montserrat',sans-serif; } .glow-on-hover:before { content: ''; background: linear-gradient(45deg, #1e0e85, #00ffd5, #002bff, #7a00ff, #ff00c8); position: absolute; top: -2px; left:-2px; background-size: 400%; z-index: -1; filter: blur(5px); width: calc(100% + 4px); height: calc(100% + 4px); animation: glowing 20s linear infinite; opacity: 0; transition: opacity .3s ease-in-out; border-radius: 10px; } .glow-on-hover:active { color: #000 } .glow-on-hover:active:after { background: transparent; } .glow-on-hover:hover:before { opacity: 1; } .glow-on-hover:after { z-index: -1; content: ''; position: absolute; width: 100%; height: 100%; background: #290760; left: 0; top: 0; border-radius: 10px; } @keyframes glowing { 0% { background-position: 0 0; } 50% { background-position: 400% 0; } 100% { background-position: 0 0; } } .input1 { width: 100%; height: 4rem; background-color: #290760; display: flex; font-size: 28px; color:white; justify-content: center; align-content: center; text-align: center; border-style: solid; border-width: 3px; border-color: #140760; } ::placeholder { color: white; }