crypto / static /index.css
simran19's picture
Upload 13 files
057c687 verified
html, body {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f0f4f8;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
background-image: url('https://cdn-uploads.huggingface.co/production/uploads/68c9040752743c0e389c6079/godxRSU1oajLeS-WEFT1z.gif')
');
background-size: cover;
}
/* Video background with fallback image */
.video-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
overflow: hidden;
background-position: center;
}
#backgroundVideo {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
}
/* Overlay to darken video */
.video-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
z-index: -1;
}
/* HOME link at top right */
a {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999; /* very high so it’s on top */
font-size: 18px;
padding: 10px 20px;
background-color: white;
color: #1a73e8;
text-decoration: none;
border-radius: 5px;
border: 1px solid #1a73e8;
font-weight: bold;
box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}
/* Form container */
.page-container {
width: 400px;
background-color: white;
border-radius: 10px;
padding: 30px 40px;
box-sizing: border-box;
color: black;
display: flex;
flex-direction: column;
align-items: flex-start;
}
/* Heading */
.page-container h1 {
font-weight: bold;
font-size: 28px;
margin-bottom: 25px;
color: #1a73e8;
}
/* Labels and inputs */
.form-group label {
font-size: 20px;
color: #333;
margin-bottom: 5px;
display: block;
}
.form-group input {
width: 100%;
padding: 8px;
margin-bottom: 15px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Buttons container */
.btn {
flex:1;
flex-direction:column;
padding: 14px 18px;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.btn-primary:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.btn-secondary {
background: white;
color: #333;
border: 2px solid #e1e5e9;
}
.btn-secondary:hover {
background: #f8f9fa;
border-color: #333;
}
.btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* Footer */
.footer {
text-align: center;
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer p {
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
font-weight: 500;
}