Spaces:
Running
Running
File size: 1,933 Bytes
b82f276 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | /* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
/* Reset and base styles */
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: 'Roboto', sans-serif;
background: url('/images/lawbackground.jpg') no-repeat center center fixed;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
/* Overlay to darken the background image */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
animation: fadeIn 1s ease-out;
}
/* Modal container */
.role-selection {
background: #fff;
padding: 40px;
border-radius: 12px;
text-align: center;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transform: translateY(-20px);
animation: slideUp 0.5s ease-out forwards;
}
/* Heading styles */
.role-selection h2 {
margin-bottom: 10px;
font-weight: 500;
color: #333;
}
.role-selection p {
margin-bottom: 20px;
color: #666;
}
/* Roles container */
.roles {
display: flex;
flex-direction: column;
gap: 15px;
}
/* Role buttons */
.role {
background: #007bff;
color: #fff;
border: none;
padding: 12px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: background 0.3s, transform 0.2s;
}
.role:hover {
background: #0056b3;
transform: translateY(-3px);
}
/* Keyframe animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
} |