-
Notifications
You must be signed in to change notification settings - Fork 0
/
medcontact.css
429 lines (427 loc) · 8.61 KB
/
medcontact.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
width: 100%;
height: 100vh;
background: #112d42;
}
#nav_bar{
display: flex;
align-items: center;
height: 8%;
background-color: white;
}
.nav_left{
padding-left: 40px;
padding-right: 20px;
font-size: 1.6rem;
font-weight: bold;
font-family: 'Righteous', cursive;
width: 24%;
}
.different{
color: #37BEEE;
}
.nav_right{
width: 40%;
margin-right: 190px;
}
.nav_right ul{
display: flex;
list-style: none;
}
.nav_right a {
text-decoration: none;
margin-left: 40px;
cursor: pointer;
}
.nav_right li {
font-size: 1rem;
font-family: 'Lato', sans-serif;
color: black;
font-weight: 900;
}
.nav_right ul li::after{
content: '';
width:0;
height:4px;
border-radius: 20px;
background: #37BEEE;
display: block;
margin: auto;
transition:0.45s;
}
.nav_right ul li:hover::after{
width: 100%;
}
#start::after{
width: 75px;
height:4px;
background: #37BEEE;
margin: auto;
}
#signin_btn{
padding: 8px;
width: 120px;
font-size: 1.2rem;
border: 2px solid #ff416c;
background: linear-gradient(to right,#FD556E, #ff228c);
color: white;
border-radius: 19px;
cursor: pointer;
font-family:'Lato', sans-serif;
font-weight: 900;
}
#signin_btn:hover{
background: linear-gradient(to right,#FC6C85,#FC6C85) ;
border: 2px solid #FC6C85;
border-radius: 90px;
}
.social .fa{
padding: 12px 12px;
font-size: 1rem;
text-align: center;
text-decoration: none;
margin-left: 13px;
border: 2px solid #DBDAD6;
background-color: #DBDAD6;
color: black;
border-radius: 100%;
}
.social .fa-facebook{
padding: 12.5px 16px
}
.social .fa-instagram{
padding: 12px 12.5px;
}
.social .fa:hover{
color: #fff;
border: 2px solid #000;
background-color: #000;
}
section{
position: relative;
justify-content: center;
align-items: center;
display: flex;
}
/*
section::before{
content: '';
position: absolute;
top: 0;
left: 0;
width:50%;
height:100%;
background: #03a9f4;
}*/
.container{
position: relative;
min-width: 1100px;
min-height: 550px;
display: flex;
z-index: 1000;
top:40px;
font-family: 'Poppins', sans-serif;
}
.container .contact_info{
position: absolute;
top:60px;
width: 350px;
height: calc(100% - 120px);
background:#0f3959;
z-index: 1;
padding: 40px;
flex-direction: column;
display: flex;
justify-content: space-between;
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
}
.contact_info h2{
color: #fff;
font-size: 24px;
font-weight: 600;
}
.contact_info .info{
position: relative;
margin: 20px 0;
}
.info li{
position: relative;
list-style: none;
display: flex;
margin: 20px 0;
cursor: pointer;
align-items: flex-start;
}
.info li span:nth-child(1){
width: 20px;
min-width: 20px;
}
li span:nth-child(1) i{
filter: invert(1);
opacity: 0.6;
}
li span:nth-child(2){
color: #fff;
margin-left: 10px;
font-weight: 400;
opacity: 0.6;
}
li:hover span:nth-child(1) i , li:hover span:nth-child(2){
opacity: 1;
}
.sci{
position: relative;
display: flex;
}
.sci li{
list-style: none;
margin-right: 35px;
}
.sci li a{
text-decoration: none;
color: white;
font-size: 1.3rem;
}
.sci li a i{
opacity: 0.6;
}
.sci li:hover a i{
opacity:1;
}
.container .contact_form{
position: absolute;
padding: 70px 50px;
background: #fff;
width: calc(100% - 150px);
margin-left: 150px;
padding-left: 260px;
height: 100%;
box-shadow: 0 50px 50px rgba(0, 0, 0, 0.5);
}
.container .contact_form h2{
color: #0f3959;
font-size: 24px;
font-weight: 600;
}
.contact_form .form-box{
position: relative;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
padding-top: 30px;
}
.contact_form .form-box .inputbox{
position: relative;
margin: 0 0 30px 0;
}
.form-box .inputbox.w50{
width: 47%;
}
.form-box .inputbox.w100{
width: 100%;
}
.inputbox input, textarea{
width: 100% !important;
padding: 5px 0;
font-size: 18px;
font-weight: 300;
color: #333;
border: none;
resize: none;
border-bottom: 1px solid #777;
outline: none;
}
.inputbox textarea{
min-height: 120px;
}
.inputbox span{
position: absolute;
left: 0;
padding: 5px 0;
font-size: 18px;
font-weight: 300;
color: #333;
transition: 0.25s;
pointer-events: none;
}
.inputbox input:focus ~ span, textarea:focus ~ span,input:valid ~ span, textarea:valid ~ span{
transform: translateY(-20px);
font-size: 12px;
font-weight: 400;
letter-spacing: 1px;
color: #ff228c;
}
.inputbox #sum_btn{
position: relative;
cursor: pointer;
color:#fff;
background:#37BEEE;
border: none;
min-width: 150px;
padding: 12px;
transition: transform 80ms ease-in;
}
.inputbox #sum_btn:active{
transform:scale(0.90);
}
.inputbox #sum_btn:hover{
background: #71c1df;
}
@media only screen and (max-width:1319px){
.nav_left{
padding-left: 40px;
padding-right: 20px;
font-size: 1.4rem;
font-weight: bold;
font-family: 'Righteous', cursive;
width: 24%;
}
#nav_bar{
display: flex;
align-items: center;
height: 76px;
background-color: white;
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.nav_right{
width: 40%;
margin-right: 110px;
}
.tag_line h1{
padding: 20px 0;
font-size: 3.5rem;
font-weight: bold;
font-family: 'Merienda', cursive;
color: #fff;
text-align: center;
}
.tag_line p{
font-size: 1.5rem;
font-weight: 600;
font-family: 'Exo 2', sans-serif;
color: #fff;
text-align: center;
}
.social .fa{
padding: 10px 10px;
font-size: 1rem;
text-align: center;
text-decoration: none;
margin-left: 12px;
border: 2px solid #DBDAD6;
background-color: #DBDAD6;
color: black;
border-radius: 100%;
}
.social .fa-facebook{
padding: 10.5px 14px
}
.social .fa-instagram{
padding: 10px 10.5px;
}
}
@media only screen and (max-width:1224px){
.nav_right li {
font-size: 0.9rem;
font-family: 'Lato', sans-serif;
color: black;
font-weight: 900;
}
.nav_right a {
text-decoration: none;
margin-left: 35px;
cursor: pointer;
}
#start::after{
width: 67.5px;
height:4px;
margin-left: 20px;
background: #37BEEE;
margin: auto;
}
.nav_left{
padding-left: 20px;
padding-right: 20px;
font-size: 1.2rem;
font-weight: bold;
font-family: 'Righteous', cursive;
width: 22%;
}
.nav_right{
width: 39%;
}
.container{
position: relative;
min-width: 1100px;
min-height: 550px;
display: flex;
z-index: 1000;
top:40px;
font-family: 'Poppins', sans-serif;
}
.container .contact_info{
position: absolute;
top:120px;
width: 280px;
height: calc(100% - 150px);
background:#0f3959;
z-index: 1;
padding: 40px;
margin-left: 30px;
flex-direction: column;
display: flex;
justify-content: space-between;
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
}
.contact_info h2{
color: #fff;
font-size: 20px;
font-weight: 600;
}
.contact_info .info{
position: relative;
margin: 20px 0;
font-size: 0.9rem;
}
.sci li a{
text-decoration: none;
color: white;
font-size: 1.1rem;
}
.container .contact_form{
position: absolute;
padding: 70px 50px;
background: #fff;
width: calc(100% - 180px);
margin-left: 150px;
padding-left: 220px;
height: 90%;
box-shadow: 0 50px 50px rgba(0, 0, 0, 0.5);
margin-top: 70px;
}
}
@media only screen and (max-width:1075px){
.social{
display: none;
}
#signin_btn{
padding: 6px;
width: 100px;
font-size: 1rem;
border: 2px solid #ff416c;
background: linear-gradient(to right,#FD556E, #ff228c);
color: white;
border-radius: 19px;
cursor: pointer;
font-family:'Lato', sans-serif;
font-weight: 900;
}
.nav_right{
width: 55%;
}
}