-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (82 loc) · 1.23 KB
/
style.css
File metadata and controls
97 lines (82 loc) · 1.23 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
/* Reset básico */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
background-color: #f4f4f4;
color: #333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 1rem;
text-align: center;
}
main {
max-width: 500px;
width: 100%;
padding: 2rem 1rem;
position: relative;
}
h1 {
margin-bottom: 1rem;
}
p {
margin-bottom: 0.75rem;
}
button,
select {
margin-top: 1rem;
padding: 0.5rem 1rem;
background-color: #007acc;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover,
select:hover {
background-color: #005f99;
}
img {
width: 100%;
max-width: 150px;
height: auto;
margin: 1.5rem auto;
display: block;
}
.levitate {
animation: float 3s ease-in-out infinite;
filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0px);
}
}
#langSelector {
position: absolute;
top: 1rem;
right: 1rem;
font-size: 0.9rem;
}
@media (max-width: 480px) {
main {
padding: 1rem;
}
button{
width: 100%;
}
img {
max-width: 100px;
}
}