-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
233 lines (200 loc) · 4.2 KB
/
style.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
232
233
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-size: 62.5%;
}
body {
font-family: 'Poppins', sans-serif;
background:
#BFD7E4;
}
body::before {
content: '';
width: 100%;
background: #293241;
height: 46.5rem;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.page {
width: 75.0rem;
margin: 0 auto;
}
form {
background: #FFFFFF;
padding: 3.2rem 6.4rem 6.4rem 6.4rem;
display: flex;
flex-direction: column;
gap: 3.6rem;
background: #FFFFFF;
border-radius: 0 0 2.0rem 2.0rem;
}
legend {
font-family: 'Staatliches', cursive;;
text-transform: uppercase;
}
header {
max-height: 46.5rem;
text-align: center;
color: #FFFFFF;
padding-bottom: 0;
background: #293241;
}
header h1 {
font-family: 'Staatliches', cursive;
text-transform: uppercase;
font-style: normal;
font-weight: 400;
font-size: 3.6rem;
line-height: 4.5rem;
padding-top: 10.8rem;
}
header p {
font-style: normal;
font-weight: 400;
font-size: 1.6rem;
line-height: 2.4rem;
margin-bottom: 3.0rem;
}
header img {
margin-bottom: 1.9rem;
}
fieldset {
border: none;
}
.fieldset-wrapper {
display: flex;
flex-direction: column;
gap: 3.6rem;
}
.input-wrapper {
display: flex;
flex-direction: column;
}
.input-wrapper label,
.checkbox-wrapper {
font-style: normal;
font-weight: 400;
font-size: 1.4rem;
line-height: 2.4rem;
color: #4E4958;
}
.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
height: 5.6rem;
background: #FAFAFC;
border: 1px solid #E6E6F0;
border-radius: 0.8rem;
padding-left: 1.0rem;
}
.input-wrapper label span {
margin-right: 1.2rem;
font-size: 1.2rem;
line-height: 2.0rem;
color: #C1BCCC;
}
.input-wrapper label span:hover {
color: #6C6A71;
}
.top-wrapper {
background: #F67669;
border-radius: 0 0 2.0rem 2.0rem;
transform: rotate(-180deg);
margin: 0 auto;
border: none;
}
.top-wrapper legend {
font-style: normal;
font-weight: 400;
font-size: 2.4rem;
line-height: 3.4rem;
color: #FFFFFF;
transform: rotate(-180deg);
padding: 5.0rem;
margin: 0 auto;
}
.col-2 {
display: flex;
gap: 2.2rem;
}
.col-2 .input-wrapper {
width: 30.0rem;
}
.input-wrapper select {
font-family: 'Poppins', sans-serif;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1_54)'%3E%3Cpath d='M8 10L12 14L16 10' stroke='%239C98A6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_54'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-position: right 2.4rem top 50%;
}
.input-wrapper textarea {
padding-top: 1.0rem;
height: 16.7rem;
}
.fieldset-wrapper legend {
text-align: center;
font-family: 'Staatliches';
font-style: normal;
font-weight: 400;
font-size: 2.4rem;
line-height: 3.4rem;
color: #253B51;
padding-bottom: 0.8rem;
border-bottom: 1px solid #E6E6F0;
width: 100%;
}
.checkbox-wrapper {
position: relative;
}
.checkbox-wrapper label {
display: flex;
align-items: center;
gap: 1.6rem;
margin: 0;
}
.checkbox-wrapper input {
position: absolute;
width: 2.4rem;
height: 2.4rem;
opacity: 0;
}
.checkbox-wrapper label::before{
background: #FAFAFC;
content:'';
width: 2.4rem;
height: 2.4rem;
display: block;
border: 1px solid #E6E6F0;
border-radius: 0.8rem;
}
.checkbox-wrapper input:checked + label::before {
background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 11.17L1.83 7L0.410004 8.41L6 14L18 2L16.59 0.589996L6 11.17Z' fill='%2342D3FF'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-position: center;
}
.col-3 {
display: flex;
gap: 1.0rem;
}
.col-3 > div:nth-child(1) {
width: 100%;
margin-right: 2.2rem;
}
button {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 1.5rem 4.0rem;
gap: 1.0rem;
border: none;
background: #F67669;
border-radius: 0.8rem;
}