Gradient Background
The background uses CSS3 linear-gradient
to achieve a deep blue to black gradient, maintaining an overall dark tone while giving the page depth and dimensionality.
body {
background: linear-gradient(135deg, #0D0D0D, #1E1E1E, #0D0D0D);
height: 100vh;
margin: 0;
font-family: 'Roboto', sans-serif;
}
By adjusting the gradient angle and color stops, we create the vastness and tranquility of deep space.
Primary & Accent Colors
The primary color is charcoal black #0D0D0D, complemented by dodger blue #1E90FF and orange-red #FF4500 to highlight key buttons and interactive areas, enhancing visual impact.
.button {
background-color: #1E90FF;
color: #FFFFFF;
border: none;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.button:hover {
background: linear-gradient(45deg, #1E90FF, #FF4500);
}