* {
margin: 0;
padding: 0;
}
body {
font-family: 'Poppins', sans-serif;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #f0f0f3; /* Light background for soft neumorphism effect */
}
.neumorphic-container {
display: flex;
justify-content: center;
align-items: center;
background: #f0f0f3;
padding: 30px;
border-radius: 20px;
box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff; /* Neumorphic shadow */
}
#number {
font-size: 2.5rem;
margin: 0 25px;
color: #333;
font-weight: 600;
}
.neumorphic-btn {
background: #f0f0f3; /* Same as the body background */
border: none;
padding: 15px 35px;
font-size: 1.5rem;
color: #4a69bd; /* Soft blue color */
border-radius: 12px;
box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.1), -6px -6px 15px rgba(255, 255, 255, 0.7);
cursor: pointer;
transition: all 0.2s ease;
}
.neumorphic-btn:active {
box-shadow: inset 6px 6px 15px rgba(0, 0, 0, 0.1), inset -6px -6px 15px rgba(255, 255, 255, 0.7);
transform: scale(0.97);
}
.neumorphic-btn:hover {
box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.2), -6px -6px 20px rgba(255, 255, 255, 0.8);
background-color: #d1e8ff; /* Light blue when hovering */
color: #0c2461; /* Darker blue on hover */
}
.neumorphic-btn:focus {
outline: none;
}
/* Beautiful color combination */
body {
background-color: #f0f0f3; /* Soft light grey */
}
.neumorphic-container {
box-shadow: 20px 20px 50px #d1d9e6, -20px -20px 50px #ffffff;
}
#number {
color: #30336b; /* Deep dark blue for the number */
}
.neumorphic-btn {
background: #f0f0f3;
color: #4a69bd; /* Soft pastel blue for buttons */
}
.neumorphic-btn:hover {
background-color: #d1e8ff; /* Light blue on hover */
color: #0c2461; /* Darker blue text */
}