generated from dieoppenent/wansk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
188 lines (151 loc) · 3.21 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
/* - HEADER - */
#navbar {
/* background-color: #999; */
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1400px;
margin: 0 auto;
padding: 30px 0;
}
#navbar img {
width: 150px;
}
#navbar .nav-list {
display: flex;
list-style: none;
}
#navbar .nav-list .nav-item {
margin-right: 40px;
}
#navbar .nav-list .nav-item a {
text-decoration: none;
color: #1F1534;
font-size: 18px;
}
#navbar .nav-list .nav-item.active {
font-weight: 700;
}
main {
max-width: 1400px;
display: block;
margin: 0 auto;
}
/* - SECTION: MAIN BANNER - */
#main-banner {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-top: 40px;
}
#main-banner .banner-content {
padding-top: 100px;
width: 450px;
}
#main-banner .banner-content h1 {
font-size: 48px;
margin-bottom: 20px;
}
#main-banner .banner-content p {
font-size: 21px;
font-weight: 300;
color: #7D7987;
margin-bottom: 20px;
}
#main-banner .banner-content a {
background-color: #458FF6;
color: white;
font-weight: 700;
text-decoration: none;
display: block;
width: 200px;
height: 60px;
border-radius: 55px;
margin-top: 40px;
text-align: center; /* Alinhamento horizontal */
line-height: 58px; /* Alinhamento vertical */
transition: transform 150ms, box-shadow 150ms;
}
#main-banner .banner-content a:hover {
transform: translateY(-5px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
transition: transform 150ms, box-shadow 150ms;
}
/* - SECTION: OUR SERVICES - */
#our-services {
margin-top: 190px;
margin-bottom: 190px;
}
#our-services .section-header {
text-align: center;
margin: 0 auto;
max-width: 952px;
margin-bottom: 50px;
}
#our-services .section-header .section-title {
font-size: 36px;
font-weight: 700;
margin-bottom: 26px;
}
#our-services .section-header hr {
border-bottom: 2px solid black;
width: 56px;
display: block;
margin: 0 auto;
}
#our-services .section-header .subtitle {
margin-top: 26px;
font-size: 18px;
color: #7D7987;
font-weight: 300;
}
#our-services .services {
display: flex;
flex-wrap: wrap; /* Quebra os elementos */
/* padding: 0 40px; */
}
#our-services .services .service {
background-color: #fff;
margin: 17px;
padding: 40px;
border-radius: 20px;
flex: 1 1 400px;
}
#our-services .services .service img {
margin-bottom: 22px;
}
#our-services .services .service h3 {
margin-bottom: 22px;
}
#our-services .services .service p {
font-size: 16px;
color: #7D7987;
}
/* Breakpoint de 1400px: menor do que 1400px */
@media screen and (max-width: 1400px) {
#navbar {
max-width: auto;
width: 90%;
}
main {
max-width: auto;
width: 90%;
}
}
/* Breakpoint de 1200px: menor do que 1200px */
@media screen and (max-width: 1200px) {
#main-banner {
flex-direction: column;
}
#main-banner .banner-content {
padding-top: 0;
width: 100%;
}
#main-banner .banner-image {
display: block;
margin: 0 auto;
}
#main-banner .banner-image img {
width: 100%;
}
}