-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.css
119 lines (119 loc) · 2.47 KB
/
services.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
/* SERVICES HEADER */
#serviceHeader .container {
width: 100%;
height: auto;
}
#serviceHeader .image-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
height: 500px;
background-position: center;
background-size: cover;
background-image: url("images/keys.png");
background-attachment: fixed;
}
#serviceHeader .overlay {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
text-align: center;
width: 100%;
height: 500px;
background: rgba(0, 0, 0, 0.4); /* Add a background overlay */
}
#serviceHeader h1 {
color: #ffffff;
font-weight: 800;
font-size: 30px;
position: absolute;
margin-bottom: 90px;
}
#serviceHeader p {
color: #ffffff;
font-weight: 600;
font-size: 17px;
position: absolute;
text-align: center;
width: 50%;
margin-top: 120px;
}
#serviceHeader h1::after {
content: "";
margin: -5px auto; /* Centers the pseudo-element */
width: 10%; /* Half the width of the h1 element */
height: 2px; /* The thickness of your bottom border */
background-color: #ffffff; /* The color of your bottom border */
position: absolute;
bottom: 0; /* Aligns the pseudo-element to the bottom of the h1 */
left: 0;
right: 0;
}
/* SERVICES DEALS */
#serviceDeals .container {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: auto;
padding: 80px;
}
#serviceDeals .container .content {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
width: 95%;
}
#serviceDeals .container .content .card {
text-align: center;
width: 30%;
margin: 15px;
}
#serviceDeals .container .content .card h1 {
font-size: 25px;
font-weight: 800;
font-family: 'Poppins', sans-serif;
color: #333333;
padding: 5px;
}
#serviceDeals .container .content .card p {
font-size: 17px;
font-family: 'Poppins', sans-serif;
font-weight: 500;
margin: 5px;
width: 100%;
}
@media (max-width: 868px) {
/* HEADER */
#serviceHeader h1 {
margin-bottom: 190px;
width: 90%;
}
#serviceHeader p {
width: 80%;
}
/* DEALS */
#serviceDeals .container {
width: 100%;
height: auto;
padding: 0;
}
#serviceDeals .container .content {
flex-direction: column;
width: 100%;
}
#serviceDeals .container .content .card {
text-align: center;
width: 60%;
margin: 50px;
}
#serviceDeals h1 {
width: 100%;
padding: 0;
}
}