@@ -211,8 +211,8 @@ body {
211211}
212212
213213.btn-light : hover {
214- color : var (--bs-white );
215- background : var (--bs-primary );
214+ color : var (--bs-primary );
215+ background : var (--bs-white );
216216}
217217
218218.btn-square {
@@ -432,6 +432,76 @@ body {
432432 border-color : var (--bs-primary );
433433}
434434
435+ /*** Stratum page ***/
436+ /* Grid layout for features and factions */
437+ .feature-grid {
438+ display : grid;
439+ grid-template-columns : repeat (auto-fit, minmax (300px , 1fr ));
440+ gap : 2rem ;
441+ margin : 0 auto;
442+ max-width : 1200px ;
443+ }
444+
445+ /* Card styles */
446+ .card {
447+ border : none;
448+ background : transparent;
449+ }
450+
451+ .card-body {
452+ background : url ('../img/papel_blanco.jpg' );
453+ background-repeat : no-repeat;
454+ background-size : cover;
455+ background-position : center;
456+ filter : drop-shadow (0.1vw 0.1vw 0.1vw var (--bs-dark ));
457+ }
458+
459+ /* Feature and faction cards */
460+ .feature-card {
461+ height : 100% ;
462+ display : flex;
463+ flex-direction : column;
464+ }
465+
466+ .feature-card .card-body {
467+ flex : 1 ;
468+ display : flex;
469+ flex-direction : column;
470+ justify-content : space-between;
471+ }
472+
473+ .faction-card {
474+ transition : transform 0.3s ease;
475+ }
476+
477+ .faction-card : hover {
478+ transform : translateY (-5px );
479+ }
480+
481+ /* Video container for rules section */
482+ .video-container {
483+ position : relative;
484+ padding-bottom : 56.25% ;
485+ height : 0 ;
486+ overflow : hidden;
487+ max-width : 100% ;
488+ margin : 2rem auto;
489+ }
490+
491+ .video-container iframe {
492+ position : absolute;
493+ top : 0 ;
494+ left : 0 ;
495+ width : 100% ;
496+ height : 100% ;
497+ }
498+
499+ /* Game features section */
500+ .game-feature {
501+ height : 100% ;
502+ margin-bottom : 2rem ;
503+ }
504+
435505/*** Footer ***/
436506.footer {
437507 background-color : var (--bs-dark ) !important ;
@@ -452,6 +522,145 @@ body {
452522.ps-6 { padding-left : 4rem ; }
453523.pe-6 { padding-right : 4rem ; }
454524
525+ /*** Spiny envelope! ***/
526+ .scene {
527+ width : 300px ;
528+ height : 200px ;
529+ perspective : 1000px ;
530+ margin : 100px auto;
531+ }
532+
533+ .envelope {
534+ width : 100% ;
535+ height : 100% ;
536+ position : relative;
537+ transform : rotateY (0deg );
538+ transform-style : preserve-3d;
539+ animation : spin 6s infinite linear;
540+ transition : transform 0.3 ease;
541+ }
542+
543+ .envelope : hover {
544+ animation : grow 0.3s forwards;
545+ }
546+
547+ @keyframes spin {
548+ from {transform : rotateY (0deg ) scale (1 );}
549+ to {transform : rotateY (360deg ) scale (1 );}
550+ }
551+
552+ @keyframes grow {
553+ to {transform : scale (1.15 )}
554+ }
555+
556+ .envelope__face {
557+ position : absolute;
558+ width : 100% ;
559+ height : 100% ;
560+ backface-visibility : hidden;
561+ background-color : # f7f3eb ;
562+ border : 2px solid # 333 ;
563+ box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.1 );
564+ /*fotito de textura*/
565+ background-image : url ('../img/papel_blanco.jpg' );
566+ background-size : cover;
567+ background-repeat : no-repeat;
568+ }
569+
570+ .envelope__side {
571+ position : absolute;
572+ /*fotito de textura*/
573+ background-image : url ('../img/papel_blanco.jpg' );
574+ background-size : cover;
575+ background-repeat : no-repeat;
576+ border : 1px solid # 333 ;
577+ box-shadow : inset 0 0 10px rgba (0 , 0 , 0 , 0.1 );
578+ }
579+
580+ .envelope__side--left {
581+ width : 15px ;
582+ height : 100% ;
583+ left : -7.5px ;
584+ transform : rotateY (90deg );
585+ }
586+
587+ .envelope__side--right {
588+ width : 15px ;
589+ height : 100% ;
590+ right : -7.5px ;
591+ transform : rotateY (90deg );
592+ }
593+
594+ .envelope__side--top {
595+ width : 100% ;
596+ height : 15px ;
597+ top : -7.5px ;
598+ transform : rotateX (90deg );
599+ }
600+
601+ .envelope__side--bottom {
602+ width : 100% ;
603+ height : 15px ;
604+ bottom : -7.5px ;
605+ transform : rotateX (-90deg );
606+ }
607+
608+ .envelope__front {
609+ transform : translateZ (7.5px );
610+ }
611+
612+ .envelope__back {
613+ transform : translateZ (-7.5px ) rotateY (180deg );
614+ }
615+
616+ .flap {
617+ position : absolute;
618+ width : 0 ;
619+ height : 0 ;
620+ border-style : solid;
621+ border-width : 100px 150px ;
622+ border-color : # f7f3eb transparent transparent transparent;
623+ top : -1px ;
624+ left : -1px ;
625+ filter : drop-shadow (0 2px 3px rgba (0 , 0 , 0 , 0.2 ));
626+ }
627+
628+ .flap ::after {
629+ content : '' ;
630+ position : absolute;
631+ top : -98px ;
632+ left : -148px ;
633+ width : 296px ;
634+ height : 98px ;
635+ /*fotito de textura*/
636+ background-image : url ('../img/papel_blanco.jpg' );
637+ background-size : cover;
638+ background-repeat : no-repeat;
639+ clip-path : polygon (0 0 , 50% 100% , 100% 0 );
640+ }
641+
642+ .envelope__text {
643+ font-family : "Special Elite" , system-ui;
644+ font-size : 200% ;
645+ color : var (--bs-dark );
646+ text-align : center;
647+ padding : 20px ;
648+ position : relative;
649+ top : 90px ;
650+ }
651+
652+ .envelope-link {
653+ text-decoration : none;
654+ display : block; /* Make the whole envelope clickable */
655+ }
656+
657+ .envelope-container {
658+ display : flex;
659+ justify-content : center;
660+ gap : 10rem ;
661+ flex-wrap : wrap;
662+ }
663+
455664/*** Media Queries ***/
456665@media (max-width : 991px ) {
457666 .navbar-collapse {
@@ -501,4 +710,16 @@ body {
501710 .pt-6 , .pb-6 , .ps-6 , .pe-6 {
502711 padding : 2rem ;
503712 }
713+ }
714+
715+ /* Responsive adjustments */
716+ @media (max-width : 767px ) {
717+ .feature-grid {
718+ grid-template-columns : 1fr ;
719+ gap : 1rem ;
720+ }
721+
722+ .game-feature {
723+ margin-bottom : 1rem ;
724+ }
504725}
0 commit comments