75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
CSS
.game {
|
|
width: 100%;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.game-over {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 400px;
|
|
padding: 40px;
|
|
}
|
|
|
|
.game-over-content {
|
|
text-align: center;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 20px;
|
|
padding: 60px 40px;
|
|
border: 2px solid rgba(255, 215, 0, 0.3);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.game-over-title {
|
|
font-size: 5rem;
|
|
color: #ffd700;
|
|
margin-bottom: 30px;
|
|
text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
|
|
}
|
|
|
|
.game-over-score {
|
|
font-size: 3.5rem;
|
|
color: #fff;
|
|
margin-bottom: 40px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.restart-button {
|
|
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 25px 60px;
|
|
font-size: 2rem;
|
|
border-radius: 35px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
|
|
}
|
|
|
|
.restart-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
|
|
}
|
|
|
|
.restart-button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.game-over-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.game-over-score {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.restart-button {
|
|
font-size: 1.1rem;
|
|
padding: 12px 30px;
|
|
}
|
|
}
|
|
|