-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcidadeinvisivel.css
145 lines (123 loc) · 2.26 KB
/
cidadeinvisivel.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
top: 0;
background-color: #000000AA;
height: 70px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 10vw;
}
.logo img{
width: 120px;
}
.links ul {
display: flex;
gap: 20px;
list-style-type: none;
}
.links a{
color: white;
text-decoration: none;
font-size: 20px;
user-select: none;
transition: all 1s;
}
.links a:hover {
color: red;
}
.links ul .submenu {
display: none;
position: absolute;
font-size: 12px;
}
.links li ul{
position: relative;
}
.submenu {
background-color: #000000BB;
}
.submenu a{
display: flex;
justify-content: flex-start;
font-size: 18px;
}
.submenu a:hover {
border-left: 10px solid red;
}
.links li:hover > .submenu{
display: flex;
flex-direction: column;
gap: 1px;
}
body{
width: 100vw;
height: 100vh;
background-image: url("img/cidade_invisivel.png");
background-size: cover;
background-position: right top;
display: flex;
flex-direction: column;
font-family: 'Karla', sans-serif;
color: white;
background-color: #00000055;
background-blend-mode: darken;
}
main{
flex-grow: 6;
padding: 25vh 10vw;
}
main h2{
font-size: 30px;
}
main h1{
font-size: 70px;
}
main p{
font-size: 25px;
font-weight: 200;
width: 800px;
max-width: 800px;
}
main a{
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
color: white;
font-size: 20px;
width: 200px;
height: 50px;
background-color: goldenrod;
border-radius: 2px;
margin-top: 30px;
}
main a:hover{
border: solid 1px goldenrod;
background-color: black;
transition: all 0,5s;
}
footer{
text-align: center;
height: 40px;
}
.butterfly{
position: absolute;
width: 60px;
top: 90vh;
left: 90vw;
filter: brightness(8%);
animation: voar 20s Linear infinite;
}
@keyframes voar {
0%{
transform: translate(0, 0);
}
100% {
transform: translate(-1000px, -700px);
}
}