@@ -575,3 +575,67 @@ body:has(.footer__link--home:hover) .crumple:after {
575575 -webkit-animation : a 1s .25s linear forwards;
576576 animation : a 1s .25s linear forwards
577577}
578+
579+ /* Mobile Touch/Click Support */
580+ @media (hover : none) and (pointer : coarse) {
581+ /* Mobile devices - trigger on touch/click */
582+ body : has (.footer__link--home : active ) .crumple {
583+ background : # 020121 ;
584+ z-index : 0 ;
585+ }
586+
587+ body : has (.footer__link--home : active ) .crumple : after {
588+ -webkit-animation : a 1s .25s linear forwards;
589+ animation : a 1s .25s linear forwards;
590+ }
591+
592+ body : has (.footer__link--writings : active ) .crumple {
593+ background : # 020121 ;
594+ z-index : 0 ;
595+ }
596+
597+ body : has (.footer__link--writings : active ) .crumple : after {
598+ -webkit-animation : e 1s .25s linear forwards;
599+ animation : e 1s .25s linear forwards;
600+ }
601+
602+ body : has (.footer__link--github : active ) .crumple {
603+ background : # 012118 ;
604+ z-index : 0 ;
605+ }
606+
607+ body : has (.footer__link--github : active ) .crumple : after {
608+ -webkit-animation : b 1s .25s linear forwards;
609+ animation : b 1s .25s linear forwards;
610+ }
611+
612+ body : has (.footer__link--playlists : active ) .crumple {
613+ background : # 210120 ;
614+ z-index : 0 ;
615+ }
616+
617+ body : has (.footer__link--playlists : active ) .crumple : after {
618+ -webkit-animation : c 1s .25s linear forwards;
619+ animation : c 1s .25s linear forwards;
620+ }
621+
622+ body : has (.footer__link--instagram : active ) .crumple {
623+ background : # 210120 ;
624+ z-index : 0 ;
625+ }
626+
627+ body : has (.footer__link--instagram : active ) .crumple : after {
628+ -webkit-animation : f 1s .25s linear forwards;
629+ animation : f 1s .25s linear forwards;
630+ }
631+
632+ body : has (.footer__link--alhambra : active ) .crumple {
633+ background : # 020121 ;
634+ z-index : 0 ;
635+ }
636+
637+ body : has (.footer__link--alhambra : active ) .crumple : after {
638+ -webkit-animation : d 1s .25s linear forwards;
639+ animation : d 1s .25s linear forwards;
640+ }
641+ }
0 commit comments