-
Notifications
You must be signed in to change notification settings - Fork 0
/
style3.css
210 lines (178 loc) · 3.27 KB
/
style3.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
/* Reset básico */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Estilo do corpo */
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
}
/* Estilo do cabeçalho */
header {
background-color: #4CAF50;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 1200px;
}
header .logo {
height: 40px;
}
header .button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
header .button:hover {
background-color: #0056b3;
}
/* Conteúdo principal */
.content {
text-align: center;
margin: 20px auto;
max-width: 800px;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.title {
font-size: 36px;
font-weight: bold;
color: #333;
animation: blink 1s infinite;
}
@keyframes blink {
0%, 49.9%, 100% {
opacity: 1;
}
50%, 99.9% {
opacity: 0;
}
}
.text {
margin-top: 20px;
color: #666;
}
/* Seção do produtor */
.producer {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
}
.producer img {
width: 100px;
height: 100px;
border-radius: 50%;
cursor: pointer;
transition: transform 0.3s ease;
}
.producer img:hover {
transform: scale(1.1);
}
.producer-info {
margin-left: 20px;
}
.producer-info h3 {
margin: 0 0 5px 0;
font-size: 20px;
}
.producer-info p {
margin: 0;
color: #888;
}
/* Rodapé */
.footer {
text-align: center;
margin-top: 20px;
padding: 10px 0;
background-color: #f0f0f0;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
width: 100%;
max-width: 1200px;
}
/* Imagens responsivas */
img {
max-width: 100%;
height: auto;
}
/* Menu responsivo */
@media (max-width: 768px) {
header {
flex-direction: column;
}
.menu-hamburguer {
display: flex;
}
nav {
display: none;
}
nav.show {
display: block;
position: absolute;
top: 60px;
right: 0;
width: 100%;
background-color: #4CAF50;
}
nav ul {
display: flex;
flex-direction: column;
}
nav ul li {
text-align: center;
padding: 1rem;
border-bottom: 1px solid #ddd;
}
.logo img {
height: 80px;
}
.logo h1 {
font-size: 1.2rem;
}
.slider, .intro, .features {
padding: 1rem;
}
}
/* Ajustes gerais */
header, footer, main {
width: 100%;
max-width: 1200px;
}
/* Ajustes para dispositivos menores */
@media (max-width: 480px) {
.content {
margin: 10px;
padding: 15px;
}
.title {
font-size: 28px;
}
.producer img {
width: 80px;
height: 80px;
}
.producer-info h3 {
font-size: 18px;
}
.producer-info p {
font-size: 14px;
}
}