-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
280 lines (240 loc) · 5.61 KB
/
style.css
File metadata and controls
280 lines (240 loc) · 5.61 KB
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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #7a41b8; /* Deep purple background */
}
/* Header */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #53258f; /* Darker Purple */
}
nav ul {
display: flex;
list-style-type: none;
}
nav ul li {
margin-right: 20px;
}
nav ul li a {
color: #FFFFFF;
text-decoration: none;
font-weight: bold;
font-size: 16px;
}
nav ul li a:hover {
color: #FF00FF; /* Neon Pink Hover */
}
/* Hero Section */
#hero {
position: relative;
height: 80vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #FFFFFF;
background-color: #2b0c46;
}
.hero-content {
display: flex;
flex-direction: column;
align-items: center;
}
.square-boxes {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.square-boxes .box {
width: 400px;
height: 300px;
margin: 0 10px;
border-radius: 10px;
box-shadow: 0 0 10px #FF00FF;
overflow: hidden;
}
.square-boxes .box img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image fits nicely within the box */
}
/* Square Boxes Section */
.square-boxes {
display: flex;
justify-content: center;
flex-wrap: wrap; /* This allows the boxes to wrap to the next line */
margin-bottom: 20px;
}
.square-boxes .box {
width: 400px;
height: 300px;
margin: 10px; /* Adding more space around each box */
border-radius: 10px;
box-shadow: 0 0 10px #FF00FF;
overflow: hidden;
}
.square-boxes .box img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image fits nicely within the box */
}
/* Below Boxes Image */
.below-boxes {
margin-top: 20px;
width: 800px; /* You can adjust this to fit your layout */
display: flex;
justify-content: center;
}
.below-boxes img {
width: 100%; /* Full width */
height: auto; /* Maintain aspect ratio */
border-radius: 10px;
box-shadow: 0 0 10px #FF00FF;
}
/* Animated Picture */
.animated-picture img {
width: 950px; /* Adjust as necessary */
height: 200px; /* Rectangular form */
object-fit: cover;
border-radius: 10px;
box-shadow: 0 0 10px #FF00FF;
}
.animated-picture-2 img {
width: 800px; /* Adjust as necessary */
height: 500px; /* Rectangular form */
object-fit: cover;
border-radius: 10px;
box-shadow: 0 0 10px #FF00FF;
}
.animated-picture-3 img {
width: 800px; /* Adjust as necessary */
height: 500px; /* Rectangular form */
object-fit: cover;
border-radius: 10px;
box-shadow: 0 0 10px #FF00FF;
}
/* CTA Button */
.hero-cta {
margin-top: 20px;
}
/* .hero-cta {
margin-top: 20px;
background-color: #FF00FF;
} */
.cta-button {
padding: 12px 24px;
background-color: #FF00FF; /* Neon Pink Button */
color: #000000;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
button:hover {
background-color: #0056b3;
}
.cta-button:hover {
background-color: #FF1DEA;
}
/* Blog Posts Section */
.blog-posts {
max-width: 800px;
margin: 20px auto;
padding: 20px;
}
.blog-posts article {
background-color: #E100FF; /* Post Background Color */
margin-bottom: 30px;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
transition: transform 0.3s;
}
.blog-posts article:hover {
transform: translateY(-5px); /* Lift Effect on Hover */
}
.blog-posts article h2 {
font-size: 1.8em;
margin-bottom: 10px;
color: #FFFFFF; /* Post Title Color */
}
.blog-posts article p {
font-size: 1.1em;
margin-bottom: 10px;
}
/* Read More Link */
.blog-posts article a {
display: inline-block;
margin-top: 10px;
color: #FF5BEA; /* Link Color */
text-decoration: none;
}
.blog-posts article a:hover {
text-decoration: underline; /* Underline on Hover */
}
/* Footer Styles */
footer {
background-color: #230043; /* Footer Background Color */
text-align: center;
padding: 20px;
color: #FFFFFF; /* Footer Text Color */
}
.carousel-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.carousel-slide img {
width: 100%;
height: auto;
display: block;
}
/* Responsive Styles */
@media (max-width: 600px) {
nav ul li {
display: block;
margin: 10px 0;
}
.blog-posts {
padding: 10px;
}
.blog-posts article {
padding: 15px;
}
.square-boxes {
flex-direction: column; /* Stack boxes vertically on smaller screens */
align-items: center;
}
.square-boxes .box {
width: 90%; /* Adjust width to fit smaller screens */
margin: 10px 0; /* Add vertical margin */
}
.animated-picture img {
width: 100%; /* Make animated image responsive */
height: auto; /* Maintain aspect ratio */
}
}