-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
140 lines (122 loc) · 2.58 KB
/
main.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
@import url('https://fonts.cdnfonts.com/css/louis-george-cafe');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Louis George Café', sans-serif;
}
::selection {
background-color: #FF9130;
}
body {
background-color: whitesmoke;
}
input {
outline: none;
border: none;
}
.container {
margin-top: 10vh;
width: calc(100% - 550px) !important;
/* margin: 0 auto; */
justify-content: center;
height: 100%;
}
.container-btn {
display: flex;
flex-direction: column;
margin: 3rem 2rem 0 2rem;
align-items: center;
gap: 1.2rem;
align-content: center;
flex-wrap: wrap;
}
.container-file {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.2rem;
align-content: center;
flex-wrap: wrap;
}
.btn {
width: 80%;
padding: 1.5rem 3rem;
border-radius: 50px;
border: 0;
background-color: white;
box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
letter-spacing: 1.5px;
text-transform: uppercase;
font-size: 15px;
transition: all .5s ease;
}
.btn:hover {
letter-spacing: 3px;
background-color: hsl(270, 3%, 15%);
color: hsl(0, 0%, 100%);
box-shadow: #FF5B22 0px 5px 15px 0px;
}
.btn:active {
letter-spacing: 3px;
background-color: hsl(270, 3%, 15%);
color: hsl(0, 0%, 100%);
box-shadow: #FF5B22 0px 0px 0px 0px;
transform: translateY(10px);
transition: 150ms;
}
.btn-file {
position: relative;
font-size: 17px;
text-transform: uppercase;
text-decoration: none;
padding: 1em 2.5em;
display: inline-block;
border-radius: 6em;
transition: all .2s;
border: none;
font-family: inherit;
font-weight: 500;
color: black;
background-color: white;
}
input[type="file"] {
display: none;
}
.btn-file {
cursor: pointer;
position: relative;
padding: 10px 24px;
font-size: 18px;
color: rgb(193, 163, 98);
border: 2px solid rgb(193, 163, 98);
border-radius: 34px;
background-color: transparent;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
overflow: hidden;
}
.btn-file::before {
content: '';
position: absolute;
inset: 0;
margin: auto;
width: 50px;
height: 50px;
border-radius: inherit;
scale: 0;
z-index: -1;
background-color: rgb(193, 163, 98);
transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}
.btn-file:hover::before {
scale: 3;
}
.btn-file:hover {
color: #212121;
scale: 1.1;
box-shadow: 0 0px 20px rgba(193, 163, 98, 0.4);
}
.btn-file:active {
scale: 1;
}