forked from GDGC-MET/Hacktoberfest2024Nashik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
236 lines (200 loc) · 3.8 KB
/
styles.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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background: #e8f5e9;
color: #333;
}
header {
background: #43a047;
color: white;
padding: 20px 0;
text-align: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
nav {
background: #388e3c;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline;
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
transition: color 0.3s;
font-weight: bold;
padding: 10px 15px;
}
nav ul li a:hover {
color: #ffeb3b;
background: rgba(255, 235, 59, 0.2);
border-radius: 5px;
}
h1 {
font-family: 'Lobster', cursive;
font-size: 2.5em;
}
h2 {
margin: 20px 0 10px;
color: #388e3c;
border-bottom: 2px solid #81c784;
padding-bottom: 5px;
}
main {
padding: 20px;
}
section {
background: white;
margin: 20px 0;
padding: 15px;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
transition: transform 0.4s, background 0.3s;
}
section:hover {
transform: translateY(-5px);
}
.responsive {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
.about-image {
max-width: 100%; /* Stretched to full width */
height: auto;
}
.small-image {
max-width: 50%;
height: auto;
}
.importance-container {
display: flex;
align-items: center;
}
.importance-text {
margin-left: 20px;
}
.qa-item {
margin-bottom: 15px;
background: #f1f8e9;
padding: 10px;
border-left: 5px solid #4caf50;
border-radius: 5px;
}
/* Prizes Section Styles */
.prizes-list {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.prize-item {
text-align: center;
width: 30%;
margin-bottom: 15px;
}
.prize-icon {
width: 100px; /* Consistent size */
height: 100px; /* Keep icon size uniform */
}
/* Footer */
footer {
background: #333;
color: white;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}
/* Video Section */
#video {
text-align: center;
margin: 20px 0;
}
#video iframe {
width: 80%;
height: 400px;
border: none;
border-radius: 8px;
}
/* Comment Section Styles */
.comment-box {
margin: 20px 0;
}
.comment-box textarea {
width: 100%;
height: 100px;
border-radius: 5px;
padding: 10px;
border: 1px solid #ccc;
resize: none;
}
.comment-box button {
margin-top: 10px;
background: #4caf50;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.comment-box button:hover {
background: #388e3c;
}
.comment-list {
margin-top: 20px;
background: #f1f8e9;
padding: 10px;
border-radius: 5px;
}
/* Contact Section Styles */
form {
display: flex;
flex-direction: column;
}
form input, form textarea {
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}
form button {
background: #4caf50;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
form button:hover {
background: #388e3c;
}
/* Animations */
.fade-in {
opacity: 0;
animation: fadeIn 1.5s forwards;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.slide-in {
transform: translateX(-100%);
animation: slideIn 1.5s forwards;
}
@keyframes slideIn {
to {
transform: translateX(0);
}
}