File size: 3,328 Bytes
057c687 |
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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
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;
}
|