11/* General Body Styling */
22body {
3- font-family : Arial, sans-serif;
4- margin : 0 ;
5- padding : 0 ;
6- background-color : # f9f9f9 ;
7- display : flex;
8- flex-direction : column;
9- align-items : center;
10- min-height : 100vh ;
3+ font-family : Arial, sans-serif;
4+ margin : 0 ;
5+ padding : 0 ;
6+ background-color : # f9f9f9 ;
7+ display : flex;
8+ flex-direction : column;
9+ align-items : center;
10+ min-height : 100vh ;
11+ }
12+
13+ /* Navigation Bar */
14+ .navbar {
15+ background-color : # 333 ;
16+ padding : 10px 0 ;
17+ position : sticky;
18+ top : 0 ;
19+ width : 100% ;
20+ z-index : 1000 ;
21+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
22+ }
23+
24+ .navbar ul {
25+ list-style-type : none;
26+ margin : 0 ;
27+ padding : 0 ;
28+ display : flex;
29+ justify-content : center;
30+ gap : 20px ;
31+ }
32+
33+ .navbar ul li {
34+ display : inline;
35+ }
36+
37+ .navbar ul li a {
38+ color : white;
39+ text-decoration : none;
40+ font-size : 16px ;
41+ padding : 10px 20px ;
42+ transition : background-color 0.3s ease;
43+ }
44+
45+ .navbar ul li a : hover ,
46+ .navbar ul li a .active {
47+ background-color : # 007B5F ;
48+ border-radius : 5px ;
49+ }
50+
51+ /* Form Container */
52+ .form-container {
53+ background-color : white;
54+ padding : 30px ;
55+ width : 100% ;
56+ max-width : 400px ;
57+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
58+ border-radius : 10px ;
59+ margin-top : 50px ;
60+ }
61+
62+ /* Form Styling */
63+ .signup-form {
64+ display : flex;
65+ flex-direction : column;
66+ gap : 20px ;
67+ }
68+
69+ .form-group {
70+ display : flex;
71+ flex-direction : column;
72+ gap : 5px ;
73+ }
74+
75+ .form-group label {
76+ font-size : 14px ;
77+ font-weight : bold;
78+ color : # 333 ;
79+ }
80+
81+ .form-group select ,
82+ .form-group input {
83+ padding : 10px ;
84+ font-size : 14px ;
85+ border : 1px solid # ccc ;
86+ border-radius : 5px ;
87+ outline : none;
88+ transition : border-color 0.3s ease;
89+ }
90+
91+ .form-group select : focus ,
92+ .form-group input : focus {
93+ border-color : # 007B5F ;
94+ }
95+
96+ .register-button {
97+ background-color : # 007B5F ;
98+ color : white;
99+ border : none;
100+ padding : 10px ;
101+ font-size : 16px ;
102+ border-radius : 5px ;
103+ cursor : pointer;
104+ transition : background-color 0.3s ease;
105+ }
106+
107+ .register-button : hover {
108+ background-color : # 005f46 ;
109+ }
110+
111+ /* Responsive Design */
112+ @media (max-width : 768px ) {
113+ .navbar ul {
114+ flex-direction : column; /* Stack navigation items vertically */
115+ gap : 10px ;
116+ padding : 0 10px ;
11117 }
12-
13- /* Navigation Bar */
14- .navbar {
15- background-color : # 333 ;
16- padding : 10px 0 ;
17- position : sticky;
18- top : 0 ;
19- width : 100% ;
20- z-index : 1000 ;
21- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
118+
119+ .navbar ul li a {
120+ font-size : 14px ;
121+ padding : 8px 15px ; /* Reduce padding on smaller screens */
22122 }
23-
24- .navbar ul {
25- list-style-type : none;
26- margin : 0 ;
27- padding : 0 ;
28- display : flex;
29- justify-content : center;
30- gap : 20px ;
123+
124+ .form-container {
125+ padding : 20px ; /* Reduce padding for smaller screens */
126+ margin-top : 30px ;
31127 }
32-
33- .navbar ul li {
34- display : inline;
128+
129+ .signup-form {
130+ gap : 15 px ; /* Adjust gap between form elements */
35131 }
36-
37- .navbar ul li a {
38- color : white;
39- text-decoration : none;
40- font-size : 16px ;
41- padding : 10px 20px ;
42- transition : background-color 0.3s ease;
132+
133+ .form-group label {
134+ font-size : 13px ;
135+ }
136+
137+ .form-group select ,
138+ .form-group input {
139+ font-size : 13px ;
140+ padding : 8px ;
43141 }
44-
45- .navbar ul li a : hover ,
46- .navbar ul li a .active {
47- background-color : # 007B5F ;
48- border-radius : 5px ;
142+
143+ .register-button {
144+ font-size : 14px ;
145+ padding : 8px ;
49146 }
50-
51- /* Form Container */
147+ }
148+
149+ @media (max-width : 480px ) {
150+ .navbar ul {
151+ padding : 0 ; /* Remove extra padding for very small screens */
152+ }
153+
154+ .navbar ul li a {
155+ font-size : 12px ;
156+ padding : 6px 10px ;
157+ }
158+
52159 .form-container {
53- background-color : white;
54- padding : 30px ;
55- width : 100% ;
56- max-width : 400px ;
57- box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
58- border-radius : 10px ;
59- margin-top : 50px ;
160+ padding : 15px ; /* Reduce padding for very small screens */
161+ border-radius : 5px ; /* Slightly less rounded corners */
60162 }
61-
62- /* Form Styling */
163+
63164 .signup-form {
64- display : flex;
65- flex-direction : column;
66- gap : 20px ;
67- }
68-
69- .form-group {
70- display : flex;
71- flex-direction : column;
72- gap : 5px ;
165+ gap : 10px ;
73166 }
74-
167+
75168 .form-group label {
76- font-size : 14px ;
77- font-weight : bold;
78- color : # 333 ;
169+ font-size : 12px ;
79170 }
80-
171+
81172 .form-group select ,
82173 .form-group input {
83- padding : 10px ;
84- font-size : 14px ;
85- border : 1px solid # ccc ;
86- border-radius : 5px ;
87- outline : none;
88- transition : border-color 0.3s ease;
174+ font-size : 12px ;
175+ padding : 6px ;
89176 }
90-
91- .form-group select : focus ,
92- .form-group input : focus {
93- border-color : # 007B5F ;
94- }
95-
177+
96178 .register-button {
97- background-color : # 007B5F ;
98- color : white;
99- border : none;
100- padding : 10px ;
101- font-size : 16px ;
102- border-radius : 5px ;
103- cursor : pointer;
104- transition : background-color 0.3s ease;
105- }
106-
107- .register-button : hover {
108- background-color : # 005f46 ;
179+ font-size : 12px ;
180+ padding : 6px ;
109181 }
110-
182+ }
0 commit comments