-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
278 lines (248 loc) · 5.49 KB
/
style.css
File metadata and controls
278 lines (248 loc) · 5.49 KB
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Background Styling */
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(120deg, #9b59b6, #2ecc71); /* Purple to Lime Green Gradient */
color: red; /* Dark Gray Text */
margin: 0;
padding: 0;
animation: fadeInBody 1s ease-in;
background-attachment: fixed;
position: relative;
min-height: 100vh;
overflow-x: hidden;
}
/* Subtle Pattern Background */
body:before {
content: "";
background-image: url('background-pattern.png'); /* Replace with a subtle pattern */
opacity: 0.05;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-repeat: repeat;
}
/* Form Container */
.form-container {
width: 80%;
max-width: 800px;
margin: 50px auto;
background-color: darkred; /* Soft Peach Background */
padding: 30px;
border-radius: 20px;
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
animation: slideInForm 1s ease-out;
border: 1px solid rgba(155, 89, 182, 0.2); /* Soft Purple Border */
background: linear-gradient(135deg, #ffffff, #f9f2ec); /* Light Gradient */
overflow: hidden;
position: relative;
transition: transform 0.3s ease;
}
.form-container:hover {
transform: scale(1.01);
}
/* Decorative Circles */
.form-container:before,
.form-container:after {
content: '';
position: absolute;
border-radius: 50%;
opacity: 0.15;
}
.form-container:before {
top: -60px;
left: -60px;
width: 250px;
height: 250px;
background-color: #9b59b6; /* Purple */
}
.form-container:after {
bottom: -60px;
right: -60px;
width: 250px;
height: 250px;
background-color: #2ecc71; /* Lime Green */
}
/* Header Styling */
h1 {
text-align: center;
color: #2ecc71; /* Lime Green Header */
font-size: 2.5em;
margin-bottom: 25px;
font-weight: bold;
animation: fadeInHeader 1.5s ease-in-out;
letter-spacing: 1px;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
/* Section Titles */
h2 {
color: #9b59b6; /* Purple Section Titles */
margin-bottom: 10px;
font-size: 1.7em;
border-bottom: 2px solid #2ecc71; /* Lime Green Underline */
padding-bottom: 5px;
animation: fadeInSection 1s ease-in-out;
}
/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
input[type="file"] {
width: 100%;
padding: 12px;
margin: 10px 0;
border: 2px solid #ddd;
border-radius: 10px;
font-size: 1em;
background: #fdfdfd; /* Light Background for Inputs */
transition: all 0.3s ease;
animation: fadeInInput 1s ease-in-out;
}
/* Hover and Focus Effects */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover,
input[type="file"]:hover {
border-color: #9b59b6; /* Purple Hover Border */
box-shadow: 0 0 15px rgba(155, 89, 182, 0.4); /* Purple Glow */
}
input:focus {
border-color: #2ecc71; /* Lime Green Focus Border */
box-shadow: 0 0 15px rgba(46, 204, 113, 0.3); /* Lime Glow */
}
/* Button Styling */
button[type="submit"] {
background-color: #9b59b6; /* Purple Button */
color: white;
padding: 14px 30px;
font-size: 1.2em;
border: none;
border-radius: 30px;
cursor: pointer;
margin-top: 20px;
display: block;
width: 100%;
box-shadow: 0 8px 20px rgba(155, 89, 182, 0.3); /* Purple Button Shadow */
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
animation: popInButton 1s ease-in-out;
}
button[type="submit"]:hover {
background-color: #8e44ad; /* Darker Purple Hover */
transform: translateY(-3px);
box-shadow: 0 12px 25px rgba(155, 89, 182, 0.5);
}
/* Form Table Styling */
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
animation: fadeInTable 1s ease-in-out;
}
th, td {
padding: 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #9b59b6; /* Purple Table Header */
color: white;
}
td {
background-color: #f0faff; /* Light Peach Background for Table Rows */
}
table tr:hover {
background-color: #f5f5f5; /* Light Gray Hover */
}
/* Responsive Design */
@media screen and (max-width: 768px) {
.form-container {
width: 95%;
padding: 20px;
}
h1 {
font-size: 2.2em;
}
h2 {
font-size: 1.5em;
}
button[type="submit"] {
font-size: 1.1em;
}
}
/* Animations */
@keyframes fadeInBody {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideInForm {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes fadeInHeader {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes fadeInSection {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeInInput {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes popInButton {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes fadeInTable {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}