-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
203 lines (171 loc) · 3.51 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
194
195
196
197
198
199
200
201
202
203
/* Importa a fonte Quattrocento Sans do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* Estilos padrão */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Quattrocento Sans';
}
/* Estilos do documento HTML */
html {
background-color: rgba(54, 105, 172, 0.5);
height: 100vh;
}
/* Estilos do container */
.container {
max-width: 1280px;
margin: auto;
}
/* Layout flexível do menu e logo*/
.flex {
display: flex;
align-items: center;
justify-content: space-between;
}
/* Estilos do cabeçalho */
header {
width: 100%;
padding: 60px 4%;
position: fixed;
top: 0;
left: 0;
transition: .5s;
}
header.rolagem {
background-color: #500050;
padding: 20px 4%;
}
header.rolagem a {
color: #6698e2;
}
header.rolagem button {
background-color: #000;
color: #6698e2;
}
/* Estilos da lista no cabeçalho/menu */
header ul {
list-style-type: none;
}
header ul li {
display: inline-block;
margin: 0 40px;
}
header ul li a {
color: #fff;
text-decoration: none;
}
header a:hover {
transform: scale(1.1);
}
/* Estilos do banner/imagem de fundo */
.banner {
color: #fffc;
height: 130vh;
background-image: url(imagens/background.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 40px;
}
.banner h1 {
font-size: 2em;
}
.banner h1 span {
color: #800080;
}
/*Estilos da seção Sobre Mim*/
.sobre {
text-align: justify;
margin: 180px 20px 10px 20px;
padding: 20px;
}
.banner h2 {
text-align: left;
color: #1965d8;
}
/* Estilos da seção de links */
.links {
background-color: #fff;
border-radius: 10px;
align-items: center;
text-align: center;
margin: 180px 20px 10px 20px;
padding: 20px;
}
button{
padding: 5px;
background-color: #800080;
color: #fff;
border-radius: 5px;
}
button:hover {
background-color: #0000FF;
}
/* Estilos do rodapé */
footer {
background-color: #1965d8;
padding: 10px;
text-align: center;
}
.rodape {
font-size: small;
margin-bottom: 15px;
}
/* Estilos das redes sociais */
.redes-sociais {
display: flex;
justify-content: center;
}
.redes-sociais a {
text-decoration: none;
margin: 0 10px;
}
.redes-sociais img {
width: 40px;
height: 40px;
border-radius: 50%;
transition: transform 0.3s ease-in-out;
}
.redes-sociais img:hover {
transform: scale(1.1);
}
/* Estilos do formulário de contato */
.form-container form{
background-color: #fff;
color: #500050;
border-radius: 20px;
display: flex;
flex-direction: column;
justify-content: space-around;
margin: 180px 40px 20px 40px;
padding: 20px;
}
.form-container form label,
.form-container form input,
.form-container form textarea {
margin-top: 5px;
}
.form-container form input[type="text"],
.form-container form input[type="email"],
.form-container form textarea {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
.form-container form input[type="submit"] {
background-color: #800080;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
.form-container form input[type="submit"]:hover {
background-color: #6698e2;
}