106 lines
1.7 KiB
CSS
106 lines
1.7 KiB
CSS
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
background: radial-gradient(circle at center,
|
|
rgb(255, 255, 255) 0%,
|
|
rgb(255, 150, 50) 20%,
|
|
rgb(255, 40, 0) 35%,
|
|
rgb(110, 0, 150) 55%,
|
|
rgb(5, 10, 35) 100%
|
|
)
|
|
}
|
|
|
|
#game {
|
|
margin: 3px auto 0px auto;
|
|
padding: 0px;
|
|
width: 1280px;
|
|
height: 650px;
|
|
}
|
|
|
|
#canvas {
|
|
width: 1280px;
|
|
height: 650px;
|
|
margin: 0px;
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#startMenu {
|
|
position: absolute;
|
|
width: 1280px;
|
|
height: 650px;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(6px);
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
z-index: 10;
|
|
|
|
font-family: 'Poppins', Arial, sans-serif;
|
|
|
|
animation: fadeIn 1s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.title {
|
|
font-size: 70px;
|
|
margin-bottom: 40px;
|
|
color: #ffffff;
|
|
letter-spacing: 4px;
|
|
|
|
text-shadow:
|
|
0 0 10px #00eaff,
|
|
0 0 20px #00eaff,
|
|
0 0 30px rgba(0, 234, 255, 0.7);
|
|
|
|
animation: glow 3s infinite alternate ease-in-out;
|
|
}
|
|
|
|
@keyframes glow {
|
|
from { text-shadow: 0 0 8px #00eaff, 0 0 16px #00eaff; }
|
|
to { text-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff; }
|
|
}
|
|
|
|
.menuButton {
|
|
font-size: 28px;
|
|
padding: 12px 50px;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
|
|
background: rgba(20, 20, 20, 0.8);
|
|
color: white;
|
|
|
|
border: 2px solid #00eaff;
|
|
border-radius: 12px;
|
|
|
|
box-shadow: 0 0 10px rgba(0, 234, 255, 0.4);
|
|
|
|
transition: 0.3s ease-in-out;
|
|
}
|
|
|
|
|
|
.menuButton:hover {
|
|
background: #00eaff;
|
|
color: #000;
|
|
box-shadow: 0 0 20px #00eaff;
|
|
transform: scale(1.05)
|
|
} |