html {
  font-size: 14px;
}



/* Text overrides */

.user-info a {
    text-decoration: none;
    color: #2d2d2d;
}

/*Logo Beta flag

.logo::after {
    content: "beta";
    position: absolute;
   
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: red;
    background-color: #fff;
    padding: 2px 4px;
    border-radius: 3px;
}*/

/*Credit card design*/

.cc-card-front:before {
    content: "";
    inset: 0;
    position: absolute;
    transform: translate3d(0, 0, 0.01px);
    background-image: var(--glitter), var(--glitter), linear-gradient(120deg, black 25%, white, black 75%);
    background-size: 100% 100%, 80% 80%, 200% 200%;
    background-blend-mode: multiply, multiply, overlay;
    background-position: 50% 50%, 50% 50%, 50% 50%;
    mix-blend-mode: color-dodge;
    filter: brightness(2) contrast(0.8);
    animation: bg var(--duration) ease infinite;
}

.cc-card-front {
    display: grid;
    background: black;
    /*margin-left: 100px;*/
    position: relative;
    transform: translate3d(0, 0, 0.01px);
    width: 198px;
    max-width: 580px;
    aspect-ratio: 3/2;
    border-radius: 3.5% 3.5% 3.5% 3.5% / 5% 5% 5% 5%;
    /* background-image: url('/Images/card-default.jpg');
                    background-size: cover; */
    box-shadow: 0 30px 40px -25px rgba(15, 5, 20, 1), 0 20px 50px -15px rgba(15, 5, 20, 1);
    overflow: hidden;
    animation: tilt var(--duration) ease infinite;
    image-rendering: optimizequality;
}

    .cc-card-front:after {
        content: "";
        background: none, none, linear-gradient(125deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 0.1%, rgba(255,255,255,0) 60%);
        background-size: 200% 200%;
        mix-blend-mode: hard-light;
        animation: bg var(--duration) ease infinite;
    }

    .cc-card-front * {
        font-family: PT Mono, monospace;
    }

    .cc-card-front .cardLogo,
    .cc-card-front .expiry,
    .cc-card-front .name,
    .cc-card-front .number,
    .cc-card-front .chip,
    .cc-card-front .icon {
        color: #ccc;
        position: absolute;
        margin: 0;
        padding: 0;
        letter-spacing: 0.075em;
        text-transform: uppercase;
        font-size: 14px;
        inset: 5%;
        z-index: 5;
    }

    .cc-card-front .name,
    .cc-card-front .number, .cc-card-front .expiry {
        background-image: linear-gradient(to bottom, #ededed 20%, #bababa 70%), none, linear-gradient(120deg, transparent 10%, white 40%, white 60%, transparent 90%);
        background-size: cover, cover, 200%;
        background-position: 50% 50%;
        background-blend-mode: overlay;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        animation: bg var(--duration) ease infinite;
    }

    .cc-card-front .number {
        font-family: PT Mono, monospace;
        text-align: center;
        font-size: 12px;
        letter-spacing: 0.025em;
        top: 60%;
        bottom: auto;
    }

    .cc-card-front .expiry,
    .cc-card-front .name {
        top: auto;
    }

    .cc-card-front .name {
        right: auto;
        max-width: 180px;
        line-height: 1.2;
        text-align: left;
    }

    .cc-card-front .expiry {
        left: auto;
    }

    .cc-card-front .cardLogo {
        bottom: auto;
        left: auto;
        width: 15%;
        filter: invert(1) saturate(0) brightness(1) contrast(1.2);
        mix-blend-mode: screen;
    }

    .cc-card-front .chip {
        display: grid;
        place-items: center;
        width: 14%;
        aspect-ratio: 5/4;
        left: 10%;
        top: 30%;
        border-radius: 10% 10% 10% 10% / 15% 15% 15% 15%;
        background-image: none, none, linear-gradient(120deg, #777 10%, #ddd 40%, #ddd 60%, #777 90%);
        background-size: 200% 200%;
        background-position: 50% 50%;
        overflow: hidden;
        animation: bg var(--duration) ease infinite;
    }

        .cc-card-front .chip svg {
            display: block;
            width: 90%;
            fill: none;
            stroke: #444;
            stroke-width: 2;
        }

    .cc-card-front .contactless {
        position: absolute;
        left: 23%;
        top: 30%;
        width: 12%;
        rotate: 90deg;
        stroke-width: 1.25;
        stroke: currentColor;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: 0.5;
    }

    .cc-card-front .icon {
        width: 25%;
        bottom: auto;
        right: auto;
        top: 0;
        left: 15px;
        filter: invert(1) hue-rotate(180deg) saturate(5) contrast(2);
    }

    .cc-card-front #chip,
    .cc-card-front #contactless {
        display: none;
    }

    .cc-card-front h1 {
        margin: 1em;
        color: white;
        opacity: 0.7;
        text-shadow: 0 1px 1px black;
    }
/*Credit card design*/
