/* page specific overwrites css */ .page h1 { font-size: var(--font-xl); } .page h3 { font-size: var(--font-lg); font-weight: normal; } /* page layout */ .page { display: flex; } .page .content { flex-grow: 1; } .content { position: relative; width: 100%; } .topcontainerbackg { height: 40vh; z-index: 0; background-color: #2940D3; -ms-transform: skewX(-20deg); -webkit-transform: skewX(-20deg); transform: skewX(-20deg); } .topcontainer { padding: 0 var(--padding-xl); top: 0; right: 0; left: 0; bottom: 0; position: absolute; height: 40vh; display: flex; flex-direction: column; align-items: start; justify-content: space-between; color: white; background-image: url('/gun.png'); background-size: contain; background-repeat: no-repeat; background-position: right center; } .topcontainer h1 { margin: unset; } .topcontainer p { opacity: 50%; margin-top: - var(--padding-sm); } .bottomcontainer { padding: 0 var(--padding-xl); height: 60vh; background-color: #232323; display: flex; flex-direction: column; justify-content: space-between; align-items: start; color: white; padding-bottom: var(--padding); } .leftsidetint { z-index: 1; width: 10vw; background-color: #1a1a1a; display: flex; flex-direction: column; justify-content: space-between; } .leftsidetint footer { font-size: var(--font-sm); padding: var(--padding-lg); } /* items */ .links { width: 100%; display: flex; flex-grow: 1; align-items: center; } .links div { width: 100%; font-size: 1.5em; display: grid; grid-template-columns: 25% 25% 25%; gap: var(--padding-lg); } .links div a { text-align: center; padding: var(--padding) var(--padding-xl); transition-duration: var(--transition-speed); background-color: #2940D3; -ms-transform: skewX(-20deg); -webkit-transform: skewX(-20deg); transform: skewX(-20deg); } .links div a:hover { -ms-transform: skewX(0deg); -webkit-transform: skewX(0deg); transform: skewX(0deg); transition-duration: var(--transition-speed); } .links div a:hover span { -ms-transform: skewX(0deg); -webkit-transform: skewX(0deg); transform: skewX(0deg); transition-duration: var(--transition-speed); } .links div p { margin: unset; } .links div a span { transition-duration: var(--transition-speed); -ms-transform: skewX(20deg); -webkit-transform: skewX(20deg); transform: skewX(20deg); display: inline-flex; align-items: center; justify-content: space-between; width: 100%; } .links div a:hover { transition-duration: 0.3s; background-color: #1f309e; } /* mobile responsivity */ @media (max-aspect-ratio: 1/1) { .topcontent { width: 100%; padding: var(--padding); } .links a { padding: 0 var(--padding-lg); } .page h1 { font-size: var(--font-lg); } .page h3 { font-size: var(--font-lg); font-weight: normal; } .links div { font-size: var(--font); display: flex; flex-wrap: wrap; justify-content: center; } } @media (max-aspect-ratio: 5/4) { .leftsidetint { display: none; } }