@font-face {
    font-family: "Qubio Shadow";
    src: local("Qubio Shadow"),
         url("/static/fonts/QubioShadow.woff2") format("woff2"),
         url("/static/fonts/QubioShadow.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

:root {
    --hyperfont: 'Qubio Shadow', 'Arial Black', 'Arial', sans-serif;
    --faqActiveCardPadding: 1.5rem;
    --purple: #5910a0;
}

@keyframes faqcardswap {
    50% {
        transform: translate(-50%, calc(var(--y-offset) - 320px)) scale(1.02) rotate(3deg);
        animation-timing-function: ease-in;
    }
    100% {
        background-color: #fff;
        padding: var(--faqActiveCardPadding);
        transform: translate(-50%, 6.5rem) scale(1);
        z-index: 6;
    }
}
@keyframes faqcardnext {
    50% {
        transform: translate(-50%, calc(var(--y-offset) - 370px)) scale(0.75) rotate(3deg);
        animation-timing-function: ease-in;
    }
    100% {
        background-color: #fff;
        padding: var(--faqActiveCardPadding);
        transform: translate(-50%, 0) scale(0.88);
        z-index: 0;
    }
}

body {
    text-align: center;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0 auto 1rem;
    max-width: 1400px;
    width: 100%;
    border-bottom: solid 1px #cecece;
}
#header__nav {
    font-size: 1rem;
    color: var(--blue);
}
#header__nav > a {
    text-decoration: none;
}
#header__nav > a:hover,
#header__nav > a:focus {
    font-weight: bold;
}
#header__nav > a:not(:last-of-type)::after {
    content: '|';
    margin: 0 .25rem;
    font-weight: normal;
}

section {
    margin-bottom: 3rem;
}
.container { 
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.container > h2 {
    font-family: var(--hyperfont);
    font-size: 4rem;
}

h1,
#pageTitle__tagline {
    font-family: var(--hyperfont);
    font-weight: normal;
}
h1 {
    font-size: 10rem;
    font-size: min(10rem, 11.5vw);
    text-align: center;
    background-image: -webkit-linear-gradient(bottom, var(--purple) 40%, #ff00ff);
    background-image: linear-gradient(to top, var(--purple) 40%, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: #890bbb;
}

#pageTitle {
    margin: 10rem 0;
}
#pageTitle__tagline {
    display: block;
    font-size: 2rem;
    color: #5910a0;
}
#pageDescription {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}
#faqWrapper {
    flex: 1;
    padding: 0 1rem;
    min-height: 400px;
    margin-bottom: -1.25rem;
}
#faqCardstack {
    position: relative;
    z-index: 1;
    height: 400px;
    text-align: left;
}
.faqCard {
    position: absolute;
    padding: .25rem 1rem;
    left: 50%;
    top: 0;
    height: 280px;
    width: 100%;
    background-color: #f7f7f7;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, var(--y-offset)) scale(var(--scale));
    transition: padding .1s linear, font-size .2s linear, transform .3s ease, filter .1s linear, background-color .2s linear;
}
.faqCard:not(:last-child) {
    cursor: pointer;
}
.faqCard:nth-child(1) {
    --y-offset: 0rem;
    --scale: 0.88;
    z-index: 1;
    filter: blur(1px);
}
.faqCard:nth-child(2) {
    --y-offset: 1.25rem;
    --scale: 0.91;
    z-index: 2;
    filter: blur(0.75px);
}
.faqCard:nth-child(3) {
    --y-offset: 2.75rem;
    --scale: 0.94;
    z-index: 3;
    filter: blur(0.5px);
}
.faqCard:nth-child(4) {
    --y-offset: 4.5rem;
    --scale: 0.97;
    z-index: 4;
}
.faqCard:nth-child(5) {
    --y-offset: 6.5rem;
    --scale: 1;
    z-index: 5;
    padding: var(--faqActiveCardPadding);
    background-color: #fff;
}
#faqCardstack[data-stacked="true"] > .faqCard:nth-child(2) {
    --y-offset: 1rem;
}
#faqCardstack[data-stacked="true"] > .faqCard:nth-child(3) {
    --y-offset: 2rem;
}
#faqCardstack[data-stacked="true"] > .faqCard:nth-child(4) {
    --y-offset: 3rem;
}
#faqCardstack[data-stacked="true"] > .faqCard:nth-child(5) {
    --y-offset: 4rem;
}

.faqCard__title {
    font-size: .875rem;
    color: #666;
    margin-bottom: .5rem;
}
.faqCard__answer {
    color: #444;
    font-size: 0.75rem;
    letter-spacing: -0.1px;
    line-height: 1.3;
    opacity: 0.5;
    overflow-y: auto;
    transition: opacity .1s ease-out;
}
.faqCard__answer__paragraph {
    display: flex;
    gap: .75rem;
    margin: .75rem 0;
}
.faqCard__answer__paragraph img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 4px;
}
.faqCard__answer__listTitle {
    font-weight: bold;
}
.faqCard__answer__list {
    margin: 0 0 1rem;
}
.faqCard__answer__list > li {
    margin: .375rem 0;
}
.faqCard:last-child > .faqCard__title {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}
.faqCard:last-child > .faqCard__answer {
    font-size: 0.875rem;
    opacity: 1;
}
#faqNextBtn {
    position: relative;
    z-index: 2;
    bottom: 1.25rem;
    font-size: .875rem;
    color: var(--purple);
    cursor: pointer;
    border-radius: 4px;
    padding: 9px 14px 9px 17px;
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
    transition: .2s ease-out;
}
#faqNextBtn > * {
    vertical-align: middle;
}
#faqNextBtn > span {
    margin-right: 8px;
}
.highlightCard {
	position: relative;
    z-index: 0;
    flex: 1;
    height: 400px;
    width: 100%;
}
.highlightCard > div {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 72%;
    height: calc(100% - 110px);
    width: 90%;
    width: calc(100% - 70px);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    border-radius: 4px;
    transition: transform .4s ease-out;
}
.cardstack1 {
    background-color: #fd98f7;
    z-index: 0;
    transform: translate(-50%, -50%) rotateZ(-9deg);
}
.cardstack2 {
    background-color: #c52fc5;
    z-index: 1;
    transform: translate(-50%, -50%) rotateZ(-4deg);
}
.cardstack3 {
    background-color: var(--purple);
	z-index: 2;
	transform: translate(-50%, -50%) rotateZ(3deg);
}
.highlightCard[data-stacked="true"] > .cardstack1 {
    transform: translate(-50%, -50%) rotateZ(-3deg);
}
.highlightCard[data-stacked="true"] > .cardstack2 {
    transform: translate(-50%, -50%) rotateZ(-1.5deg);
}
.highlightCard[data-stacked="true"] > .cardstack3 {
    transform: translate(-50%, -50%) rotateZ(1.5deg);
}
.cardstackmain {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: -0.1px;
    text-align: center;
    background-color: #fff;
    padding: 0 3rem;
    z-index: 3;
    transform: translate(-50%, -50%);
}

#services {
    text-align: left;
}
.service {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.service:not(:first-of-type) {
    margin-top: -1rem;
}
.service > picture {
    text-align: center;
}
.service img {
    object-fit: cover;
}
.serviceContent {
    flex: 1;
    margin-left: 1rem;
    max-width: 80ch;
    width: 100%;
}
.service__title {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
}
.service__subtitle {
    font-weight: 600;
    font-size: 1.25rem;
    color: #dc00d5;
}
.service__subtitle::before {
    content: '◥';
    margin: 0 1ch;
}
.service__description {
    margin-top: 1rem;
}

#techstack {
    background-color: #f0f0f0;
    text-align: center;
    padding: 3rem;
}
#techstack__imgWrapper > img {
    object-fit: contain;
    background-color: #fff;
    margin: 0 .25rem;
    padding: 1.5rem;
    border-radius: 50%;
}

#whyus__body {
    width: 800px;
    margin: 0 auto;
}
.whyus__body__point:first-of-type {
    margin-top: 1rem;
}
.whyus__body__point:not(:last-of-type) {
    margin-bottom: 2.5rem;
}
.whyus__body__point > span {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.125rem;
}

#versefadein > div,
#versefadeout > div,
#hookstatement__content {
    background-color: #000;
}
#hookstatement__content {
    color: #fff;
    padding: 7rem 1rem;
}
#hookstatement__content p {
    line-height: 1;
}
#hookstatement__content p > span {
    display: block;
    text-transform: uppercase;
}
.hook__content__big {
    font-size: 7rem;
    font-weight: 700;
}
.hook__content__tagline {
    margin-top: 5rem;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 2px 2px #ff0000, 4px 4px #008000, 6px 6px #0000ff;
}
#hookstatement__talkBtn {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    margin-top: .75rem;
    box-shadow: 0 0 0 0 #ff0000, 0 0 0 0 #008000, 0 0 0 0 #0000ff;
    transition: transform .2s ease-out, box-shadow .2s linear, text-shadow .2s linear;
}

@media (hover: hover) {
    .faqCard:not(:last-child):hover {
        transform: translate(-50%, calc(var(--y-offset) - 16px)) scale(var(--scale)) rotateZ(3deg);
        filter: blur(0);
    }
    .faqCard:not(:last-child):hover > .faqCard__title {
        font-weight: bold;
        color: #000;
    }
    #faqNextBtn:hover {
        bottom: 2rem;
        color: #fff;
        background-color: var(--purple);
        box-shadow: 0 3px 4px rgba(0,0,0,0.3);
    }
    #faqNextBtn:active {
        box-shadow: 0 0 4px rgba(0,0,0,0.3), inset 0 0 24px #ff00ff80;
        transform: scale(0.96);
    }
    #hookstatement__talkBtn:hover {
        transform: scale(1.02);
        text-shadow: 2px 2px #ff0000, 4px 4px #008000, 6px 6px #0000ff;
        box-shadow: 3px 3px 0 #ff0000, 6px 6px 0 #008000, 9px 9px 0 #0000ff;
    }
    #hookstatement__talkBtn:active {
        transform: scale(1);
        color: var(--purple);
        background-color: #fff;
        text-shadow: none;
        box-shadow: 2px 2px 0 #ff0000, 5px 5px 0 #008000, 8px 8px 0 #0000ff;
    }
}

/*
    HD Display - Landscape
*/
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    .container {
        padding: 0 6px;
    }
    #pageDescription {
        gap: 1rem;
    }
    .service img {
        height: 280px;
        width: 280px;
    }
    .hook__content__big {
        font-size: 5rem;
        font-size: min(5rem, 7.5vw);
    }
}

/*
    TABLET - PORTRAIT
*/
@media only screen and (max-width: 840px) and (orientation: portrait) {
    :root {
        --faqActiveCardPadding: 1rem;
    }
    h1 {
        font-size: 5.5rem;
        font-size: min(5.5rem, 11.5vw);
    }
    .container {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 24px;
    }
    .container > h2 {
        font-size: 3rem;
    }
    #pageTitle {
        margin: 5rem 0;
    }
    #pageTitle__tagline {
        font-size: 1.5rem;
    }
    #pageDescription {
        flex-direction: column;
        gap: 2rem;
    }
    #faqWrapper,
    .highlightCard {
        flex: auto;
        width: 95%;
        max-width: 680px;
    }
    .service img {
        height: 240px;
        width: 240px;
    }
    .serviceContent {
        max-width: none;
    }
    .service__title {
        font-size: 1.75rem;
    }
    .service__subtitle {
        font-size: 1rem;
    }
    .service:not(:first-of-type) {
        margin-top: 4rem;
    }
    #whyus__body {
        width: 100%;
    }
    .hook__content__big {
        font-size: 3.5rem;
        font-size: min(3.5rem, 7.5vw);
    }
    .hook__content__tagline {
        font-size: 1.5rem;
        margin-top: 4rem;
    }
    #hookstatement__talkBtn {
        padding: .75rem 1.25rem;
        box-shadow: 2px 2px 0 #ff0000, 4px 4px 0 #008000, 6px 6px 0 #0000ff;
    }
}

/*
 *  === MOBILE PORTRAIT === 
 */
@media only screen and (max-width: 600px) and (orientation: portrait) {
    header {
        padding: .5rem;
        margin: 0;
    }
    h1 {
        font-size: 2.8rem;
        font-size: min(2.8rem, 11.5vw);
    }
    #pageTitle {
        margin: 5rem 0;
    }
    #pageTitle__tagline {
        font-size: 1rem;
    }
    .container {
        padding: 0 8px;
    }
    .container > h2 {
        font-size: 2rem;
    }
    #pageTitle {
        margin: 3rem 0;
    }
    #faqWrapper,
    .highlightCard {
        flex: auto;
        width: 100%;
    }
    #faqWrapper {
        padding: 0;
        margin-bottom: -1rem;
    }
    #faqCardstack {
        height: 440px;
    }
    .faqCard {
        height: 320px;
    }
    .highlightCard {
        height: 380px;
    }
    .highlightCard > div {
        width: 350px;
        width: calc(100% - 4.5rem);
    }
    .cardstackmain {
        padding: 0 1rem;
        font-size: .875rem;
    }
    .faqCard:nth-child(1) {
        --y-offset: 0rem;
    }
    .faqCard:nth-child(2) {
        --y-offset: 1.5rem;
    }
    .faqCard:nth-child(3) {
        --y-offset: 3.25rem;
    }
    .faqCard:nth-child(4) {
        --y-offset: 5.25rem;
    }
    .faqCard:nth-child(5) {
        --y-offset: 7.5rem;
    }
    .faqCard:last-child > .faqCard__title {
        font-size: 1.25rem;
    }
    .faqCard__answer {
        font-size: .75rem;
    }
    .faqCard__answer__paragraph {
        margin: 1rem 0;
    }
    .faqCard__answer__paragraph img {
        height: 80px;
        width: 80px;
    }
    #faqNextBtn {
        bottom: .5rem;
    }
    #faqNextBtn:active {
        transform: scale(0.9);
    }
    .service {
        flex-direction: column;
    }
    .service:nth-of-type(2n) {
        flex-direction: column-reverse;
    }
    .service:not(:first-of-type) {
        margin-top: 10vh;
    }
    .service > picture {
        z-index: -1;
    }
    .service img {
        height: auto;
        width: 50%;
        margin-bottom: -20%;
        z-index: -1;
    }
    .serviceContent {
        margin-left: 0;
        max-width: none;
        background-color: #fff;
        box-shadow: 0 6px 12px #0003;
        border-radius: 4px;
        padding: 1rem;
    }
    .service__title {
        font-size: 1.5rem;
    }
    .service__description {
        font-size: .875rem;
    }
    #techstack {
        padding: 1.5rem;
    }
    #techstack__imgWrapper > img {
        padding: .5rem;
        margin: 0 .125rem;
        height: 48px;
        width: 48px;
    }
    #whyus__body {
        width: 100%;
    }
    .whyus__body__point {
        font-size: .875rem;
    }
    .whyus__body__point > span {
        font-size: 1rem;
    }
    #hookstatement__content {
        padding: 15vh 1rem;
    }
    .hook__content__big {
        font-size: 1.7rem;
        font-size: min(2rem, 7.5vw);
    }
    .hook__content__tagline {
        font-size: 1.25rem;
        margin-top: 2rem;
    }
    #hookstatement__talkBtn {
        margin-top: 8rem;
        font-size: .875rem;
        box-shadow: 2px 2px 0 #ff0000, 4px 4px 0 #008000, 6px 6px 0 #0000ff;
    }
}
    
