*{ margin: 0; padding: 0; box-sizing: border-box; } body{ display: flex; justify-content: center; align-items: center; flex-direction: column; min-height: 100vh; background-color: #333; background-image: url("./pc.jpg"); background-repeat: no-repeat; background-position: center; background-size: cover; color: #fff; text-align: center; } img{ width: 100px; height: 100px; margin: 1.25rem; border-radius: 15px; filter: drop-shadow(1.5px 1.5px 6px #aaa); } h1{ filter: drop-shadow(1.5px 1.5px 6px #333); } h3{ filter: drop-shadow(1.5px 1.5px 6px #333); } .ques{ display: flex; flex-direction: row; } .ques p{ margin-right: .5rem; filter: drop-shadow(1.5px 1.5px 6px #333); } .ques select{ border: none; background: none; border-radius: 7px; backdrop-filter: blur(10px); box-shadow: inset 1.5px 1.5px 3px #fff, 10px 10px 20px #333; } button{ text-transform: uppercase; height: 69px; width: 69px; margin-top: 1rem; border-radius: 10px; border: none; background: none; color: #fff; text-shadow: 2px 2px 2.5px #333; /*filter: drop-shadow(10px 10px 20px #333);*/ backdrop-filter: blur(10px); box-shadow: inset 2.5px 2.5px 5px #fff, 10px 10px 20px #333; } .que{ margin-right: 1rem; } .won{ color: lime;/* text-transform: uppercase;*/ } .lose{ color: red;/* text-transform: uppercase;*/ } .gameBack{ padding: 1rem; height: 450px; width: 300px; display: flex; justify-content: space-around; align-items: center; flex-direction: column; backdrop-filter: blur(5px); border-radius: 50px; box-shadow: inset 10px 10px 20px #fff, 10px 10px 20px #333; } @media screen and (max-width: 500px){ body{ background-image: url("./mobile.jpg"); } }