Spaces:
Paused
Paused
Update static/index.css
Browse files- static/index.css +52 -99
static/index.css
CHANGED
|
@@ -2,16 +2,15 @@ html, body {
|
|
| 2 |
height: 100%;
|
| 3 |
margin: 0;
|
| 4 |
font-family: Arial, sans-serif;
|
| 5 |
-
background: #f0f4f8;
|
| 6 |
}
|
| 7 |
|
| 8 |
body {
|
| 9 |
display: flex;
|
| 10 |
-
justify-content: center;
|
| 11 |
-
align-items: center;
|
| 12 |
-
min-height: 100vh;
|
| 13 |
-
padding:
|
| 14 |
-
/* remove border-radius on body */
|
| 15 |
}
|
| 16 |
|
| 17 |
/* Video background */
|
|
@@ -23,9 +22,7 @@ body {
|
|
| 23 |
height: 100%;
|
| 24 |
z-index: -2;
|
| 25 |
overflow: hidden;
|
| 26 |
-
background-
|
| 27 |
-
background-size: cover;
|
| 28 |
-
background-position: center center;
|
| 29 |
}
|
| 30 |
|
| 31 |
#backgroundVideo {
|
|
@@ -36,149 +33,105 @@ body {
|
|
| 36 |
min-height: 100%;
|
| 37 |
width: auto;
|
| 38 |
height: auto;
|
| 39 |
-
transform:
|
| 40 |
object-fit: cover;
|
| 41 |
}
|
| 42 |
|
| 43 |
-
/*
|
| 44 |
.video-overlay {
|
| 45 |
position: fixed;
|
| 46 |
top: 0;
|
| 47 |
left: 0;
|
| 48 |
width: 100%;
|
| 49 |
height: 100%;
|
| 50 |
-
background: rgba(0, 0, 0, 0.
|
| 51 |
z-index: -1;
|
| 52 |
}
|
| 53 |
|
| 54 |
-
/*
|
| 55 |
a {
|
| 56 |
position: fixed;
|
| 57 |
-
top:
|
| 58 |
-
right:
|
| 59 |
z-index: 10;
|
| 60 |
font-size: 18px;
|
| 61 |
-
padding:
|
| 62 |
-
background:
|
| 63 |
-
border-radius: 8px;
|
| 64 |
color: white;
|
| 65 |
text-decoration: none;
|
| 66 |
-
|
| 67 |
-
box-shadow: 0 4px 12px rgba(26, 115, 232, 0.7);
|
| 68 |
-
transition: background-color 0.3s ease, box-shadow 0.3s ease;
|
| 69 |
-
}
|
| 70 |
-
a:hover {
|
| 71 |
-
background: linear-gradient(135deg, #155ab6, #2a4c8c);
|
| 72 |
-
box-shadow: 0 6px 20px rgba(21, 90, 182, 0.9);
|
| 73 |
}
|
| 74 |
|
| 75 |
/* Form container */
|
| 76 |
.page-container {
|
| 77 |
width: 400px;
|
| 78 |
-
background:
|
| 79 |
-
border-radius:
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
color: #333;
|
| 84 |
-
font-family: Arial, sans-serif;
|
| 85 |
-
padding: 40px 45px;
|
| 86 |
display: flex;
|
| 87 |
flex-direction: column;
|
| 88 |
align-items: flex-start;
|
| 89 |
-
box-sizing: border-box;
|
| 90 |
-
backdrop-filter: saturate(180%) blur(20px);
|
| 91 |
}
|
| 92 |
|
| 93 |
-
/*
|
| 94 |
.page-container h1 {
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
-
|
| 98 |
-
|
| 99 |
-
font-weight: 900;
|
| 100 |
-
font-size: 2.5rem;
|
| 101 |
-
margin-bottom: 30px;
|
| 102 |
-
text-shadow: 1px 1px 5px rgba(0,0,0,0.15);
|
| 103 |
}
|
| 104 |
|
| 105 |
-
/*
|
| 106 |
.form-group label {
|
| 107 |
-
font-size:
|
| 108 |
-
color: #
|
| 109 |
-
margin-bottom:
|
| 110 |
-
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
|
| 111 |
display: block;
|
| 112 |
}
|
| 113 |
|
| 114 |
-
/* Form inputs */
|
| 115 |
.form-group input {
|
| 116 |
-
background: #f7faff;
|
| 117 |
-
color: #1a3d7c;
|
| 118 |
-
border: 2px solid #a3bffa;
|
| 119 |
-
border-radius: 12px;
|
| 120 |
-
padding: 10px 15px;
|
| 121 |
-
font-size: 18px;
|
| 122 |
-
margin-bottom: 18px;
|
| 123 |
width: 100%;
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
outline: none;
|
| 130 |
-
border-color: #1a73e8;
|
| 131 |
-
box-shadow: 0 0 8px #4285f4;
|
| 132 |
}
|
| 133 |
|
| 134 |
-
/*
|
| 135 |
.button-group {
|
| 136 |
display: flex;
|
| 137 |
-
gap:
|
| 138 |
-
margin-top: 25px;
|
| 139 |
width: 100%;
|
| 140 |
}
|
| 141 |
|
| 142 |
-
/* Buttons */
|
| 143 |
.btn {
|
| 144 |
flex: 1;
|
| 145 |
-
padding:
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
font-size: 18px;
|
| 149 |
-
font-weight: 700;
|
| 150 |
cursor: pointer;
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
justify-content: center;
|
| 155 |
-
gap: 8px;
|
| 156 |
-
text-decoration: none;
|
| 157 |
-
user-select: none;
|
| 158 |
}
|
|
|
|
| 159 |
.btn-primary {
|
| 160 |
-
background:
|
| 161 |
-
color: white;
|
| 162 |
-
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
|
| 163 |
}
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
}
|
|
|
|
| 168 |
.btn-secondary {
|
| 169 |
-
background:
|
| 170 |
color: #333;
|
| 171 |
-
border: 2px solid #e1e5e9;
|
| 172 |
-
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
|
| 173 |
-
}
|
| 174 |
-
.btn-secondary:hover {
|
| 175 |
-
background: #f0f2f5;
|
| 176 |
-
border-color: #1a73e8;
|
| 177 |
-
color: #1a73e8;
|
| 178 |
}
|
| 179 |
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
cursor: not-allowed;
|
| 184 |
}
|
|
|
|
| 2 |
height: 100%;
|
| 3 |
margin: 0;
|
| 4 |
font-family: Arial, sans-serif;
|
| 5 |
+
background-color: #f0f4f8;
|
| 6 |
}
|
| 7 |
|
| 8 |
body {
|
| 9 |
display: flex;
|
| 10 |
+
justify-content: center; /* center horizontally */
|
| 11 |
+
align-items: center; /* center vertically */
|
| 12 |
+
min-height: 100vh;
|
| 13 |
+
padding: 20px;
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
/* Video background */
|
|
|
|
| 22 |
height: 100%;
|
| 23 |
z-index: -2;
|
| 24 |
overflow: hidden;
|
| 25 |
+
background-color: #000; /* fallback */
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
|
| 28 |
#backgroundVideo {
|
|
|
|
| 33 |
min-height: 100%;
|
| 34 |
width: auto;
|
| 35 |
height: auto;
|
| 36 |
+
transform: translate(-50%, -50%);
|
| 37 |
object-fit: cover;
|
| 38 |
}
|
| 39 |
|
| 40 |
+
/* Overlay */
|
| 41 |
.video-overlay {
|
| 42 |
position: fixed;
|
| 43 |
top: 0;
|
| 44 |
left: 0;
|
| 45 |
width: 100%;
|
| 46 |
height: 100%;
|
| 47 |
+
background-color: rgba(0, 0, 0, 0.4);
|
| 48 |
z-index: -1;
|
| 49 |
}
|
| 50 |
|
| 51 |
+
/* HOME link top right */
|
| 52 |
a {
|
| 53 |
position: fixed;
|
| 54 |
+
top: 20px;
|
| 55 |
+
right: 20px;
|
| 56 |
z-index: 10;
|
| 57 |
font-size: 18px;
|
| 58 |
+
padding: 10px 20px;
|
| 59 |
+
background-color: #1a73e8;
|
|
|
|
| 60 |
color: white;
|
| 61 |
text-decoration: none;
|
| 62 |
+
border-radius: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
/* Form container */
|
| 66 |
.page-container {
|
| 67 |
width: 400px;
|
| 68 |
+
background-color: white;
|
| 69 |
+
border-radius: 10px;
|
| 70 |
+
padding: 30px 40px;
|
| 71 |
+
box-sizing: border-box;
|
| 72 |
+
color: black;
|
|
|
|
|
|
|
|
|
|
| 73 |
display: flex;
|
| 74 |
flex-direction: column;
|
| 75 |
align-items: flex-start;
|
|
|
|
|
|
|
| 76 |
}
|
| 77 |
|
| 78 |
+
/* Headings */
|
| 79 |
.page-container h1 {
|
| 80 |
+
font-weight: bold;
|
| 81 |
+
font-size: 28px;
|
| 82 |
+
margin-bottom: 25px;
|
| 83 |
+
color: #1a73e8;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
+
/* Labels and inputs */
|
| 87 |
.form-group label {
|
| 88 |
+
font-size: 20px;
|
| 89 |
+
color: #333;
|
| 90 |
+
margin-bottom: 5px;
|
|
|
|
| 91 |
display: block;
|
| 92 |
}
|
| 93 |
|
|
|
|
| 94 |
.form-group input {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
width: 100%;
|
| 96 |
+
padding: 8px;
|
| 97 |
+
margin-bottom: 15px;
|
| 98 |
+
font-size: 16px;
|
| 99 |
+
border: 1px solid #ccc;
|
| 100 |
+
border-radius: 4px;
|
|
|
|
|
|
|
|
|
|
| 101 |
}
|
| 102 |
|
| 103 |
+
/* Buttons */
|
| 104 |
.button-group {
|
| 105 |
display: flex;
|
| 106 |
+
gap: 10px;
|
|
|
|
| 107 |
width: 100%;
|
| 108 |
}
|
| 109 |
|
|
|
|
| 110 |
.btn {
|
| 111 |
flex: 1;
|
| 112 |
+
padding: 12px;
|
| 113 |
+
font-size: 16px;
|
| 114 |
+
font-weight: bold;
|
|
|
|
|
|
|
| 115 |
cursor: pointer;
|
| 116 |
+
border-radius: 5px;
|
| 117 |
+
border: none;
|
| 118 |
+
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
}
|
| 120 |
+
|
| 121 |
.btn-primary {
|
| 122 |
+
background-color: #1a73e8;
|
|
|
|
|
|
|
| 123 |
}
|
| 124 |
+
|
| 125 |
+
.btn-primary:hover {
|
| 126 |
+
background-color: #155ab6;
|
| 127 |
}
|
| 128 |
+
|
| 129 |
.btn-secondary {
|
| 130 |
+
background-color: #eee;
|
| 131 |
color: #333;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
}
|
| 133 |
|
| 134 |
+
.btn-secondary:hover {
|
| 135 |
+
background-color: #ddd;
|
| 136 |
+
color: #000;
|
|
|
|
| 137 |
}
|