-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
134 lines (112 loc) · 2.12 KB
/
style.css
File metadata and controls
134 lines (112 loc) · 2.12 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: url("./assets/bg.jpg");
background-size: 100% auto; /* keyword*/
background-repeat: no-repeat; /*width height*/
background-position: top center; /*vertical horizontal*/
background-color: #121214; /*HEX: RR, GG, BB*/
color: white;
}
body *,
:root {
font-family: "Inter";
line-height: 160%;
}
header {
padding-top: 2rem;
text-align: center;
}
header img {
width: 15rem;
}
main {
max-width: 36rem;
width: 90%;
margin: 3rem auto;
}
section {
background-image: linear-gradient(90deg, #9572fc 0%, #43e7ad 50%, #e2d45c 100%);
border-radius: 0.625rem;
padding-top: 4px;
}
section > div {
padding: 2rem;
padding-top: 1.5rem;
border-radius: 0.5rem;
background-color: #2a2634;
}
section h2 {
letter-spacing: -0.47px;
}
section p {
letter-spacing: 0-18px;
color: #a1a1a1;
}
/*Animações*/
main section {
opacity: 0;
transform: translateY(2rem);
animation-name: appear;
animation-duration: 700ms;
animation-fill-mode: forwards;
}
@keyframes appear {
100% {
opacity: 1;
transform: translateY(0);
}
}
form {
display: flex;
gap: 0.85rem;
flex-wrap: wrap;
margin: 1.25rem 0;
}
input,
select {
all: unset;
border: 2px solid #9147ff;
border-radius: 0.5rem;
padding: 0.675rem;
font-size: 0.875rem;
background-color: #00000066;
}
input {
flex: 1;
}
button {
width: 100%;
border: 0;
background-image: linear-gradient(245deg, #9572fc 0%, #43e7ad 50%, #e2d45c 100%);
padding: 0.675rem;
border-radius: 0.5rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.12px;
transition: all 0.3s;
}
/**/
button:hover {
cursor: pointer;
transform: translateY(-2px);
box-shadow: 0 5px 1rem rgba(255, 248, 107, 0.2);
}
button:disabled {
transition: initial;
transform: initial;
box-shadow: initial;
cursor: not-allowed;
color: black;
}
.loading {
animation: pulse 1s infinite;
}
@keyframes pulse {
50% {
opacity: 0.5;
}
}