Aryansoni27 commited on
Commit
e4eaa42
·
verified ·
1 Parent(s): 0fad2e5

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +94 -0
style.css ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* General Page Styling */
2
+ body {
3
+ font-family: 'Poppins', sans-serif;
4
+ background-color: #f4f7fc;
5
+ color: #333;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ height: 100vh;
10
+ margin: 0;
11
+ }
12
+
13
+ /* Form Container */
14
+ .container {
15
+ width: 100%;
16
+ max-width: 400px;
17
+ background: white;
18
+ padding: 30px;
19
+ border-radius: 12px;
20
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
21
+ text-align: center;
22
+ animation: fadeIn 0.5s ease-in-out;
23
+ }
24
+
25
+ /* Form Title */
26
+ h2 {
27
+ font-size: 24px;
28
+ color: #2c3e50;
29
+ margin-bottom: 20px;
30
+ }
31
+
32
+ /* Labels */
33
+ label {
34
+ display: block;
35
+ font-size: 14px;
36
+ font-weight: 600;
37
+ text-align: left;
38
+ margin-bottom: 5px;
39
+ color: #555;
40
+ }
41
+
42
+ /* Input Fields */
43
+ input, select {
44
+ width: 100%;
45
+ padding: 10px;
46
+ margin-bottom: 15px;
47
+ border: 1px solid #ccc;
48
+ border-radius: 6px;
49
+ font-size: 14px;
50
+ transition: border-color 0.3s ease;
51
+ }
52
+
53
+ input:focus, select:focus {
54
+ border-color: #3498db;
55
+ outline: none;
56
+ }
57
+
58
+ /* Checkboxes */
59
+ .checkbox-group {
60
+ display: flex;
61
+ align-items: center;
62
+ gap: 8px;
63
+ font-size: 14px;
64
+ }
65
+
66
+ input[type="checkbox"] {
67
+ width: 16px;
68
+ height: 16px;
69
+ accent-color: #3498db;
70
+ }
71
+
72
+ /* Submit Button */
73
+ button {
74
+ width: 100%;
75
+ padding: 12px;
76
+ background: #3498db;
77
+ color: white;
78
+ font-size: 16px;
79
+ font-weight: 600;
80
+ border: none;
81
+ border-radius: 6px;
82
+ cursor: pointer;
83
+ transition: background 0.3s ease;
84
+ }
85
+
86
+ button:hover {
87
+ background: #2980b9;
88
+ }
89
+
90
+ /* Fade-in Animation */
91
+ @keyframes fadeIn {
92
+ from { opacity: 0; transform: translateY(-10px); }
93
+ to { opacity: 1; transform: translateY(0); }
94
+ }