pages/assets/games/casino/style.css
2025-04-14 17:38:06 -04:00

88 lines
1.5 KiB
CSS

/* Apply global styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #000000, #1e3c72); /* Black to blue gradient */
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
}
header {
text-align: center;
margin-bottom: 30px;
}
h1 {
font-size: 3em;
margin: 0;
}
p {
font-size: 1.2em;
}
/* Game selection buttons */
.game-selection {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 40px;
}
button {
padding: 10px 20px;
font-size: 1.2em;
cursor: pointer;
background-color: #1e3c72;
color: white;
border: 2px solid #fff;
border-radius: 8px;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: #154c79;
transform: scale(1.05);
}
button:active {
background-color: #0d3a56;
}
/* Game container styles */
.game {
display: none;
text-align: center;
margin-top: 20px;
}
.game h2 {
font-size: 2em;
margin-bottom: 20px;
}
.game p {
font-size: 1.2em;
margin-bottom: 20px;
}
footer {
position: absolute;
bottom: 20px;
font-size: 1em;
color: #ddd;
text-align: center;
width: 100%;
}
/* Game results */
#race-result, #blackjack-result, #slots-result, #coin-flip-result {
font-size: 1.5em;
margin-top: 20px;
font-weight: bold;
}