-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
294 lines (234 loc) · 6.12 KB
/
style.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
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
--mavi: #6bc1f1;
--font: "Montserrat", sans-serif;
}
* {
font-family: var(--font);
}
::-webkit-scrollbar {
display: none;
}
* {
-ms-overflow-style: none;
scrollbar-width: none;
}
header {
background: url('img/headerbg.jpg') center/cover;
}
#navbarTogglerDemo01 {
height: 70px;
}
.mainLogo {
height: 30px;
}
ul {
font-size: 18px;
font-weight: 600;
gap: 20px;
margin-left: 20px;
}
ul li .nav-link:hover {
background: var(--mavi);
color: white;
border-radius: 30px;
transition: all 0.5s;
}
.card-body {
position: relative;
max-width: 7;
}
.circle {
position: absolute;
background-color: var(--mavi);
height: 370px;
width: 370px;
top: -20px;
left: 50px;
border-radius: 50%;
opacity: 0.8;
}
.hero {
position: relative;
z-index: 1;
}
.py-5 .card-body .card-title {
font-size: 30px;
}
.py-5 .card-body .card-subtitle {
font-size: 60px;
}
.bg-mavi {
background-color: var(--mavi);
}
.bg-goy {
background-color: #072035;
}
.bg-boz {
background-color: #f1f1f1;
transition: background-color 0.3s ease, transform 0.3s ease;
}
/* Add hover effect to bg-boz */
.bg-boz:hover {
background-color: #e0e0e0; /* Lighten the background color */
transform: scale(1.02); /* Slightly increase the size */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}
.text-mavi {
color: var(--mavi);
}
.vh-50 {
min-height: 50vh;
}
/* Hover effect on features section */
.features:hover {
opacity: .5;
transition: opacity 0.3s;
}
/* Image hover effect */
.serviceimgs {
width: 100px;
height: 100px;
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.serviceimgs:hover {
transform: scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Hover effect for bg-boyz images */
.bg-boyz {
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bg-boyz img {
width: 100%;
border-radius: 10px;
transition: transform 0.4s ease;
}
.bg-boyz:hover img {
transform: scale(1.05); /* Zoom in the image */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add shadow effect */
}
/* Carousel styles */
.carousel-caption,
.carousel-item {
height: 200px;
}
.carousel-indicators button {
width: 45px !important;
height: 45px !important;
border-radius: 50%;
}
.carousel-indicators button.active {
width: 50px !important;
height: 50px !important;
}
.carousel-inner h6 {
text-transform: uppercase;
letter-spacing: .1rem;
}
.carousel-inner p {
text-transform: uppercase;
color: rgba(255, 255, 255, 0.7);
}
/* Footer styles */
footer p {
opacity: 0.7;
font-size: 0.8rem;
line-height: 30px;
color: #fff;
font-weight: 400;
font-family: var(--font);
}
footer h5 {
margin-top: 40px;
font-size: 1.1rem;
color: #fff;
font-weight: 400;
font-family: "Roboto";
}
/* Background images for feature sections */
.bt1 {
background: url("img/feature-1.jpg") center/cover;
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.bt2 {
background: url("img/feature-2.jpg") center/cover;
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.bt3 {
background: url("img/feature-3.jpg") center/cover;
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.bt4 {
background: url("img/feature-4.jpg") center/cover;
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.bt5 {
background: url("img/feature-5.jpg") center/cover;
transition: transform 0.5s ease, box-shadow 0.5s ease;
}
/* Hover effect for feature sections */
.bt1:hover, .bt2:hover, .bt3:hover, .bt4:hover, .bt5:hover {
transform: scale(1.05); /* Zoom in on hover */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
}
/* adding card hover effect */
/* CSS for hover effect on images in .bg-boz */
.bg-boz .card-img {
transition: transform 0.3s ease-in-out; /* Smooth transition */
}
.bg-boz .card-img:hover {
transform: scale(1.1); /* Zoom effect on hover */
}
.bg-boz .card-img {
transition: transform 0.3s ease, opacity 0.3s ease;
opacity: 1;
}
.bg-boz .card-img:hover {
transform: scale(1.1);
opacity: 0.5;
}
.image-container {
position: relative; /* Position relative to position the overlay */
display: inline-block; /* Ensure the container fits the image size */
}
.image-container img {
display: block; /* Remove bottom space */
transition: transform 0.5s ease; /* Transition for zoom effect */
}
.image-container:hover img {
transform: scale(1.1); /* Zoom effect */
}
/* Overlay styles */
.overlay {
position: absolute; /* Position it over the image */
top: 50%; /* Center vertically */
left: 50%; /* Center horizontally */
transform: translate(-50%, -50%); /* Offset to center */
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
color: #6bc1f1; /* Text color */
padding: 10px 15px; /* Add padding for some space around the text */
border-radius: 5px; /* Optional: round the corners of the overlay */
opacity: 0; /* Initially hide the text */
/* transition: opacity 0.5s ease; */
transition: opacity 0.5s ease, color 0.5s ease, text-shadow 0.5s ease;
white-space: nowrap; /* Prevent text from wrapping */
text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); /* Initial glow */
font-size: 1.0em; /*Increase font size */
}
/* Show the overlay text on hover */
.image-container:hover .overlay {
opacity: 1; /* Show the overlay */
color:#6bc1f1;
}
@media (max-width: 440px) {
.circle{
position: absolute;
justify-content: center;
background-color: var(--mavi);
height:80%;
width: 80%;
border-radius: 50%;
opacity: 0.8;
}
}