:root {
    --card-animation-speed: 1.2s;
    --card-animation-ease: cubic-bezier(0.22, 1, 0.36, 1);

    --card-width: 350px;
    --card-width-mobile: min(42vw, 350px);
    --active-card-width-mobile: min(92vw, 380px);
    --card-gap: 3rem;

    /* --select-card-width: var(--card-width); */


    --deck-out-distance: 225px;
    --active-card-scale: 1.18;
    --active-card-scale-mobile: 1.28;

    --inactive-card-scale: 1;
    --active-card-content-scale: 1;

    --card-game-header-size: 48px;
    --card-game-sub-header-size: 18px;

    --select-card-width: 250px;
    --select-card-gap: 1rem;
    --select-cards-row-width: 782px;
    --card-game-select-card-holder-height: 340px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


p,
h2,
h1 {
    margin: 0;
}

button {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}


header .actualheader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

header .actualheader .logo a img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* body [canvas=container] {
    margin-top: 70px;
    height: -webkit-calc(100% - 70px);
    position: relative;
}

html.active body [canvas=container] {
    height: calc(100dvh - 70px);
    overflow-y: hidden;
} */

body [canvas=container] {
    margin-top: 70px;
    position: relative;
}

/* html {
    scrollbar-gutter: stable;
} */

html.active body [canvas=container],
html.closing body [canvas=container] {
    height: calc(100dvh - 70px);
    overflow-y: hidden;
}

html.active .card-wrapper {
    opacity: 0;
    pointer-events: none;
}

.site-holder {
    overflow: visible;
}

.no-select {
    user-select: none;
}

.paragrafrytter-logo {
    padding: 10px 0px;
}

.card-question-wrapper {
    display: flex;
    width: min(100%, 500px);
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 18px;
    margin-top: 12px;
}

.card-question {
    display: flex;
    justify-content: space-between;
    width: min(100%, 90vw);
    font-size: 24px;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    line-height: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}


.card-answer-wrapper {
    font-size: 24px;
    color: #7fbfbc;
}

.card-answer-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 12px 0;
    align-items: center;
    border-bottom: 1px solid black;
    width: 100%;
    min-width: 0;
}


.card-answer-container .card-answer-content:last-of-type {
    border-bottom: none;
}

.card-shown-answer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 24px;
    font-weight: bold;
}

.card-shown-answer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.card-shown-answer-row .card-shown-answer-icon {
    flex-shrink: 0;
}

.card-shown-answer-row .card-shown-answer {
    margin: 0;
}

.card-answer-icon {
    background-color: #bfe2e1;
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    flex-shrink: 0;
}

.card-answer img,
.card-shown-answer img
{
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}


.card-answer {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 18px;
    text-align: start;
}

.card-game-back-link {
    all: unset;
    position: absolute;
    text-decoration: none;
    top: 12px;
    left: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 1rem;
    background-color: #bfe2e1;
    color: #222;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
    
    transition: all 0.2s ease-in;
}

.true-false-answer .card-answer-icon {
    background: none;
    width: auto;
    min-width: auto;
    padding: 0;
}

.card-shown-answer-row.true-false-answer {
    justify-content: center;
}

.true-false-answer .card-answer-icon::before {
    content: none;
}

.card-game-back-link i,
.card-game-back-link svg {
    color: pink;
}

.card-game-back-link:hover {
    background-color: #7fbfbc;
    transform: translateX(-4px);
    text-decoration: none;
}

.card-deck-choose-text {
    position: absolute;
    opacity: 1;
    top: 0;
    left: 50%;
    text-transform: uppercase;
    transform: translateX(-50%) translateY(0);
    text-align: center;
    font-weight: bold;
    user-select: none;
    z-index: 999999;
    transition: all 0.3s ease-in-out;
}

/* .card-deck-choose-text.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-80px);
} */

.card-deck-choose-text.is-hidden {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-deck-choose-text h1,
.card-deck-choose-text p,
.card-deck-choose-text a {
    transition: all 0.3s ease-in-out;
}

.card-deck-choose-text.is-hidden h1,
.card-deck-choose-text.is-hidden p {
    opacity: 0;
    transform: translateY(-80px);
    pointer-events: none;
}

.card-deck-choose-text.is-hidden a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    margin-top: -50px;
    pointer-events: auto;
    z-index: 99999999;
    width: 100%;

    transition: all 0.2s ease-in-out;
}

.card-game-back-to-subject i {
    color: #222 !important;
}

.card-game-explain {
    text-align: center;
    padding-bottom: 3rem;
    position: relative;
    top: -65px;
    user-select: none;
}

.card-game-explain > p {
    font-weight: 500;
    font-size: 38px;
}

.card-see-answer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    /* margin-top: 1.5rem; */
    gap: 2rem;
    padding: 12px 58px;
    background-color: #f19f38;
    border-radius: 9999px;
    color: white;
    font-size: 30px;
    transition: all 0.3s ease-in-out;
    user-select: none;
    cursor: pointer;
}

.card-see-answer:hover {
    scale: 1.05;
}

.card-see-answer button {
    text-transform: uppercase;
}

.card-game-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0px 10px;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    position: relative;
}

.card-stack {
    transform-origin: center center;
    position: relative;
    aspect-ratio: 2.5 / 3.5;
    width: min(100%, 275px);
    min-height: 350px;
    border: 2px solid white;
    border-radius: 24px;
}

.card-wrapper .deck > .card .inner-card-1 {
    transition: opacity 0.3s ease-in-out;
}

.card-flip-animation-left {
    animation: card-flip-left 1.5s ease forwards;
    animation-delay: 0.3s;
}

.card-flip-animation-right {
    animation: card-flip-right 1.5s ease forwards;
    animation-delay: 0.3s;
}

.card-shuffle-animation {
    animation: shuffleCards 0.6s ease-in forwards;
}

.card-clone {
    display: none;
}

.card-shuffle-wrapper {
    width: min(100%, 275px);
    aspect-ratio: 2.5 / 3.5;
    position: absolute;
    border-radius: 24px;
    background-color: #bfe2e1;
    border: 2px solid white;
    padding: 4px;
    user-select: none;
}

.card-shuffle-wrapper div {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 24px 14px;
    border-radius: 18px;
    border: 2px solid white;
    text-align: center;
}

.card-shuffle-wrapper h2 {
    font-size: 38px;
    margin-top: auto;
}

.card-shuffle-wrapper p {
    color: black;
    font-size: 24px;
}

.card-game-image-container {
    max-width: 160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;

    transform: scale(0.9);
}

.card-game-image {
    width: 100%;
    display: block;
}

.card-game-image-container p {
    color: black;
    font-size: 24px;
}

.card-first {
    z-index: 3;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease-in-out;
}

.card-stack .inner-card {
    background-color: #bfe2e1;
    display: none;
}

.card-stack .inner-card-1,
.card-stack .inner-card-2,
.card-stack .inner-card-3 {
    inset: 0;
    height: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 24px 14px;
    border-radius: 18px;
    border: 2px solid white;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.card-shown-answer-container {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 0;

    padding: 1rem;
    box-sizing: border-box;

    overflow-y: auto;
    overflow-x: hidden;
}

.card-shown-answer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1rem;

    width: 100%;
    min-height: 100%;

    box-sizing: border-box;
}

.card-shown-answer-content > .answer {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;

    width: 100%;
}

.card-shown-answer-content > .hint {
    width: 100%;
}

.see-answer-hint-container {
    padding: 0.75rem 1rem;

    background-color: rgba(191, 226, 225, 0.35);
    /* border: 1px solid rgba(127, 191, 188, 0.65); */
    border-radius: 12px;
    text-align: left;
    width: 100%;
    margin-top: 1rem;
}

.see-answer-hint-title {
    margin: 0 0 0.25rem;

    color: #4f6f6e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-shown-answer-hint {
    margin: 0;

    color: #334b4a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;

    overflow-wrap: anywhere;
}

.card-shown-answer-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.card-shown-answer-title {
    font-size: 26px;
}


.card-stack .inner-card-1 {
    border: 2px solid white;
}

.card-game-text {
    margin-top: 50px;
}

.card-game-text h2 {
    font-size: 40px;
    letter-spacing: 0.5rem;
}

.card-game-text p {
    font-size: 38px;
}

.answer-and-lau {
    /* position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 225px);
    bottom: auto; */
    /* position: relative;
    bottom: 60px; */
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.reveal-answer-and-lau {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hidden-answer-and-lau {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    user-select: none;
    transform: translateY(1rem);
}

.lau-wrapper {
    width: min(380px, 100%);
    margin: 2rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-lau-info-image-wrapper,
.card-lau-info-text {
    flex: 1 1 50%;
}

.card-lau-info-image-wrapper {
    margin: 0;
}

.card-lau-info-image-wrapper img {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 0 auto;
}

.card-lau-info-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #bfe2e1;
    padding: 16px;
    font-size: 20px;
    border-radius: 24px;
    line-height: 1.5;
}

/* .card-game-email-info {
    position: absolute;
    font-size: 16px;
    text-align: center;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);

    transition: all 0.2s ease-in;
} */

.card-game-email-info {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0rem 0.5rem
}

.answer-and-lau.reveal-answer-and-lau + .card-game-email-info {
    bottom: -5%;
}

.card-question-id {
    position: absolute;
    top: 5px;
    right: 7px;
    color: #7fbfbc;
    opacity: 0.8;
    font-size: 11px;
    font-weight: 300;
}

.card-wrapper {
    width: 100%;
    min-height: 670px;
    /* margin-top: 90px; */
    margin-top: 120px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--card-gap);
    transition: all 0.3s ease-in-out;
    flex-wrap: wrap;
}

.card-deck-choose-text.is-hidden + .card-wrapper {
    margin-top: 20px;
}

/* .card-wrapper.is-animating .card-back-arrow {
    opacity: 0.8;
} */

.card-wrapper.is-animating .deck > .card {
    pointer-events: none;
    cursor: default;
}

.card-wrapper.is-animating .deck > .card .inner-card-1 {
    opacity: 0.8;
}

.deck {
    width: var(--card-width);
    aspect-ratio: 2.5 / 3.5;
    position: relative;
    flex: 0 0 var(--card-width);
    perspective: 1200px;
}

.deck-shadow-content {
    position: absolute;
    inset: 0;
    transition: transform var(--card-animation-speed) var(--card-animation-ease);
}

.shadow-card,
.card {
    aspect-ratio: 2.5 / 3.5;
    width: 100%;
    border-radius: 18px;
    border: 2px solid white;
    background-color: #bfe2e1;
}

.shadow-card {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.shadow-card-1 {
    transform: translateY(10px) rotate(-2deg);
    opacity: 0.45;
}

.shadow-card-2 {
    transform: translateY(20px) rotate(2deg);
    opacity: 0.3;
}

.shadow-card-3 {
    transform: translateY(30px) rotate(-4deg);
    opacity: 0.18;
}

.card {
    --card-flip-rotation: -180deg;

    position: absolute;
    inset: 0;
    z-index: 5;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform var(--card-animation-speed) var(--card-animation-ease);
}

.card-left {
    --card-flip-rotation: -180deg;
    transform-origin: center center;
}

.card-right {
    --card-flip-rotation: 180deg;
    transform-origin: center center;
}

.inner-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 14px;
    border-radius: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.inner-card-1 {
    border: 2px solid white;
    margin: 5px;
    transform: rotateY(0deg);
    cursor: pointer;
    user-select: none;
}

.inner-card-1 img {
    user-select: none;
}

.inner-card-2 {
    background-color: #ffff;
    transform: rotateY(var(--card-flip-rotation));
    border: 2px solid #bfe2e1;
    background: rgba(255, 255, 255, 0.95);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-size:35% auto;
    background-position: center center;
    background-blend-mode: overlay;
    z-index: 2;
}

.card-hint-container {
    cursor: pointer;
    padding: 0.5rem 1rem;
    width: 100%;
    border-radius: 8px;

    transition: all 0.2s ease;
    
}

.card-hint-container:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hint-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;

    display: flex;

    background: rgba(0, 0, 0, 0.65);
    border-radius: inherit;
}

.hint-overlay-content {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 40px 32px;
    box-sizing: border-box;

    text-align: center;
    color: #fff;
    border-radius: inherit;
    transform: rotateY(var(--card-flip-rotation));
}

.hint-overlay-content h2 {
    margin: 0 0 12px;

    font-size: 26px;
    line-height: 1.2;
}

.hint-overlay-content p {
    max-width: 500px;
    margin: 0;

    font-size: 17px;
    line-height: 1.6;
}

.hint-overlay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.hint-overlay-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hint-overlay-close:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hint-overlay-active {
    overflow: hidden;
}

/* .deck-right .inner-card-2 {
    background-position: 50% 55%;
} */

.card-left.inner-card-1-active,
.card-right.inner-card-1-active {
    transform: translateX(0) scale(1) rotateY(0deg);
}

.card-left.inner-card-2-active,
.card-right.inner-card-2-active {
    transform: translateX(0) scale(1) rotateY(var(--card-flip-rotation));
}


.card-shown-answer {
    font-size: 24px;
    font-weight: bold;
}

.card-shown-answer-icon {
    background-color: #bfe2e1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: black;
}


.inner-card-3 {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 2px solid #bfe2e1;
    border-radius: 18px;
    transform: rotateY(var(--card-flip-rotation)) rotateZ(0deg) scale(1);
    transform-origin: center center;
    transition:
        opacity 0.3s ease,
        transform 0.9s ease;
}

.card.inner-card-3-active .inner-card-2 {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

.card.inner-card-3-active .inner-card-3 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10;
}

.card.inner-card-3-active .inner-card-3.has-answer-tilt {
    transform: rotateY(var(--card-flip-rotation)) rotateZ(4deg) scale(1);
    transform-origin: center center;
    overflow: hidden;
}


.card-wrapper.has-active .deck-left .deck-shadow-content {
    transform: translateX(calc(var(--deck-out-distance) * -1)) scale(0.9);
}

.card-wrapper.has-active .deck-right .deck-shadow-content {
    transform: translateX(var(--deck-out-distance)) scale(0.9);
}

.card-wrapper.has-active .deck-left > .card.is-original-card {
    transform: translateX(calc(var(--deck-out-distance) * -1)) scale(0.9) rotateY(0deg);
    z-index: 10;
}

.card-wrapper.has-active .deck-right > .card.is-original-card {
    transform: translateX(var(--deck-out-distance)) scale(0.9) rotateY(0deg);
    z-index: 10;
}

.card-wrapper.has-active .deck-left > .card.active-card {
    transform:
        translateX(calc((var(--card-width) + var(--card-gap)) / 2))
        scale(var(--active-card-scale))
        rotateY(var(--card-flip-rotation));
    z-index: 50;
}

.card-wrapper.has-active .deck-right > .card.active-card {
    transform:
        translateX(calc((var(--card-width) + var(--card-gap)) / -2))
        scale(var(--active-card-scale))
        rotateY(var(--card-flip-rotation));
    z-index: 50;
}

.card-wrapper.has-active .deck > .card.old-active-card {
    z-index: 49;
}

.card-wrapper.has-active .deck > .card.active-card:not(.old-active-card) {
    z-index: 60;
}

.deck {
    z-index: 1;
}

.card-wrapper.has-active .deck:has(> .card.old-active-card) {
    z-index: 20;
}

.card-wrapper.has-active .deck:has(> .card.active-card:not(.old-active-card)) {
    z-index: 40;
}

.card-wrapper.has-active .deck > .card.returning-card {
    z-index: -1;
    pointer-events: none;
}

.card.returning-card {
    z-index: 0;
    pointer-events: none;
}

.card-back-arrow {
    display: none;
    position: absolute;
    top: 15px;
    left: 50%;
    padding: 8px;
    border-radius: 16px;
    background-color: #bfe2e1;
    font-size: 16px;
    text-align: center;
    transform: translateX(-50%) rotateY(var(--card-flip-rotation));
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

article.card-deck-choose-text > p:last-of-type {
    display: none !important;
}

/*#region MAIN MENU */
.card-game-code-menu-container {
    display: flex;
    justify-content: center;
    padding: 0 10px;
    /* height: 100vh; */
    position: absolute;
    left: 50%;
    top: calc(50% - 35px);
    width: 100%;
    transform: translate(-50%, -50%);
    max-width: 350px;
}

.card-game-code-menu-container .card-game-code-menu-content-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* .card-game-code-menu-content-holder h1 {
    font-size: 48px;
} */

.card-game-code-menu-content-holder  .card-game-code-text-content-holder {
    padding-top: 10px;
    text-align: center;
}

.card-game-header {
    font-size: var(--card-game-header-size);
    transition: all 0.3s ease-in-out;
}

.card-game-sub-header {
    font-size: var(--card-game-sub-header-size);
    transition: all 0.3s ease-in-out;
}

.card-deck-choose-text a.card-game-sub-header.card-game-back-to-subject span {
    font-size: 14px;
    text-transform: none;
}

.card-deck-choose-text a.card-game-sub-header.card-game-back-to-subject {
    text-transform: lowercase;
}

.card-deck-choose-text a.card-game-sub-header.card-game-back-to-subject span::first-letter {
    text-transform: uppercase;
}

.card-game-code-menu-content-holder .card-game-code-menu-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.card-game-code-menu-form-holder {
    width: 100%;
}

.card-game-code-menu-content-holder .card-game-code-menu-form input {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}

.card-game-code-menu-content-holder .card-game-code-menu-form input::placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.card-game-code-menu-content-holder .card-game-code-menu-form input[type="submit"] {
    font-size: 18px;
    font-weight: bold;

    transition: 0.1s ease-in-out;
}

.card-game-code-menu-content-holder .card-game-code-menu-form input[type="submit"]:hover {
    background-color: #0bb3b3;
}

/* #region GAME SELECT START  */
.card-game-select-cards-holder  {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: var(--select-card-gap);
    padding: 30px 0px;
    width: 100%;
    max-width: var(--select-cards-row-width);
    margin: 0 auto;
}

.card-game-select-card {
    display: flex;
    flex: 0 0 var(--select-card-width);
    width: var(--select-card-width);
    max-width: var(--select-card-width);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    aspect-ratio: 2.5 / 3.5;
}

.card-game-select-card.inactive {
    filter: grayscale(1) contrast(0.7) brightness(1.3);
}


.card-game-select-card:hover {
    transform: scale(1.01);
}

.card-game-select-card:hover,
.card-game-select-card:visited,
.card-game-select-card:focus,
.card-game-select-card:active {
    text-decoration: none;
    color: inherit;
}

.card-game-select-card *,
.card-game-select-card *:hover {
    text-decoration: none;
}

.card-game-select-card-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 1.25rem;
    width: 100%;
    min-height: var(--card-game-select-card-holder-height);

    border: 2px solid #0bb3b3;
    border-radius: 1rem;
    overflow: hidden;
}

.card-game-select-card-holder.card-game-select-info {
    border: 2px solid #717171;
    text-align: center;
}

.card-game-select-card-content-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-game-select-card-content-holder p {
    font-size: 18px;
    color: #222;
}

.card-game-select-img-holder {
    width: 130px;
    height: 130px;

    /* background-color: #f19e383d;
    border-radius: 50%; */
    padding: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    margin: 0;
}

.card-game-select-img-holder img {
    width: 100%;
    height: auto;
    display: block;
}

.card-game-select-title {
    font-size: 20px;
    margin: 0.75rem 0 0;
    text-align: center;
    height: 60px;
    display:flex;
    align-items: center;
}

.card-game-select-card p {
    margin: 1rem 0;
}

.card-game-select-button {
    width: 100%;
    margin-top: auto;
    padding: 0.75rem;

    background-color: #08a6a6;
    color: white;

    font-weight: bold;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 1rem;
    transition: all 0.1s ease-in-out;
}

.card-game-select-card:hover .card-game-select-button {
    background-color: #0bb3b3;
}

.card-game-code-menu-lau-image-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    margin: 0;
}

.card-game-code-menu-lau-image-holder img {
    width: 100%;
    height: auto;
    display: block;
}

/* #region CARD GAME ERROR PAGE START */
.card-game-code-error-container {
    display: flex;
    /* justify-content: center; */
    padding: 0 10px;
    /* height: 100vh; */
    position: absolute;
    left: 50%;
    top: calc(50% - 35px);
    width: 100%;
    transform: translate(-50%, -50%);
    max-width: 350px;
    text-align: center;
}

.card-game-code-error-container section {
    display: grid;
    grid-template-rows: repeat(2 min-content);
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.card-game-code-error-container section a {
    background-color: #04a9a9;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.1s ease-in-out;
}

.card-game-code-error-container section a:hover {
    background-color: #0bb3b3;
    text-decoration: none;
}

.card-game-code-error-container section span {
    font-weight: bold;
    font-size: 24px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.code-validator-error {
    background-color: #fff1f2;
	border: 1px solid #dc2626;
	color: #7f1d1d;
}

.card-game-error-msg {
    display: flex;
    justify-content: center;
    align-self: center;
    font-size: 18px;
    color: #7f1d1d;
}
/* #endregion CARD GAME ERROR PAGE END */

/* #endregion GAME SELECT END */


/* =========================================================
   RULES HOLDER
   ========================================================= */

.rules-holder {
    --rules-background-color: #0bb3b3;
    --rules-header-height: 70px;
    --rules-tabs-height: 64px;
    --rules-closed-height: 25px;

    /* Typography */
    --rules-heading-size: 52px;
    --rules-body-size: 18px;

    --rules-tactic-title-size: 38px;
    --rules-tactic-text-size: 24px;
    --rules-tactic-or-size: 72px;

    --rules-action-heading-size: var(--rules-heading-size);
    --rules-action-text-size: 20px;

    position: fixed;

    border-top: 10px solid #bfe2e1;

    top: calc(var(--rules-header-height) + var(--rules-tabs-height));
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: auto;
    margin: 0;

    z-index: 9999999;

    background-color: var(--rules-background-color);
    box-sizing: border-box;

    transform: translateY(calc(100% - var(--rules-closed-height)));

    transition: transform 0.3s ease-in-out, background-color 0.2s ease-in-out;
}

.rules-holder h1,
.rules-holder h2,
.rules-holder h3,
.rules-holder h4,
.rules-holder h5 {
    font-family: inherit;
    font-weight: bold;
}

html.slider2 .rules-holder {
    --rules-background-color: #bfe2e1;
}

html.active .rules-holder {
    transform: translateY(0);
}

html.closing .rules-holder {
    transform: translateY(calc(100% - var(--rules-closed-height)));
}

/* Lukket mens et kort er aktivt */
html:not(.active):has(.card-wrapper.has-active) .rules-holder,
html.closing:has(.card-wrapper.has-active) .rules-holder {
    transform: translateY(calc(100% - var(--rules-closed-height)));
}

/* =========================================================
   SLIDER HOLDERS
   ========================================================= */


.rules-holder .slider-holder {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 100%;
    min-height: 0;

    opacity: 0;
    pointer-events: none;
    overflow: visible;
}

.rules-holder .slider-holder .slick-list,
.rules-holder .slider-holder .slick-track,
.rules-holder .slider-holder .slick-slide,
.rules-holder .slider-holder .slick-slide > div {
    height: 100%;
}

.rules-holder .slider-holder.slider1 {
    z-index: 2;
}

.rules-holder .slider-holder.slider2 {
    z-index: 1;
}

html.active.slider1 .rules-holder .slider-holder.slider1 {
    opacity: 1;
    pointer-events: initial;
}

html.active.slider2 .rules-holder .slider-holder.slider2 {
    opacity: 1;
    pointer-events: initial;
}


/* =========================================================
   SLICK SLIDER
   ========================================================= */

.rules-holder .slider-holder .rules {
    height: 100%;
    background-color: #0bb3b3;
}

.rules-holder .slider-holder .slick-list,
.rules-holder .slider-holder .slick-track {
    height: 100%;
}

.rules-holder .slider-holder .slick-slide {
    height: 100%;
}

.rules-holder .slider-holder .slick-slide > div {
    height: 100%;
}

.rules-holder .slider-holder .slick-dotted.slick-slider {
    margin-bottom: 0;
}

.rules-holder .slider-holder .slick-dots {
    bottom: 45px;
}

/* =========================================================
   HIDE PAGE CONTENT WHEN RULES ARE OPEN
   ========================================================= */

.card-deck-choose-text {
    transition: opacity 0.3s ease-in-out;
}

html.active .card-deck-choose-text {
    opacity: 0;
    visibility: hidden;
}


/* =========================================================
   TABS
   ========================================================= */

.rules-holder .tabs {
    position: absolute;

    right: 20px;
    top: -64px;

    z-index: 10;

    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;

    gap: 10px;

    width: auto;

    white-space: nowrap;
}

.rules-holder .tabs a {
    position: relative;

    width: 130px;
    height: 64px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 6px 10px;

    box-sizing: border-box;

    background-color: #d2dddd;

    border-radius: 18px 18px 0 0;

    color: #0bb3b3;
    text-decoration: none;

    flex: 0 0 130px;
    flex-shrink: 0;

    -webkit-tap-highlight-color: transparent;

    outline: none;

    transition:
        background-color 0.2s ease-in-out,
        color 0.2s ease-in-out;
}

.rules-holder .tabs a.active-tab {
    z-index: 3;
    transform: translateY(0);
}

.rules-holder .tabs a:not(.active-tab) {
    z-index: 1;
}

html.active.slider2 .rules-holder {
    border-top-color: #0bb3b3;
}

html.active.slider2 .rules-holder .tabs a[data-slider="1"] {
    transform: translateY(-8px);
    z-index: 1;
}


.rules-holder .tabs .tabs-click-hint {
    position: absolute;
    top: -35px;
    left: -15px;
    transform: translateX(-50%);
    z-index: 20;
    color: #0bb3b3;
    font-size: 30px;
    pointer-events: none;
    rotate: -45deg;

    animation: tabsArrowBounce 1s ease-in-out 3;
}

.rules-holder .tabs .tabs-click-hint i {
    display: block;
}

@keyframes tabsArrowBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(4px);
    }
}

.rules-holder .tabs .tabs-click-hint-2 {
    display: none;
    position: absolute;
    bottom: -35px;
    right: 60px;
    transform: translateX(50%);
    z-index: 20;
    font-size: 30px;
    pointer-events: none;
    color:#bfe2e1;
}

.rules-holder .tabs .tabs-click-hint-2 i {
    display: block;
}

.rules-holder .tabs .tabs-click-hint-2.is-visible {
    display: block;
    animation: tabsArrowBounce2 1s ease-in-out infinite;
}

@keyframes tabsArrowBounce2 {
    0%,
    100% {
        transform: translateX(50%) translateY(0);
    }

    50% {
        transform: translateX(50%) translateY(4px);
    }
}

/* =========================================================
   SLIDER 1 / LAU
   ========================================================= */

.rules-holder .tabs a[data-slider="1"] {
    /* Skubber den en enkelt pixel ned,
       fordi der var en hvid linje på skærmen på klientens side */
    top: 1px;

    z-index: 2;

    background-color: #0bb3b3;
    color: #fff;
}


/* =========================================================
   SLIDER 2 / BUS
   ========================================================= */

.rules-holder .tabs a[data-slider="2"] {
    z-index: 1;

    background-color: #bfe2e1;
    color: #0bb3b3;
}


/* =========================================================
   ACTIVE TAB
   ========================================================= */

html.active.slider1 .rules-holder .tabs a[data-slider="1"] {
    background-color: #0bb3b3;
    color: #fff;
}

html.active.slider2 .rules-holder .tabs a[data-slider="2"] {
    background-color: #bfe2e1;
    color: #0bb3b3;
    top: 1px;
}


/* =========================================================
   TAB IMAGES
   ========================================================= */

.rules-holder .tabs img {
    display: block;

    width: auto;
    height: auto;

    max-width: 60px;
    max-height: 48px;

    object-fit: contain;

    flex-shrink: 0;
}


/* =========================================================
   FONT AWESOME CHEVRONS
   ========================================================= */

.rules-holder .tabs a i {
    display: none;

    font-size: 20px;

    color: inherit;

    flex-shrink: 0;
}


/* Lukket:
   vis UP på den sidst aktive tab */
html:not(.active) .rules-holder .tabs a.active-tab .tab-arrow-up {
    display: block;
}


/* Åben:
   vis DOWN på den aktive tab */
html.active .rules-holder .tabs a.active-tab .tab-arrow-down {
    display: block;
}

/* =========================================================
   GENERIC SLIDER CONTENT
   ========================================================= */

.slider-content-holder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    padding: 40px 20px;

    text-align: center;
    color: #fff;
    overflow: hidden;
}


/* =========================================================
   GENERIC SLIDER HEADER
   ========================================================= */

.slider-header {
    margin-bottom: 15px;

    color: #fff;

    font-size: var(--rules-heading-size);
    font-weight: bold;
    line-height: 1.1;
    text-transform: capitalize;
}

.rules-holder .slider-text-content-holder p {
    font-size: var(--rules-body-size);
}

.slider-header h2 {
    margin: 0;
    font: inherit;
    color: inherit;
}


/* =========================================================
   GENERIC MAIN IMAGE
   ========================================================= */

.slider-image-holder {
    width: 550px;
    max-width: 100%;
    max-height: 400px;
    margin: 0 0 40px;
}

.slider-image-holder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.slider-image-holder.bus-image-holder {
    width: 160px;
    height: 160px;
}


/* =========================================================
   GENERIC TEXT
   ========================================================= */

.slider-text-content-holder {
    display: flex;
    text-align: start;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}

.slider-text-content-holder p {
    text-align: center;
    margin: 0;
    color: #fff;
    line-height: 1.5;
}


/* Image inside text */

.slider-text-image {
    display: inline-block;

    margin-left: 10px;

    vertical-align: middle;
}

.slider-text-image img {
    display: inline-block;

    max-width: 80px;
    max-height: 80px;

    object-fit: contain;

    vertical-align: middle;
}


/* =========================================================
   TACTIC SLIDE
   ========================================================= */

.slider-content-holder.slider-tactic-content {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 35px 40px 80px;

    box-sizing: border-box;

    color: #fff;
}


/* =========================================================
   TACTIC HEADER
   ========================================================= */

.slider-tactic-content .slider-header {
    margin-bottom: 45px;
}

.rules-holder .slider-tactic-content .slider-header h2 {
    font-size: var(--rules-heading-size);
}

.rules-holder .slider-tactic-title .slider-tactic-under-title {
    font-size: var(--rules-tactic-title-size);
}

.rules-holder .slider-tactic-or {
    font-size: var(--rules-tactic-or-size);
}

.rules-holder .slider-tactic-explain-text {
    font-size: var(--rules-tactic-text-size);
}

.rules-holder .slider-tactic-footer p {
    font-size: var(--rules-body-size);
}


/* =========================================================
   TACTIC MAIN GRID
   ========================================================= */

.slider-tactic-wrapper {
    /* Ændre for at skubbe via x axen  */
    width: min(calc(100% - 300px), 1300px);

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   INDIVIDUAL TACTIC
   ========================================================= */


.slider-tactic {
    width: 100%;
    max-width: 460px;

    display: flex;
    flex-direction: column;

    text-align: left;
}

.slider-tactic:first-child {
    justify-self: end;
}

.slider-tactic:last-child {
    justify-self: start;
}


/* =========================================================
   COLLAPSED TAB COLORS
   ========================================================= */

/* Lau */
html:not(.active):not(.closing) .rules-holder .tabs a[data-slider="1"] {
    background-color: #0bb3b3;
    color: #fff;
}

/* Bus */
html:not(.active):not(.closing) .rules-holder .tabs a[data-slider="2"] {
    background-color: #bfe2e1;
    color: #0bb3b3;
}



/* =========================================================
   TACTIC TITLE
   ========================================================= */

.slider-tactic-title {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 75px;

    gap: 14px;
    margin-bottom: 18px;
}

.slider-tactic-title .slider-tactic-under-title {
    min-width: 200px;
    margin: 0;

    color: #fff;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.slider-tactic-title > img {
    width: 75px;
    height: 75px;

    object-fit: contain;
    flex-shrink: 0;
}


/* =========================================================
   ELLER
   ========================================================= */

.slider-tactic-or {
    position: static;
    transform: none;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    line-height: 1;
    font-weight: 800;

    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}


/* =========================================================
   TACTIC EXPLANATION ROWS
   ========================================================= */

.slider-tactic-explain-text {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 48px;

    color: #fff;

    line-height: 1.2;

    white-space: nowrap;
}


/* Arrow */

.slider-tactic-explain-text > .fa-long-arrow-right,
.slider-tactic-explain-text > .fa-chevron-right {
    font-size: 24px;
}


/* =========================================================
   CHECK / CROSS
   ========================================================= */

.slider-tactic-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    flex: 0 0 38px;

    font-size: 38px;
}

/* Grønt flueben */
.slider-tactic-status .fa-check {
    color: #38a169;
}

/* Rødt kryds */
.slider-tactic-status .fa-times {
    color: #dc3545;
}


/* =========================================================
   SMALL COINS
   ========================================================= */

.slider-tactic-small-coin-holder {
    display: inline-flex;
    align-items: center;

    gap: 3px;

    margin-left: 2px;
}

.slider-tactic-small-coin-holder img {
    display: block;

    width: 32px;
    height: 32px;

    object-fit: contain;
}


/* =========================================================
   TACTIC FOOTER
   ========================================================= */

.slider-tactic-footer {
    width: fit-content;
    margin: 55px auto 0;
    color: #fff;
    text-align: center;
}

.slider-tactic-footer p {
    margin: 0;
    color: #fff;
    line-height: 1.4;
}

.slider-tactic-footer strong {
    font-weight: 800;
}


/* =========================================================
   ØVRIGE FELTER
   ========================================================= */
/* 
.rules-holder .slider2 .slider-extra-info-holder {
    width: 100%;
    height: 100%;

    padding: 45px;

    box-sizing: border-box;

    overflow-y: auto;
    overflow-x: hidden;

    background-color: #bfe2e1;
} */

.rules-holder .slider2 .slider-extra-info-holder {
    width: 100%;
    height: 100%;
    min-height: 0;

    padding: 45px;

    box-sizing: border-box;

    overflow-x: hidden;
    overflow-y: auto;

    background-color: var(--rules-background-color);
}


/* =========================================================
   TAB 2 SCROLLBAR
   ========================================================= */

.rules-holder .slider2 .slider-extra-info-holder {
    scrollbar-width: thin;
    scrollbar-color: #0bb3b3 #bfe2e1;
}

/* Chrome / Edge / Safari */

.rules-holder .slider2 .slider-extra-info-holder::-webkit-scrollbar {
    width: 10px;
}

.rules-holder .slider2 .slider-extra-info-holder::-webkit-scrollbar-track {
    background-color: #bfe2e1;
}

.rules-holder .slider2 .slider-extra-info-holder::-webkit-scrollbar-thumb {
    background-color: #0bb3b3;

    border-radius: 10px;

    border: 2px solid #bfe2e1;
}

.rules-holder .slider2 .slider-extra-info-holder::-webkit-scrollbar-thumb:hover {
    background-color: #079c9c;
}


/* Header */

.rules-holder .slider2 .slider-extra-info-header {
    width: 100%;

    margin-bottom: 45px;

    text-align: center;
}

.rules-holder .slider2 .slider-extra-info-header h2 {
    margin: 0;

    color: #fff;

    font-size: var(--rules-action-heading-size);;
    line-height: 1;
    font-weight: 800;

    text-transform: uppercase;
}


/* Grid */

.rules-holder .slider2 .slider-extra-info-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    column-gap: 70px;
    row-gap: 60px;

    width: min(100%, 1450px);

    margin: 0 auto;
}


/* Individual item */

.rules-holder .slider2 .slider-extra-info-item {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Text */

.rules-holder .slider2 .slider-extra-info-item p {
    margin: 0;
    color: #111;
    font-size: var(--rules-action-text-size);
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    width: 100%;
}

.rules-holder .slider2 .slider-extra-info-item strong {
    display: block;

    font-weight: 800;
}

.rules-holder .slider2 .slider-extra-info-image-holder {
    width: 200px;
    /* height: 180px; */

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 150px;
}

.rules-holder .slider2 .chatgpt-item .slider-extra-info-image-holder {
    width: 250px;
}

.rules-holder .slider2 .slider-extra-info-image-holder img {
    width: 100%;
}

.slick-dots li {
    height: 50px !important;
    width: 25px;
}

.slick-dots li button {
    width: 20px !important;
    height: 20px !important;
}


/* =========================================================
   SLICK ARROWS
   ========================================================= */

.rules-holder .slider-holder .slick-prev,
.rules-holder .slider-holder .slick-next {
    width: 50px;
    height: 50px;

    top: 50%;
    z-index: 20;

    transform: translateY(-50%);
}

.rules-holder .slider-holder .slick-prev {
    left: 10px;
}

.rules-holder .slider-holder .slick-next {
    right: 10px;
}

.rules-holder .slider-holder .slick-prev::before,
.rules-holder .slider-holder .slick-next::before {
    font-size: 40px;

    color: #fff;
    opacity: 1;
}


/* Slider 2 har lys baggrund */

.rules-holder .slider-holder.slider2 .slick-prev::before,
.rules-holder .slider-holder.slider2 .slick-next::before {
    color: #0bb3b3;
}

.rules-holder .slider-holder .slick-prev::before {
    content: "\2190";
}

.rules-holder .slider-holder .slick-next::before {
    content: "\2192";
}


/* =====================================================
    GENERIC HEADER
    ===================================================== */

.slider-header h2 {
    margin: 0;

    font-size: inherit;
    line-height: inherit;
}

/* =====================================================
    SLICK DOTS
===================================================== */

.rules-holder .slider1 .slick-dots {
    bottom: 8px !important;
}


.rules-holder .slick-slide:focus,
.rules-holder .slick-list:focus,
.rules-holder .slick-track:focus {
    outline: none;
}


@media (max-width: 1440px) {
    :root {
        --card-width: 235px;
        --card-gap: 2rem;
        --deck-out-distance: 150px;
        --active-card-scale: 1.08;
    }

    .rules-holder {
        --rules-body-size: 20px;
        --rules-header-height: 46px;
        --rules-tabs-height: 58px;
        top: auto;
        /* height: clamp(
            500px,
            calc(100dvh - var(--rules-header-height) - var(--rules-tabs-height)),
            700px
        ); */
        height: min(700px, calc(100dvh - var(--rules-header-height) - var(--rules-tabs-height)));
    }

    .slider-image-holder {
        width: 450px;
        height: 200px;
        margin-bottom: 20px;
    }

    .rules-holder .slider2 .slider-extra-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        column-gap: 45px;
        row-gap: 45px;
    }

    .card-game-select-card-holder {
        max-height: var(--card-game-select-card-holder-height);
    }

    .card-game-email-info  {
        bottom: -8%;
    }

    .answer-and-lau.reveal-answer-and-lau + .card-game-email-info {
        bottom: -23%;
    }

    .card-game-container {
        gap: 1rem;
        padding: 0 10px;
    }

    .card-wrapper {
        min-height: 455px;
        gap: var(--card-gap);
        margin-top: 90px;
    }

    .card-game-explain p {
        font-size: 20px;
    }

    .inner-card {
        padding: 12px 10px;
    }

    .inner-card-2 {
        background-size: 100px auto;
    }

    .card-game-image-container {
        max-width: 110px;
    }

    .card-question {
        width: 100%;
        font-size: 18px;
        line-height: 1.2;
        gap: 0.6rem;
        margin-top: 0;
        /* overflow: hidden; */
    }

    .card-question-wrapper {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.2;
        margin-top: 0;
    }

    .card-answer-wrapper {
        width: 100%;
        margin-top: 6px;
        font-size: 16px;
    }

    .card-answer-wrapper > p {
        margin-bottom: 5px;
        font-size: 16px;
    }

    .card-answer-content {
        padding: 5px 0;
        gap: 0.5rem;
        min-height: 30px;
    }

    .card-answer {
        font-size: 15px;
    }

    .card-answer-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        font-size: 11px;
    }

    .card-shown-answer {
        font-size: 16px;
        line-height: 1.2;
    }

    .card-see-answer {
        margin-top: 0.5rem;
        padding: 8px 34px;
        gap: 0.75rem;
        font-size: 20px;
    }

    .card-game-explain {
        top: -45px;
    }
}

@media (max-width: 1199px) {
    /* :root {
        --select-card-width: 300px;
    } */

    .card-game-select-img-holder {
        width: 135px;
        height: 135px;
    }

    .card-game-select-img-holder img {
        width: 80px;
    }

    .card-shown-answer {
        font-size: 22px;
    }
}

@media (max-width: 1099px) {
    .card-answer-wrapper {
        font-size: 22px;
    }

    .card-shown-answer {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    :root {
        --card-width: 220px;
        --card-gap: 1rem;
        --deck-out-distance: 120px;
        --active-card-scale: 1;
        --select-card-width: 230px;
        --select-cards-row-width: 782px;
        --card-game-select-card-holder-height: 340px;
    }

    .rules-holder {
        --rules-tactic-or-size: 48px;
    }

    .slider-tactic-wrapper {
        width: min(calc(100% - 40px), 1300px);
    }

    .slick-dots li button {
        width: 15px !important;
        height: 15px !important;
    }


    .rules-holder .slider1 .slick-dots  {
        bottom: -14px;
    }

    .rules-holder .slider2 .slider-extra-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-shown-answer-title {
        font-size: 18px;
    }

    .card-game-container {
        gap: 0.5rem;
        padding: 0 10px;
    }

    .card-deck-choose-text {
        line-height: 1.2;
    }

    .card-deck-choose-text p {
        margin: 0;
    }

    .card-wrapper {
        gap: var(--card-gap);
    }

    .deck {
        width: var(--card-width);
    }

    .shadow-card,
    .card {
        width: var(--card-width);
    }

    .card-question {
        font-size: 17px;
        gap: 0.45rem;
    }

    .card-question-wrapper {
        font-size: 14px;
        margin-top: 30px;
    }

    .card-answer-wrapper {
        margin-top: 4px;
        font-size: 15px;
    }

    .card-answer-wrapper > p {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .card-answer-content {
        padding: 4px 0;
        min-height: 28px;
    }

    .card-answer {
        font-size: 14px;
    }

    .card-answer-icon {
        width: 19px;
        height: 19px;
        flex: 0 0 19px;
    }
}

@media (max-width: 899px) {
    .card-question-wrapper {
        font-size: 16px;
    }

    .card-question {
        font-size: 22px;
    }

    .card-answer-wrapper {
        font-size: 20px;
    }

    .card-answer {
        font-size: 16px;
    }

    .card-deck-choose-text {
        font-size: 32px;
    }

    .card-shown-answer {
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-height: 800px) {
    .rules-holder {
        --rules-heading-size: 42px;
        --rules-tactic-or-size: 48px;
    }

    .slider-content-holder.slider-tactic-content {
        padding: 15px 40px 30px;
    }

    .slider-tactic-content .slider-header {
        margin-bottom: 20px;
    }

    .slider-tactic-title {
        min-height: 50px;
        gap: 10px;
        margin-bottom: 10px;
    }

    .slider-tactic-title > img {
        width: 50px;
        height: 50px;
    }

    .slider-tactic-explain-text {
        min-height: 32px;
    }

    .slider-tactic-footer {
        margin: 20px auto 0;
    }
}

@media (max-width: 768px) and (max-height: 800px) {

    .slider-content-holder {
        padding-top: 8px;
        padding-bottom: 45px;
    }

    .slider-header {
        margin-bottom: 9px;
    }

    .slider-image-holder {
        margin-bottom: 9px;
    }

    /* .slider-image-holder img {
        max-height: 23vh;
    } */

    .slider-text-content-holder p {
        line-height: 1.25;
    }


    /* Tactic */

    .slider-content-holder.slider-tactic-content {
        padding-top: 8px;
        padding-bottom: 45px;
    }

    .slider-tactic-content .slider-header {
        margin-bottom: 9px;
    }

    .slider-tactic-wrapper {
        width: 100%;
        max-width: 500px;
        gap: 9px;
    }

    .slider-tactic-title {
        margin-bottom: 3px;
    }

    .slider-tactic-title > img {
        width: 35px;
        height: 35px;
    }


    .slider-tactic-explain-text {
        min-height: 25px;
        line-height: 1.1;
    }

    .slider-tactic-status {
        width: 23px;
        flex: 0 0 23px;
    }

    .slider-tactic-small-coin-holder img {
        width: 18px;
        height: 18px;
    }

    .slider-tactic-footer {
        margin-top: 9px;
    }

    .slider-tactic-footer p {
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    :root {
        --select-card-width: 210px;
        --select-cards-row-width: 632px;
        --card-game-select-card-holder-height: 300px;
        --card-game-header-size: 38px;
        --card-game-sub-header-size: 15px;
    }

    .rules-holder {
        --rules-heading-size: 32px;
        --rules-body-size: 18px;

        --rules-tactic-title-size: 30px;
        --rules-tactic-text-size: 17px;
        --rules-tactic-or-size: 34px;

        --rules-action-text-size: 18px;
    }

    .slider-image-holder {
        width: 300px;
        height: 150px;
        max-width: 80vw;
    }

    .pil-taster-text {
        display: none;
    }

    /* .slick-arrow {
        display: none !important;
    } */

    .rules-holder .tabs .tabs-click-hint-2 {
        right: 50px;
    }

    /* =====================================================
    GENERIC MAIN IMAGE
    ===================================================== */


    /* .slider-image-holder img {
        width: auto;
        height: auto;

        max-width: 85vw;
        max-height: 28vh;

        object-fit: contain;
    } */


/* =====================================================
    GENERIC TEXT
    ===================================================== */

    .slider-text-content-holder {
        width: 100%;
        max-width: 100%;
    }

    .slider-text-content-holder p {
        margin: 0;
        line-height: 1.35;
    }


    /* Image inside text */

    .slider-text-image {
        margin-left: 5px;
    }

    .slider-text-image img {
        max-width: 42px;
        max-height: 42px;
    }


/* =====================================================
    TACTIC SLIDE
===================================================== */

    .slider-content-holder.slider-tactic-content {
        justify-content: center;

        padding: 15px 14px 55px;

        overflow: hidden;
    }

    .slider-tactic-content .slider-header {
        margin-bottom: 15px;
    }

    .slider-tactic-content .slider-header h2 {
        line-height: 1;
    }

    .slider-tactic {
        width: 100%;
        max-width: 100%;
    }

    .slider-tactic-title {
        justify-content: center;

        gap: 8px;

        margin-bottom: 6px;
    }

    .slider-tactic-title > img {
        width: 42px;
        height: 42px;
    }

    .slider-tactic-or {
        line-height: 1;
    }

    .slider-tactic-explain-text {
        justify-content: center;

        min-height: 30px;

        gap: 5px;

        flex-wrap: wrap;

        white-space: normal;

        line-height: 1.2;

        text-align: center;
    }

    .slider-tactic-explain-text > .fa-long-arrow-right,
    .slider-tactic-explain-text > .fa-chevron-right {
        font-size: 17px;
    }

    .slider-tactic-status {
        width: 27px;

        flex: 0 0 27px;

        font-size: 27px;
    }

    .slider-tactic-small-coin-holder {
        gap: 2px;
    }

    .slider-tactic-small-coin-holder img {
        width: 21px;
        height: 21px;
    }

    .slider-tactic-footer {
        margin-top: 15px;
    }


    
    .slick-dots li button {
        width: 15px !important;
        height: 15px !important;
    }

    .rules-holder .slider2 .slider-extra-info-item p {
        line-height: 1.4;
    }

    .slider-content-holder {
        width: 100%;
        height: 100%;

        justify-content: center;

        padding: 15px 15px 55px;

        box-sizing: border-box;
        overflow: hidden;
    }

        .rules-holder .tabs {
        right: 10px;
        gap: 6px;
    }

    .rules-holder .tabs {
        top: -52px;
    }

    .rules-holder .tabs a {
        width: 95px;
        height: 52px;

        flex: 0 0 95px;

        gap: 6px;
        padding: 4px 8px;

        border-radius: 14px 14px 0 0;
    }

    .rules-holder .tabs img {
        max-width: 45px;
        max-height: 40px;
    }

    .rules-holder .tabs .tab-arrow {
        font-size: 16px;
    }

    .rules-holder .slider-holder .slick-prev,
    .rules-holder .slider-holder .slick-next {
        width: 35px;
        height: 35px;
    }

    .rules-holder .slider-holder .slick-prev {
        left: 8px;
    }

    .rules-holder .slider-holder .slick-next {
        right: 8px;
    }

    .rules-holder .slider-holder .slick-prev::before,
    .rules-holder .slider-holder .slick-next::before {
        font-size: 30px;
    }

    .slider-tactic-wrapper {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 500px;

        gap: 14px;
    }

    .see-answer-hint-container {
        padding: 0.6rem 0.75rem;
    }

    .card-shown-answer-hint {
        font-size: 12px;
    }

    .card-game-email-info {
        bottom: 40%;
    }
    
    .answer-and-lau.reveal-answer-and-lau + .card-game-email-info {
        bottom: -10%;
    }

    /* .card-game-email-info  {
        bottom: 0;
        top: 20%;
        font-size: 12px;
        
        transition: all 0.3s ease-in;
    } */

    /* .answer-and-lau.reveal-answer-and-lau + .card-game-email-info {
        top: -99%;
        bottom: 0;
        left: 53%;
    } */

    .card-game-back-link {
        font-size: 14px;
        top: 5px;
        left: 5px;
        padding: 8px 14px;

    }

    .card-game-select-title {
        font-size: 18px;
    }

    .card-game-select-card {
        aspect-ratio: auto;
        height: auto;
    }

    .card-wrapper {
        --deck-card-width: min(155px, 42vw);
        --active-mobile-card-width: min(300px, 82vw);
        --active-mobile-card-height: 500px;

        --inactive-card-scale: 0.5;
        --active-card-scale-mobile: 1;
        --active-card-content-scale: 1;

        --mobile-shadow-offset-x: 5px;
        --mobile-shadow-offset-y: 5px;

        --card-gap: 18px;
        --deck-out-distance: 120vw;
        --mobile-deck-exit-delay: 0.08s;

        min-height: calc(var(--active-mobile-card-height) + 130px);
        align-items: flex-start;
        padding-top: 45px;
        margin-top: 45px;
        overflow-x: clip;
        overflow-y: visible;
    }

    .card-game-image-container {
        max-width: 160px;
    }

    article.card-deck-choose-text > p:last-of-type {
        display: block !important;
        font-size: 18px;
        font-weight: normal;
        text-transform: lowercase;
    }

    article.card-deck-choose-text > p:last-of-type::first-letter {
        text-transform: uppercase;
    }

    .card-back-arrow {
        display: none;
        align-items: center;
        justify-content: center;
        gap: 8px;

        position: absolute;
        top: 15px;
        left: 50%;
        z-index: 4;

        padding: 8px;
        border-radius: 16px;
        background-color: #bfe2e1;
        font-size: 16px;
        text-align: center;
        color: black;

        transform: translateX(-50%) rotateY(var(--card-flip-rotation));
        cursor: pointer;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: none;
        animation: none;
    }

    .card-back-arrow:hover {
        background-color: rgba(191, 226, 225, 0.6);
    }

    .inner-card-2-active .card-back-arrow,
    .inner-card-3-active .card-back-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: black;
        z-index: 4;
    }

    .inner-card-2-active:not(.inner-card-3-active):not(.back-from-card-3) .card-back-arrow {
        pointer-events: auto;
        animation: showBackArrowInstant var(--card-animation-speed) steps(1, end) forwards;
    }

    .inner-card-2-active.back-from-card-3 .card-back-arrow {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        animation: none;
    }

    .inner-card-3-active .card-back-arrow {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        animation: none;
    }

    .inner-card-1-active .card-back-arrow {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        animation: none;
    }

    @keyframes showBackArrowInstant {
        0%,
        14% {
            opacity: 0;
            visibility: hidden;
        }

        15%,
        100% {
            opacity: 1;
            visibility: visible;
        }
    }

    .card-game-explain {
        display: none;
    }

    .card-game-explain > p {
        font-size: 24px;
    }

    .deck {
        perspective: 1200px;
        width: var(--deck-card-width);
        flex: 0 0 var(--deck-card-width);
        aspect-ratio: 2.5 / 3.5;
        position: relative;
        overflow: visible;
    }

    .deck-shadow-content {
        position: absolute;
        top: 0;
        left: 50%;

        width: var(--active-mobile-card-width);
        height: var(--active-mobile-card-height);

        transform:
            translateX(-50%)
            translateY(-105px)
            scale(var(--inactive-card-scale))
            translateX(var(--mobile-shadow-offset-x))
            translateY(var(--mobile-shadow-offset-y));

        transform-origin: center center;

        transition:
            transform var(--card-animation-speed) var(--card-animation-ease);
    }

    .shadow-card {
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
    }

    .card {
        --mobile-card-x: 0px;
        --mobile-card-y: -105px;
        --mobile-card-scale: var(--inactive-card-scale);
        --mobile-card-rotation: 0deg;

        position: absolute;
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;

        width: var(--active-mobile-card-width);
        height: var(--active-mobile-card-height);
        aspect-ratio: unset;

        transform-origin: center center;

        transform:
            translateX(-50%)
            translateX(var(--mobile-card-x))
            translateY(var(--mobile-card-y))
            scale(var(--mobile-card-scale))
            rotateY(var(--mobile-card-rotation));

        transition:
            transform var(--card-animation-speed) var(--card-animation-ease);

        will-change: transform;
    }

    .card-game-text h2 {
        font-size: 70px;
        letter-spacing: 0.5rem;
    }

    .card-game-text p {
        font-size: 28px;
    }

    .card-left,
    .card-right {
        transform-origin: center center;
    }

    .card-left.inner-card-1-active,
    .card-right.inner-card-1-active {
        --mobile-card-x: 0px;
        --mobile-card-y: -105px;
        --mobile-card-scale: var(--inactive-card-scale);
        --mobile-card-rotation: 0deg;

        transform:
            translateX(-50%)
            translateX(var(--mobile-card-x))
            translateY(var(--mobile-card-y))
            scale(var(--mobile-card-scale))
            rotateY(var(--mobile-card-rotation));
    }

    .card-left.inner-card-2-active,
    .card-right.inner-card-2-active {
        --mobile-card-x: 0px;
        --mobile-card-y: -105px;
        --mobile-card-scale: var(--inactive-card-scale);
        --mobile-card-rotation: var(--card-flip-rotation);

        transform:
            translateX(-50%)
            translateX(var(--mobile-card-x))
            translateY(var(--mobile-card-y))
            scale(var(--mobile-card-scale))
            rotateY(var(--mobile-card-rotation));
    }

    .card-wrapper.has-active {
        min-height: calc(var(--active-mobile-card-height) + 30px);
        align-items: flex-start;
        padding-top: 35px;
    }

    .card-wrapper.has-active .deck-left .deck-shadow-content,
    .card-wrapper.has-active .deck-right .deck-shadow-content,
    .card-wrapper.has-active .deck-left > .card.is-original-card,
    .card-wrapper.has-active .deck-right > .card.is-original-card {
        transition-delay: var(--mobile-deck-exit-delay);
    }

    .card-wrapper.has-active .deck-left .deck-shadow-content {
        transform:
            translateX(-120vw)
            translateX(var(--mobile-shadow-offset-x))
            translateY(var(--mobile-shadow-offset-y))
            scale(0.9);
    }

    .card-wrapper.has-active .deck-right .deck-shadow-content {
        transform:
            translateX(120vw)
            translateX(var(--mobile-shadow-offset-x))
            translateY(var(--mobile-shadow-offset-y))
            scale(0.9);
    }

    .card-wrapper.has-active .deck-left > .card.is-original-card {
        transform:
            translateX(-50%)
            translateX(-120vw)
            translateY(-105px)
            scale(var(--inactive-card-scale))
            rotateY(0deg);
    }

    .card-wrapper.has-active .deck-right > .card.is-original-card {
        transform:
            translateX(-50%)
            translateX(120vw)
            translateY(-105px)
            scale(var(--inactive-card-scale))
            rotateY(0deg);
    }

    .card-wrapper.has-active .deck-left > .card.active-card,
    .card-wrapper.has-active .deck-right > .card.active-card {
        width: var(--active-mobile-card-width);
        height: var(--active-mobile-card-height);
        aspect-ratio: unset;
        z-index: 60;
        transition-delay: 0s;
        will-change: transform;
        transform-origin: center center;
    }

    .card-wrapper.has-active .deck-left > .card.active-card {
        --mobile-card-x: calc((var(--deck-card-width) + var(--card-gap)) / 2);
        --mobile-card-y: 0px;
        --mobile-card-scale: var(--active-card-scale-mobile);
        --mobile-card-rotation: var(--card-flip-rotation);

        transform:
            translateX(-50%)
            translateX(var(--mobile-card-x))
            translateY(var(--mobile-card-y))
            scale(var(--mobile-card-scale))
            rotateY(var(--mobile-card-rotation));
    }

    .card-wrapper.has-active .deck-right > .card.active-card {
        --mobile-card-x: calc((var(--deck-card-width) + var(--card-gap)) / -2);
        --mobile-card-y: 0px;
        --mobile-card-scale: var(--active-card-scale-mobile);
        --mobile-card-rotation: var(--card-flip-rotation);

        transform:
            translateX(-50%)
            translateX(var(--mobile-card-x))
            translateY(var(--mobile-card-y))
            scale(var(--mobile-card-scale))
            rotateY(var(--mobile-card-rotation));
    }

    .card-wrapper.has-active .deck > .card.old-active-card {
        z-index: 49;
    }

    .card-wrapper.has-active .deck > .card.active-card:not(.old-active-card) {
        z-index: 60;
    }

    .card-wrapper.has-active .deck > .card.returning-card,
    .card.returning-card {
        z-index: 50;
        pointer-events: none;
        transition-delay: 0s;
    }

    .card-wrapper.has-active .deck-left > .card.active-card .inner-card,
    .card-wrapper.has-active .deck-right > .card.active-card .inner-card {
        height: 100%;
    }

    .inner-card {
        padding: 18px 12px;
    }

    .inner-card-2 {
        background-size: 30%;
    }

    .card-question {
        width: 100%;
        height: 100%;
        font-size: 22px;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: stretch;
        gap: 14px;
        /* overflow: hidden; */

        transform:
            translateZ(0)
            scale(var(--active-card-content-scale));

        transform-origin: center center;
        will-change: transform;
    }

    .card-question-wrapper {
        font-size: 16px;
        margin-top: 45px;
    }

    .card-question-wrapper,
    .card-question > div:not(.card-back-arrow):first-of-type {
        width: 100%;
        max-width: 500px;
        line-height: 1.25;
        font-weight: 700;
        transform: translateZ(0);
    }

    .card-answer-wrapper {
        width: 100%;
        margin-top: 10px;
        font-size: 20px;
    }

    .card-answer-wrapper > p {
        margin: 0 0 8px;
        font-weight: 700;
        color: #7fbfbc;
    }

    .card-answer-container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .card-answer-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        min-height: 36px;
        border-bottom: 1px solid #222;
    }

    .card-answer-content:last-child {
        border-bottom: none;
    }

    .card-answer-icon {
        width: 24px;
        height: 24px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #bfe2e1;
        font-size: 12px;
        font-weight: 700;
    }

    .card-answer {
        margin: 0;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 700;
    }

    .lau-wrapper {
        width: min(380px, 92vw);
        flex-direction: row;
    }

    .card-lau-info-text {
        font-size: 16px;
        padding: 14px;
    }

    .card-shown-answer {
        font-size: 16px;
    }

    .card-see-answer {
        padding: 10px 38px;
        font-size: 22px;
    }

    .card-deck-choose-text {
        font-size: 25px;
    }

    .card-back-arrow {
        font-size: 14px;
    }

    .card-deck-choose-text > :last-child {
        display: block;
    }

    .inner-card-2 {
        background-size: 50%;
    }
}

@media (max-width: 480px) {

    .rules-holder {
        --rules-heading-size: 28px;
        --rules-body-size: 16px;

        --rules-tactic-title-size: 26px;
        --rules-tactic-text-size: 15px;
        --rules-tactic-or-size: 30px;

        --rules-action-text-size: 16px;
    }

    .slider-content-holder {
        padding: 12px 12px 48px;
    }


    /* Generic header */

    .slider-header {
        margin-bottom: 12px;
        line-height: 1.05;
    }


    /* Generic image */

    .slider-image-holder {
        margin-bottom: 12px;
    }

    /* .slider-image-holder img {
        max-width: 82vw;
        max-height: 25vh;
    } */


    /* Generic text */

    .slider-text-content-holder p {
        line-height: 1.3;
    }

    .slider-text-image img {
        max-width: 36px;
        max-height: 36px;
    }


    /* Tactic */

    .slider-content-holder.slider-tactic-content {
        padding: 12px 10px 48px;
    }

    .slider-tactic-content .slider-header {
        margin-bottom: 12px;
    }


    .slider-tactic-wrapper {
        gap: 11px;
    }

    .slider-tactic-title {
        margin-bottom: 4px;
    }


    .slider-tactic-title > img {
        width: 38px;
        height: 38px;
    }


    .slider-tactic-explain-text {
        min-height: 27px;
        line-height: 1.15;
    }

    .slider-tactic-status {
        width: 24px;
        flex: 0 0 24px;
    }

    .slider-tactic-small-coin-holder img {
        width: 19px;
        height: 19px;
    }

    .slider-tactic-footer {
        margin-top: 12px;
    }

    .slider-tactic-footer p {
        line-height: 1.25;
    }

    .rules-holder .slider1 .slick-dots {
        bottom: -18px;
    }
}

@media (max-width: 448px) {
    :root {
        --select-card-width: 200px;
    }

    .rules-holder .slider2 .slider-extra-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    :root {
        --select-card-width: 180px;
        --select-cards-row-width: 542px;
        --card-game-select-card-holder-height: 280px;
        --card-game-header-size: 32px;
        --card-game-sub-header-size: 14px;
    }
    
    .card-deck-choose-text.is-hidden a  {
        top: 60px;
    }

    .card-question-id {
        right: 5px;
    }

    .answer-and-lau.reveal-answer-and-lau + .card-game-email-info {
        bottom: -10%;
    }

    /* .card-game-email-info {
        top: auto;
        bottom: 350px;
        transform: translateX(-50%);
        font-size: 12px;
        width: 85%; 
        max-width: 180px;
    }

    .answer-and-lau.reveal-answer-and-lau + .card-game-email-info {
        top: auto;
        bottom: 580px;
        transform: translateX(-15%);
    } */

    .card-game-back-link {
        font-size: 13px;
        top: 5px;
        left: 5px;
    }

    .card-game-select-cards-holder {
        gap: 2rem;
    }

    .card-wrapper {
        --deck-card-width: min(145px, 42vw);
        --active-mobile-card-width: min(290px, 84vw);
        --active-mobile-card-height: 500px;

        --inactive-card-scale: 0.5;
        --active-card-scale-mobile: 1;
        --active-card-content-scale: 1;

        --mobile-shadow-offset-x: -6px;
        --mobile-shadow-offset-y: 8px;

        --card-gap: 14px;

        min-height: calc(var(--active-mobile-card-height) + 130px);
        padding-top: 0;
        margin-top: 90px;
        margin-bottom: 24px;
    }

    .card-game-select-card {
        max-width: var(--select-card-width);
    }

    .card-back-arrow {
        font-size: 13px;
    }

    .card-deck-choose-text {
        font-size: 23px;
    }

    .card-wrapper.has-active {
        min-height: calc(var(--active-mobile-card-height) + 20px);
        margin-bottom: 24px;
    }

    .inner-card {
        padding: 16px 10px;
    }

    .card-question {
        gap: 12px;
    }

    .card-question-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .card-answer-content {
        grid-template-columns: 26px 1fr;
        min-height: 34px;
    }

    .card-answer-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 375px) {
    :root {
        --select-card-width: 250px;
        --select-cards-row-width: 482px;
        --card-game-select-card-holder-height: 330px;
        --card-game-header-size: 30px;
        --card-game-sub-header-size: 13px;
    }

    .card-game-back-link {
        /* font-size: 10px; */
        top: 3px;
        left: 3px;
    }

    .card-game-select-card {
        max-width: var(--select-card-width);
    }

    .card-game-select-title {
        font-size: 16px;
    }

    .card-game-select-card-content-holder p {
        font-size: 14px;
    }

    .card-game-select-button {
        font-size: 16px;
        padding: 0.5rem;
    }
}

@media (max-width: 320px) {
    :root {
        --select-cards-row-width: 250px;
    }
}
