forked from ankit071105/Ticket-Booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles_N1.css
217 lines (186 loc) · 3.87 KB
/
styles_N1.css
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
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
line-height: 1.6;
color: #222;
background-color: #f0f4f8;
font-size: 16px;
}
h1, h2, h3, p {
margin-bottom: 20px;
}
/* Navbar Styles */
.navbar {
background-color: #1f2937;
color: white;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.navbar .logo {
font-size: 24px;
font-weight: bold;
color: #00bfa6;
}
.nav-links {
list-style: none;
display: flex;
gap: 30px;
}
.nav-links a {
color: #fff;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: #00bfa6;
}
/* Main Content Styles */
.home, .sell-ticket, .buy-ticket, .form-section {
text-align: center;
padding: 80px 20px;
background-color: #fff;
margin: 20px auto;
max-width: 1200px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
border-radius: 12px;
}
h1, h2 {
color: orangered;
font-size: 2.5rem;
}
p {
font-size: 1.1rem;
color: #555;
}
/* Button Styles */
.btn {
background-color: #00bfa6;
color: white;
padding: 10px 30px;
text-decoration: none;
border-radius: 5px;
font-size:2rem;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #00a690;
}
/* Ticket Card Section */
.ticket-list {
padding: 20px;
max-width: 1200px;
margin: 40px auto;
}
.ticket-card {
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ticket-card h3 {
margin-bottom: 10px;
color: #1f2937;
}
.ticket-card p {
margin-bottom: 8px;
color: #555;
}
.ticket-card button {
background-color: #00bfa6;
color: white;
padding: 10px 30px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.ticket-card button:hover {
background-color: #00a690;
}
.ticket-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* Footer Styles */
/* footer {
background-color: #1f2937;
color: white;
text-align: center;
padding: 20px;
margin-top:115px;
position: relative;
width: 100%;
bottom: 0;
font-size: 2%;
}
.footer a {
color: #00bfa6;
}
.footer a:hover {
color: #00a690;
}
*/
/* Form Section */
form {
display: flex;
flex-direction: column;
gap: 20px;
max-width: 600px;
margin: 0 auto;
}
input, select {
padding: 15px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 1rem;
width: 100%;
}
button {
padding: 15px;
background-color: #00bfa6;
color: white;
border: none;
cursor: pointer;
border-radius: 8px;
font-size: 1rem;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #00a690;
}
/* Responsive Styles */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
}
.nav-links {
flex-direction: column;
gap: 10px;
}
.home, .sell-ticket, .buy-ticket, .form-section {
padding: 50px 15px;
}
h1, h2 {
font-size: 2rem;
}
.ticket-card {
padding: 15px;
}
.btn {
padding: 8px 20px;
}
}