-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
191 lines (166 loc) · 3.61 KB
/
style.css
File metadata and controls
191 lines (166 loc) · 3.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
/* Configurações Gerais */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f9;
display: flex;
flex-direction: column;
min-height: 100vh; /* Garantir que a altura mínima seja a altura da tela */
}
.container {
max-width: 1000px;
margin: 0 auto;
padding: 2em;
flex-grow: 1; /* Isso permite que o conteúdo cresça para preencher o espaço */
}
/* Header */
header {
background: #333;
color: #fff;
}
header nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1em 2em;
background: #2C3E50;
}
header nav .site-name {
font-size: 1.5em;
font-weight: 700;
color: #fff;
text-transform: uppercase;
letter-spacing: 1px;
}
header nav a {
color: #fff;
margin: 0 1em;
text-decoration: none;
font-weight: 600;
transition: color 0.3s;
}
header nav a:hover {
color: #4A90E2;
}
/* Banner */
header .banner {
width: 100%;
height: 300px;
object-fit: cover;
margin-top: 0; /* Removido o topo adicional */
}
/* Introdução */
.intro {
text-align: center;
padding: 2em 0;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 2em;
}
/* Seção de Serviços */
.services {
margin-top: 3em;
text-align: center; /* Garante que o título e o conteúdo fiquem centralizados */
}
.services h2 {
font-size: 2.5em;
margin-bottom: 1.5em;
color: #333;
}
.services .service-container {
display: flex; /* Usa Flexbox para alinhamento */
justify-content: space-between; /* Espaço entre os cards */
gap: 2em; /* Espaçamento entre os cards */
flex-wrap: wrap; /* Permite que os cards quebrem para a linha de baixo em telas pequenas */
margin-top: 2em;
}
/* Estilo das caixas de serviço */
.services .service {
background-color: #fff;
padding: 2em;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 30%; /* Ajuste o tamanho dos cards */
text-align: center;
margin-bottom: 2em;
}
/* Responsividade para telas pequenas */
@media (max-width: 768px) {
.services .service {
width: 100%; /* Os cards ficam com 100% de largura em telas menores */
}
}
/* Seção de Galeria */
.gallery {
text-align: center;
margin-top: 3em;
}
.gallery-images {
display: flex;
justify-content: space-around;
margin-top: 1em;
}
.gallery-images img {
width: 30%;
border-radius: 8px;
}
/* Seção de Depoimentos */
.testimonials {
margin-top: 3em;
}
.testimonial {
background-color: #fff;
padding: 2em;
margin-bottom: 1.5em;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Rodapé */
footer {
text-align: center;
padding: 1em;
background-color: #333;
color: #fff;
margin-top: 2em;
position: relative;
bottom: 0;
width: 100%;
}
/* Estilo para o formulário de Contato */
.contact form {
background-color: #fff;
padding: 2em;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact label {
display: block;
margin-bottom: 0.5em;
font-weight: bold;
}
.contact input, .contact textarea {
width: 100%;
padding: 1em;
margin-bottom: 1em;
border: 1px solid #ddd;
border-radius: 4px;
}
.contact button {
background-color: #4A90E2;
color: white;
padding: 1em 2em;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
}
.contact button:hover {
background-color: #357ABD;
}