Presidor1 commited on
Commit
fe0cecf
·
verified ·
1 Parent(s): 8d2a981

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +66 -26
style.css CHANGED
@@ -4,18 +4,18 @@ body {
4
  margin: 0;
5
  background: #f5f5f5;
6
  color: #333;
 
7
  }
8
 
9
  /* Header styling */
10
  header {
11
- background: linear-gradient(135deg, #0a0f3c, #001f4d); /* navy gradient */
12
  color: white;
13
  padding: 20px 10px;
14
  text-align: center;
15
- position: relative; /* allow positioning inside */
16
  }
17
 
18
- /* Three dots moved to top-left */
19
  #menu-toggle {
20
  font-size: 24px;
21
  cursor: pointer;
@@ -26,7 +26,6 @@ header {
26
  padding: 5px;
27
  }
28
 
29
- /* Ensure hidden by default */
30
  #top-nav {
31
  display: none;
32
  flex-direction: column;
@@ -35,7 +34,6 @@ header {
35
  padding: 10px 0;
36
  }
37
 
38
- /* Show on toggle */
39
  #top-nav.show {
40
  display: flex;
41
  }
@@ -61,7 +59,7 @@ nav {
61
  }
62
 
63
  nav a {
64
- color: dark green;
65
  text-decoration: none;
66
  font-weight: bold;
67
  padding: 5px 10px;
@@ -72,25 +70,47 @@ nav a:hover {
72
  background-color: rgba(255, 255, 255, 0.2);
73
  }
74
 
75
- /* Welcome section styling */
76
- #welcome {
77
- background-color: #cfe2ff; /* light blue */
78
  text-align: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  padding: 30px 15px;
80
  }
81
 
82
- /* Form styling */
83
  form {
84
  background: #ffffff;
85
  padding: 20px;
86
  border-radius: 8px;
87
  max-width: 400px;
88
  margin: 20px auto;
89
- box-shadow: 0 0 10px rgba(0,0,0,0.1);
 
 
 
 
 
 
90
  }
91
 
92
  form h2 {
93
  text-align: center;
 
94
  }
95
 
96
  label {
@@ -102,10 +122,11 @@ label {
102
  input, select {
103
  width: 100%;
104
  padding: 10px;
105
- margin-bottom: 10px;
106
  border-radius: 5px;
107
  border: 1px solid #ccc;
108
  box-sizing: border-box;
 
109
  }
110
 
111
  button {
@@ -118,10 +139,17 @@ button {
118
  font-weight: bold;
119
  cursor: pointer;
120
  font-size: 16px;
 
121
  }
122
 
123
  button:hover {
124
  background: #0b5ed7;
 
 
 
 
 
 
125
  }
126
 
127
  #output {
@@ -131,21 +159,33 @@ button:hover {
131
  color: #0d6efd;
132
  }
133
 
134
- /* ===================================== */
135
- /* Loader Styling - Add at the bottom */
136
- /* ===================================== */
137
- .loader {
138
- border: 8px solid #f3f3f3; /* Light grey */
139
- border-top: 8px solid #0d6efd; /* Primary blue */
140
- border-radius: 50%;
141
- width: 60px;
142
- height: 60px;
143
- animation: spin 1s linear infinite;
144
  margin: 20px auto;
145
- display: none; /* hidden by default, shown when loading */
 
 
 
 
 
 
 
 
 
146
  }
147
 
148
- @keyframes spin {
149
- 0% { transform: rotate(0deg); }
150
- 100% { transform: rotate(360deg); }
 
 
 
 
 
 
 
 
 
151
  }
 
4
  margin: 0;
5
  background: #f5f5f5;
6
  color: #333;
7
+ scroll-behavior: smooth; /* ✅ smooth scrolling */
8
  }
9
 
10
  /* Header styling */
11
  header {
12
+ background: linear-gradient(135deg, #0a0f3c, #001f4d);
13
  color: white;
14
  padding: 20px 10px;
15
  text-align: center;
16
+ position: relative;
17
  }
18
 
 
19
  #menu-toggle {
20
  font-size: 24px;
21
  cursor: pointer;
 
26
  padding: 5px;
27
  }
28
 
 
29
  #top-nav {
30
  display: none;
31
  flex-direction: column;
 
34
  padding: 10px 0;
35
  }
36
 
 
37
  #top-nav.show {
38
  display: flex;
39
  }
 
59
  }
60
 
61
  nav a {
62
+ color: darkgreen;
63
  text-decoration: none;
64
  font-weight: bold;
65
  padding: 5px 10px;
 
70
  background-color: rgba(255, 255, 255, 0.2);
71
  }
72
 
73
+ /* Welcome hero section */
74
+ .hero {
75
+ background: #cfe2ff;
76
  text-align: center;
77
+ padding: 40px 20px;
78
+ }
79
+
80
+ .hero h2 {
81
+ font-size: 2em;
82
+ margin-bottom: 10px;
83
+ }
84
+
85
+ .hero p {
86
+ font-size: 1.2em;
87
+ max-width: 600px;
88
+ margin: 0 auto;
89
+ }
90
+
91
+ /* Form section */
92
+ .form-section {
93
  padding: 30px 15px;
94
  }
95
 
 
96
  form {
97
  background: #ffffff;
98
  padding: 20px;
99
  border-radius: 8px;
100
  max-width: 400px;
101
  margin: 20px auto;
102
+ box-shadow: 0 4px 12px rgba(0,0,0,0.08);
103
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
104
+ }
105
+
106
+ form:hover {
107
+ transform: translateY(-3px);
108
+ box-shadow: 0 6px 18px rgba(0,0,0,0.15);
109
  }
110
 
111
  form h2 {
112
  text-align: center;
113
+ color: #0a0f3c;
114
  }
115
 
116
  label {
 
122
  input, select {
123
  width: 100%;
124
  padding: 10px;
125
+ margin-bottom: 12px;
126
  border-radius: 5px;
127
  border: 1px solid #ccc;
128
  box-sizing: border-box;
129
+ font-size: 1em;
130
  }
131
 
132
  button {
 
139
  font-weight: bold;
140
  cursor: pointer;
141
  font-size: 16px;
142
+ transition: background 0.3s ease, transform 0.2s ease;
143
  }
144
 
145
  button:hover {
146
  background: #0b5ed7;
147
+ transform: translateY(-2px);
148
+ }
149
+
150
+ button:active {
151
+ background: #0a58ca;
152
+ transform: translateY(0);
153
  }
154
 
155
  #output {
 
159
  color: #0d6efd;
160
  }
161
 
162
+ /* Info sections styling */
163
+ .info-section {
164
+ padding: 40px 20px;
165
+ background: #ffffff;
 
 
 
 
 
 
166
  margin: 20px auto;
167
+ max-width: 800px;
168
+ text-align: center;
169
+ border-radius: 8px;
170
+ box-shadow: 0 2px 8px rgba(0,0,0,0.05);
171
+ }
172
+
173
+ .info-section h2 {
174
+ font-size: 1.8em;
175
+ color: #0a0f3c;
176
+ margin-bottom: 10px;
177
  }
178
 
179
+ .info-section p {
180
+ font-size: 1.1em;
181
+ line-height: 1.6;
182
+ color: #333;
183
+ }
184
+
185
+ footer {
186
+ background: #0a0f3c;
187
+ color: white;
188
+ text-align: center;
189
+ padding: 15px;
190
+ font-size: 0.9em;
191
  }