-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
193 lines (161 loc) · 2.68 KB
/
style.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
body {
background: #f7f7f7;
font-family: Arial, Helvetica, sans-serif;
margin: 0px;
margin-top: 60px;
display: grid;
gap: 60px;
justify-items: center;
}
p, h1, h2, h3 {
margin: 0px;
}
p {
font-size: 20px;
}
a {
text-decoration: none;
}
.titulo {
font-size: 2rem;
}
ul {
list-style: none;
margin: 0px;
padding: 0px;
}
img {
max-width: 100%;
display: block;
}
.header {
display: grid;
gap: 60px;
justify-items: center;
}
.menu {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.menu a {
display: block;
background: #fff;
color: #000;
padding: 1rem 2rem;
border-radius: 4px;
text-transform: uppercase;
font-weight: 600;
border: 2px solid transparent;
}
.menu a:hover {
border: 2px solid #e21;
transition: .3s;
}
.conteudo {
max-width: 1000px;
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.info {
background: #fff;
padding: 40px;
text-align: right;
display: grid;
gap: 20px;
align-content: center;
justify-items: end;
position: relative;
}
.info::before {
content: "";
width: 60px;
height: 4px;
background: #e21;
position: absolute;
top: 30px;
right: -30px;
}
.info-cover img {
object-fit: cover;
height: 100%;
}
.botao {
background: #e21;
color: #fff;
font-weight: 600;
padding: 1rem 2rem;
border-radius: 4px;
text-transform: uppercase;
}
.botao:hover {
background: #900;
transition: .3s;
}
.subtitulo {
font-size: 64px;
color: rgba(0, 0, 0, 0.2);
text-align: right;
text-transform: uppercase;
align-self: center;
}
.vantagem {
background: #fff;
padding: 40px;
}
.vantagem-item {
display: grid;
gap: 10px 20px;
grid-template-columns: auto 1fr;
padding: 20px;
}
.vantagem-item p {
grid-column: 2;
}
.vantagem-item:hover {
border-left: 4px solid #e21;
}
.rodape {
background: #fff;
padding: 40px;
width: 100%;
text-align: center;
box-sizing: border-box;
}
@media (max-width: 1000px) {
.conteudo-vantagem {
grid-template-columns: 1fr;
}
.subtitulo {
text-align: center;
}
}
@media (max-width: 600px) {
body {
margin-top: 20px;
gap: 30px;
}
.header {
gap: 30px;
}
.info {
text-align: left;
justify-items: start;
}
.info::before {
display: none;
}
.conteudo {
grid-template-columns: 1fr;
}
.subtitulo {
font-size: 3rem;
padding: 10px 20px;
}
}
@media (max-width: 400px) {
.subtitulo {
font-size: 2rem;
}
}