body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; } .container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; } .button { padding: 20px 50px; font-size: 20px; border: none; background-color: rgba(255, 255, 255, 0.5); border-radius: 10px; margin: 15px; cursor: pointer; transition: filter 0.3s ease; } .background { position: absolute; top: -20%; left: -20%; width: 140%; height: 140%; background-image: url('wallp.jpg'); /* Updated image path */ background-size: cover; background-position: center center; /* Center the background */ filter: blur(10px); z-index: 0; } .selected { filter: blur(0px); } .header { text-align: center; margin-bottom: 20px; } .header h2 { font-family: 'Baloo 2', sans-serif; font-size: 35px; color: #333; /* Adjust color as needed */ margin: 0; } /* Media query for small screens (e.g., mobile devices) */ @media (max-width: 600px) { .button { width: calc(100% - 10px); /* Adjust button width to fit two buttons side by side with spacing */ font-size: 20px; /* Adjust font size */ white-space: nowrap; } }