-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyles.css
231 lines (205 loc) · 5.02 KB
/
styles.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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
@import url('https://fonts.googleapis.com/css?family=Inconsolata:400,500,600,700&display=swap');
body {
font-family: 'Inconsolata', monospace;
font-weight: 400;
font-size: 16px;
line-height: 1.6;
color: #e0e0e0; /* Light text color for better readability */
background-color: #1f2029; /* Dark background */
overflow-x: hidden;
margin: 0; /* Reset margins */
padding: 0; /* Reset padding */
}
a {
cursor: pointer;
transition: color 200ms ease;
}
a:hover {
text-decoration: underline; /* Underline on hover for better visibility */
}
.link {
color: #dcdbe1; /* Subtle link color */
}
.link:hover {
color: #00b2b2; /* Slightly darker shade on hover */
}
p {
font-weight: 500;
font-size: 15px;
line-height: 1.7;
}
h4 {
font-weight: 600;
margin-bottom: 10px; /* Spacing below headings */
}
h6 span {
padding: 0 20px;
text-transform: uppercase;
font-weight: 700;
}
.section {
position: relative;
width: 100%;
display: block;
}
.full-height {
min-height: 100vh;
}
[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
position: absolute;
left: -9999px;
}
.checkbox:checked + label,
.checkbox:not(:checked) + label {
position: relative;
display: block;
text-align: center;
width: 60px;
height: 16px;
border-radius: 8px;
margin: 10px auto;
cursor: pointer;
background-color: #00b2b2; /* Softer shade */
}
.checkbox:checked + label:before,
.checkbox:not(:checked) + label:before {
position: absolute;
display: block;
width: 36px;
height: 36px;
border-radius: 50%;
color: #00b2b2; /* Softer shade */
background-color: #2a2b38; /* Match card background */
font-family: 'unicons';
content: '\eb4f';
z-index: 20;
top: -10px;
left: -10px;
line-height: 36px;
text-align: center;
font-size: 24px;
transition: transform 0.5s ease;
}
.checkbox:checked + label:before {
transform: translateX(44px) rotate(-270deg);
}
.card-3d-wrap {
position: relative;
width: 440px;
max-width: 100%;
height: 400px;
transform-style: preserve-3d;
perspective: 800px;
margin-top: 60px;
}
.card-3d-wrapper {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
transform-style: preserve-3d;
transition: transform 600ms ease-out;
}
.card-front,
.card-back {
width: 100%;
height: 100%;
background-color: #2a2b38;
background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg');
background-position: bottom center;
background-repeat: no-repeat;
background-size: 300%;
position: absolute;
border-radius: 8px; /* Slightly rounded corners */
left: 0;
top: 0;
transform-style: preserve-3d;
backface-visibility: hidden;
}
.card-back {
transform: rotateY(180deg);
}
.checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
transform: rotateY(180deg);
}
.center-wrap {
position: absolute;
width: 100%;
padding: 0 35px;
top: 50%;
left: 0;
transform: translate3d(0, -50%, 35px) perspective(100px);
z-index: 20;
display: block;
}
.form-group {
position: relative;
display: block;
margin: 0;
padding: 0;
}
.form-style {
padding: 13px 20px;
padding-left: 55px;
height: 48px;
width: 100%;
font-weight: 400; /* Lighter font weight */
border-radius: 4px;
font-size: 14px;
line-height: 22px;
letter-spacing: 0.5px;
outline: none;
color: #e0e0e0; /* Light text color */
background-color: #1f2029; /* Dark input background */
border: none;
transition: box-shadow 200ms linear;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Softer shadow */
}
.form-style:focus,
.form-style:active {
box-shadow: 0 0 10px rgba(0, 206, 207, 0.5); /* Subtle focus effect */
}
.input-icon {
position: absolute;
top: 0;
left: 18px;
height: 48px;
font-size: 24px;
line-height: 48px;
text-align: left;
color: #00b2b2; /* Softer icon color */
}
.btn {
border-radius: 4px;
height: 44px;
font-size: 14px; /* Slightly larger button text */
font-weight: 600;
text-transform: uppercase;
transition: background-color 200ms linear;
padding: 0 30px;
letter-spacing: 1px;
display: inline-flex;
align-items: center;
justify-content: center;
color: #1f2029; /* Dark button text */
background-color: #00b2b2; /* Softer button color */
border: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Softer shadow */
}
.btn:hover {
background-color: #009999; /* Darker shade on hover */
}
.btn:hover{
background-color: #102770;
color: #ffeba7;
box-shadow: 0 8px 24px 0 rgba(16,39,112,.2);
}
.mb-0 > span{
background-color: #ffeba7;;
margin: 20px;
border-radius: 23px;
padding: 10px 24px;
color: #102770;
}