-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclass.css
More file actions
68 lines (68 loc) · 1.63 KB
/
Copy pathclass.css
File metadata and controls
68 lines (68 loc) · 1.63 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
.hero-image {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/car.jpg');
background-size: cover;
background-position: center;
min-height: 100vh;
padding-top: 7rem; /* Ensures content starts below navbar */
}
.contact-image {
/* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/car2.jpg'); */
background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
background-size: cover;
background-position: center;
}
.testimonial-card:hover,
.service-card:hover,
.team-member:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.language-selector {
position: relative;
display: inline-block;
}
.language-dropdown {
display: none;
position: absolute;
right: 0;
background-color: white;
min-width: 100px;
box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 4px;
}
.language-selector:hover .language-dropdown {
display: block;
}
.language-option {
padding: 8px 12px;
display: flex;
align-items: center;
cursor: pointer;
}
.language-option:hover {
background-color: #f1f1f1;
}
.language-flag {
width: 20px;
margin-right: 8px;
}
.language-name {
font-size: 14px;
color: #333;
}
/* Hide navbar with slide-up */
.navbar-hidden {
transform: translateY(-100%);
transition: transform 0.6s ease-in-out;
}
/* Show navbar with slide-down */
.navbar-visible {
transform: translateY(0);
transition: transform 0.6s ease-in-out;
}
.footer-bg {
background: rgba(210, 214, 220, 0); /* dark color with reduced opacity */
box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.326);
backdrop-filter: blur(2px);
}