370
370
border-color : # 000 ;
371
371
}
372
372
373
- # contact {
374
- border-style : solid;
375
- border-color : # fff ;
376
- border-radius : 100px / 70px ; /* chosen different vertical and horizontal radius for smooth border */
377
- overflow : hidden;
378
- display : flex;
379
- justify-content : space-between;
380
- gap : 20px ;
381
- padding : 60px 30px ;
382
- margin : 100px 20px ;
383
- }
384
-
385
- .contactLeftSection {
386
- align-items : center;
387
- justify-content : center;
388
- flex : 40% ;
389
- padding : 20px ;
390
- }
391
-
392
- .contactRightSection {
393
- align-items : top;
394
- justify-content : right;
395
- flex : 60% ;
396
- padding : 20px ;
373
+ @media (min-width : 769px ) {
374
+ # contact {
375
+ border-style : solid;
376
+ border-color : # fff ;
377
+ border-radius : 100px / 70px ; /* chosen different vertical and horizontal radius for smooth border */
378
+ overflow : hidden;
379
+ display : flex;
380
+ justify-content : space-between;
381
+ gap : 20px ;
382
+ padding : 60px 30px ;
383
+ margin : 100px 20px ;
384
+ }
385
+
386
+ .contactLeftSection {
387
+ align-items : center;
388
+ justify-content : center;
389
+ flex : 40% ;
390
+ padding : 20px ;
391
+ }
392
+
393
+ .contactRightSection {
394
+ align-items : top;
395
+ justify-content : right;
396
+ flex : 60% ;
397
+ padding : 20px ;
398
+ }
399
+
400
+ # titleContact {
401
+ font-family : "Montserrat" , sans-serif;
402
+ text-transform : uppercase;
403
+ font-weight : 200 ;
404
+ font-size : 60px ;
405
+ text-align : center;
406
+ }
407
+
408
+ .mailText {
409
+ font-family : "Lucida Console" , "Courier New" , monospace;
410
+ padding-bottom : 15px ;
411
+ text-align : right;
412
+ }
413
+
414
+ .email {
415
+ font-style : italic;
416
+ }
397
417
}
398
418
399
- # titleContact {
400
- font-family : "Montserrat" , sans-serif;
401
- text-transform : uppercase ;
402
- font-weight : 200 ;
403
- font-size : 60 px ;
404
- text-align : center;
405
- }
419
+ @media ( max-width : 769 px ) {
420
+ # contact {
421
+ overflow : hidden ;
422
+ padding : 10 % 5 % ;
423
+ margin : 10 % 10 % ;
424
+ text-align : center;
425
+ }
406
426
407
- .mailText {
408
- font-family : "Lucida Console" , "Courier New" , monospace;
409
- padding-bottom : 15px ;
410
- text-align : right;
427
+ # titleContact {
428
+ font-family : "Montserrat" , sans-serif;
429
+ text-transform : uppercase;
430
+ font-weight : 200 ;
431
+ font-size : 8vw ;
432
+ text-align : center;
433
+ padding : 5% 5% ;
434
+ }
435
+
436
+ .mailText {
437
+ font-family : "Lucida Console" , "Courier New" , monospace;
438
+ padding : 12% 5% ;
439
+ font-size : 3.5vw ;
440
+ text-align : center;
441
+ }
442
+
443
+ .email {
444
+ font-style : italic;
445
+ }
411
446
}
412
447
413
- .email {
414
- font-style : italic;
415
- }
416
448
417
449
# contactDetails {
418
450
display : block;
450
482
justify-content : right;
451
483
}
452
484
# contactDetails .socials a {
453
- width : 120px ;
454
485
height : 50px ;
455
486
display : flex;
456
487
justify-content : center;
457
488
align-items : center;
458
489
}
490
+ @media (min-width : 769px ) {
491
+ # contactDetails .socials a {
492
+ width : calc (80% / 4 );
493
+ }
494
+ }
495
+
496
+ @media (max-width : 769px ) {
497
+ # contactDetails .socials a {
498
+ width : calc (100% / 4 );
499
+ }
500
+ }
459
501
# contactDetails .socials a : hover {
460
502
opacity : 0.8 ;
461
503
}
477
519
background-color : # 000 ;
478
520
}
479
521
480
- @media only screen and (max-width : 600 px ){
522
+ @media only screen and (max-width : 769 px ){
481
523
# contactMap , # contactDetails {
482
524
width : 100% ;
483
525
}
484
- # contactDetails {
526
+ /* #contactDetails{
485
527
margin: 10px 0 0 0;
486
- }
528
+ } */
487
529
}
488
530
489
- .hubspot-form {
531
+ /* .hubspot-form {
490
532
margin-top: 15px;
491
533
margin-inline: 20%;
492
534
padding-top: 15px;
519
561
color: black;
520
562
font-size: 0.9em;
521
563
padding-bottom: 15px;
522
- }
564
+ } */
0 commit comments