@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;600;700;900&display=swap');

html {
    scroll-behavior: smooth;
}
body {
    --wp--preset--font-family--primary: Outfit;
}
.ltc a {
    color: var(--wp--preset--color--custom-litecoin);
}
a:hover {
    color: var(--wp--preset--color--main-accent);
}

.wp-block-media-text figure,
video,
iframe {
    border-radius: 25px;
}

[class*="typewheel-frame"]:not(.nested) {
    position: relative;
}

.page-id-2 h2 a {
    text-decoration: none;
}

/* [class*="typewheel-dot"] figure {
    z-index: -2;
}
[class*="typewheel-dot"] h2 {
    position: relative;
    margin-left: -1.4em;
} */

/* Frame Dot Container */
.typewheel-frame-dot-corner-left-top,
.typewheel-frame-dot-corner-center-top,
.typewheel-frame-dot-corner-right-top {
    padding-top: var(--wp--preset--spacing--50);
}
.typewheel-frame-dot-corner-left-bottom,
.typewheel-frame-dot-corner-center-bottom,
.typewheel-frame-dot-corner-right-bottom {
    padding-bottom: var(--wp--preset--spacing--50);
}
.typewheel-frame-dot-corner-right-top,
.typewheel-frame-dot-corner-right-middle,
.typewheel-frame-dot-corner-right-bottom {
    padding-right: var(--wp--preset--spacing--50);
}
.typewheel-frame-dot-corner-left-top,
.typewheel-frame-dot-corner-left-middle,
.typewheel-frame-dot-corner-left-bottom {
    padding-left: var(--wp--preset--spacing--50);
}

/* Frame Dot Circle */
[class*="typewheel-frame-dot"]::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--wp--preset--color--main-accent);
    background-color: var(--wp--preset--color--secondary);
}
[class*="typewheel-frame-dot"].ltc::after {
    border: 3px solid var(--wp--preset--color--custom-litecoin);
}
[class*="typewheel-frame-dot"].btc::after {
    border: 3px solid var(--wp--preset--color--custom-bitcoin);
}
.typewheel-frame-dot-corner-left-top::after,
.typewheel-frame-dot-corner-center-top::after,
.typewheel-frame-dot-corner-right-top::after {
    top: -8px;
}
.typewheel-frame-dot-corner-left-bottom::after,
.typewheel-frame-dot-corner-center-bottom::after,
.typewheel-frame-dot-corner-right-bottom::after {
    bottom: -8px;
}
.typewheel-frame-dot-corner-right-top::after,
.typewheel-frame-dot-corner-right-middle::after,
.typewheel-frame-dot-corner-right-bottom::after {
    right: -8px;
}
.typewheel-frame-dot-corner-left-top::after,
.typewheel-frame-dot-corner-left-middle::after,
.typewheel-frame-dot-corner-left-bottom::after {
    left: -8px;
}

/* Frame Dot Lines */
[class*="typewheel-frame-dot"] > :first-child::before,
[class*="typewheel-frame-dot"] > :first-child::after,
[class*="typewheel-frame-dot"] > :last-child::before,
[class*="typewheel-frame-dot"] > :last-child::after {
    content: '';
    display: block;
    position: absolute;
    /* background-color: var(--wp--preset--color--custom-bitcoin); */
}
/* Vertical Lines */
.typewheel-frame-dot-corner-left-top > :first-child::before,
.typewheel-frame-dot-corner-left-bottom > :last-child::before,
.typewheel-frame-dot-corner-right-top > :first-child::before,
.typewheel-frame-dot-corner-right-bottom > :last-child::before {
    width: 3px;
    height: 60px;
}
.typewheel-frame-dot-corner-left-middle .wp-block-media-text__content::before,
.typewheel-frame-dot-corner-right-middle .wp-block-media-text__content::before {
    width: 3px;
    height: 90px;
}
.typewheel-frame-dot-corner-left-top > :first-child::before,
.typewheel-frame-dot-corner-left-middle .wp-block-media-text__content::before,
.typewheel-frame-dot-corner-left-bottom > :last-child::before {
    left: -2px;
}
.typewheel-frame-dot-corner-right-top > :first-child::before,
.typewheel-frame-dot-corner-right-middle .wp-block-media-text__content::before,
.typewheel-frame-dot-corner-right-bottom > :last-child::before {
    right: -2px;
}
.typewheel-frame-dot-corner-left-top > :first-child::before,
.typewheel-frame-dot-corner-right-top > :first-child::before {
    top: 24px;
    background-image: linear-gradient( to bottom, var(--wp--preset--color--main-accent), transparent );
}
.typewheel-frame-dot-corner-left-top.ltc > :first-child::before,
.typewheel-frame-dot-corner-right-top.ltc > :first-child::before {
    background-image: linear-gradient( to bottom, var(--wp--preset--color--custom-litecoin), transparent );
}
.typewheel-frame-dot-corner-left-top.btc > :first-child::before,
.typewheel-frame-dot-corner-right-top.btc > :first-child::before {
    background-image: linear-gradient( to bottom, var(--wp--preset--color--custom-bitcoin), transparent );
}
.typewheel-frame-dot-corner-left-bottom > :last-child::before,
.typewheel-frame-dot-corner-right-bottom > :last-child::before {
    bottom: 24px;
    background-image: linear-gradient( to top, var(--wp--preset--color--main-accent), transparent );
}
.typewheel-frame-dot-corner-left-bottom.ltc > :last-child::before,
.typewheel-frame-dot-corner-right-bottom.ltc > :last-child::before {
    background-image: linear-gradient( to top, var(--wp--preset--color--custom-litecoin), transparent );
}
.typewheel-frame-dot-corner-left-bottom.btc > :last-child::before,
.typewheel-frame-dot-corner-right-bottom.btc > :last-child::before {
    background-image: linear-gradient( to top, var(--wp--preset--color--custom-bitcoin), transparent );
}
/* todo: middle */

/* Horizontal Lines */
.typewheel-frame-dot-corner-left-top > :first-child::after,
.typewheel-frame-dot-corner-left-bottom > :last-child::after,
.typewheel-frame-dot-corner-right-top > :first-child::after,
.typewheel-frame-dot-corner-right-bottom > :last-child::after {
    width: 120px;
    height: 3px;
}
.typewheel-frame-dot-corner-left-middle .wp-block-media-text__content::after,
.typewheel-frame-dot-corner-right-middle .wp-block-media-text__content::after {
    width: 120px;
    height: 3px;
}
.typewheel-frame-dot-corner-left-top > :first-child::after,
.typewheel-frame-dot-corner-center-top > :first-child::after,
.typewheel-frame-dot-corner-right-top > :first-child::after {
    top: -2px;
}
.typewheel-frame-dot-corner-left-bottom > :last-child::after,
.typewheel-frame-dot-corner-center-bottom > :last-child::after,
.typewheel-frame-dot-corner-right-bottom > :last-child::after {
    bottom: -2px;
}
.typewheel-frame-dot-corner-left-top > :first-child::after,
.typewheel-frame-dot-corner-left-bottom > :last-child::after {
    left: 24px;
    background-image: linear-gradient( to right, var(--wp--preset--color--main-accent), transparent );
}
.typewheel-frame-dot-corner-left-top.ltc > :first-child::after,
.typewheel-frame-dot-corner-left-bottom.ltc > :last-child::after {
    background-image: linear-gradient( to right, var(--wp--preset--color--custom-litecoin), transparent );
}
.typewheel-frame-dot-corner-left-top.btc > :first-child::after,
.typewheel-frame-dot-corner-left-bottom.btc > :last-child::after {
    background-image: linear-gradient( to right, var(--wp--preset--color--custom-bitcoin), transparent );
}
.typewheel-frame-dot-corner-right-top > :first-child::after,
.typewheel-frame-dot-corner-right-bottom > :last-child::after {
    right: 24px;
    background-image: linear-gradient( to left, var(--wp--preset--color--main-accent), transparent );
}
.typewheel-frame-dot-corner-right-top.ltc > :first-child::after,
.typewheel-frame-dot-corner-right-bottom.ltc > :last-child::after {
    background-image: linear-gradient( to left, var(--wp--preset--color--custom-litecoin), transparent );
}
.typewheel-frame-dot-corner-right-top.btc > :first-child::after,
.typewheel-frame-dot-corner-right-bottom.btc > :last-child::after {
    background-image: linear-gradient( to left, var(--wp--preset--color--custom-bitcoin), transparent );
}

h2.typewheel-bar-dot-left,
h3.typewheel-bar-dot-left {
    position: relative;
    padding-top: 1.5rem;
    margin-bottom: -1rem;
}
h2.typewheel-bar-dot-left::before,
h3.typewheel-bar-dot-left::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--wp--preset--color--main-accent);
    background-color: var(--wp--preset--color--secondary);
    top: -9px;
    left: -24px;
}
h2.typewheel-bar-dot-left.ltc::before,
h3.typewheel-bar-dot-left.ltc::before {
    border: 3px solid var(--wp--preset--color--custom-litecoin);
}
h2.typewheel-bar-dot-left.btc::before,
h3.typewheel-bar-dot-left.btc::before {
    border: 3px solid var(--wp--preset--color--custom-bitcoin);
}
h2.typewheel-bar-dot-left::after,
h3.typewheel-bar-dot-left::after {
    content: '';
    display: block;
    position: absolute;
    background-image: linear-gradient( to right, var(--wp--preset--color--main-accent), transparent );
    width: 100%;
    height: 3px;
    top: -2px;
}
h2.typewheel-bar-dot-left.ltc::after,
h3.typewheel-bar-dot-left.ltc::after {
    background-image: linear-gradient( to right, var(--wp--preset--color--custom-litecoin), transparent );
}
h2.typewheel-bar-dot-left.btc::after,
h3.typewheel-bar-dot-left.btc::after {
    background-image: linear-gradient( to right, var(--wp--preset--color--custom-bitcoin), transparent );
}

.typewheel-frame-image-top-right::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    border-radius: 50%;
    border: 3px solid var(--wp--preset--color--main-accent);
    background-color: var(--wp--preset--color--secondary);
}
.typewheel-frame-image-top-right.ltc::before {
    border: 3px solid var(--wp--preset--color--custom-litecoin);
}
.typewheel-frame-image-top-right.btc::before {
    border: 3px solid var(--wp--preset--color--custom-bitcoin);
}
.typewheel-frame-image-top-right figcaption::before {
    top: -10px;
    left: -15px;
}
div[class*="wp-block-"] .typewheel-frame-image-top-right figcaption.wp-element-caption {
    color: var(--wp--preset--color--base);
    position: absolute;
    top: 5px;
    left: 0;
    padding: 5px 0 5px 14px;
    background-image: linear-gradient( to right, var(--wp--preset--color--main-accent), transparent );
    width: 90%;
    text-align: left;
}
div[class*="wp-block-"] .typewheel-frame-image-top-right.ltc figcaption.wp-element-caption {
    background-image: linear-gradient( to right, var(--wp--preset--color--custom-litecoin), transparent );
}
div[class*="wp-block-"] .typewheel-frame-image-top-right.btc figcaption.wp-element-caption {
    background-image: linear-gradient( to right, var(--wp--preset--color--custom-bitcoin), transparent );
}

.typewheel-frame-image-reveal {
    margin-block-start: var(--wp--preset--spacing--small);
}
div[class*="wp-block-"] .typewheel-frame-image-reveal figcaption.wp-element-caption {
    width: 32px;
    height: 32px;
    white-space: nowrap;
    padding: 0;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--wp--preset--color--main);
    color: var(--wp--preset--color--main);
    border-radius: 19px;
    border: 3px solid var(--wp--preset--color--main-accent);
    line-height: 2;
    font-size: 13px;
    font-weight: bold;
    transition: .5s ease all;
    overflow: hidden;
}
div[class*="wp-block-"] .typewheel-frame-image-reveal.ltc figcaption.wp-element-caption {
    border: 3px solid var(--wp--preset--color--custom-litecoin);
}
div[class*="wp-block-"] .typewheel-frame-image-reveal.btc figcaption.wp-element-caption {
    border: 3px solid var(--wp--preset--color--custom-bitcoin);
}
div[class*="wp-block-"] .typewheel-frame-image-reveal:hover figcaption.wp-element-caption {
    width: auto;
    color: var(--wp--preset--color--base);
    padding: 0 2em;
    transition: .5s ease all;
    pointer-events: none;
}

.typewheel-frame-video-reveal {
    margin-block-start: var(--wp--preset--spacing--small);
}
div[class*="wp-block-"] .typewheel-frame-video-reveal figcaption.wp-element-caption {
    width: 32px;
    height: 32px;
    white-space: nowrap;
    padding: 0;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--wp--preset--color--main);
    color: var(--wp--preset--color--main);
    border-radius: 19px;
    border: 3px solid var(--wp--preset--color--main-accent);
    line-height: 2;
    font-size: 13px;
    font-weight: bold;
    transition: .5s ease all;
    overflow: hidden;
}
div[class*="wp-block-"] .typewheel-frame-video-reveal.ltc figcaption.wp-element-caption {
    border: 3px solid var(--wp--preset--color--custom-litecoin);
}
div[class*="wp-block-"] .typewheel-frame-video-reveal.btc figcaption.wp-element-caption {
    border: 3px solid var(--wp--preset--color--custom-bitcoin);
}
div[class*="wp-block-"] .typewheel-frame-video-reveal:hover figcaption.wp-element-caption {
    width: auto;
    color: var(--wp--preset--color--base);
    padding: 0 2em;
    transition: .5s ease all;
    pointer-events: none;
}
div[class*="wp-block-"] .typewheel-frame-video-reveal:hover img {
    transition: .5s ease all;
    filter: opacity(0.25) saturate(0.75);
}
div[class*="wp-block-"] .typewheel-frame-video-reveal::before {
    transition: .2s ease all;
    content: '►';
    opacity: 0;
    font-size: 42px;
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 42%;
    transform: translate( -50%, -50% );
    border-radius: 50%;
    border: 3px solid var(--wp--preset--color--main-accent);
    background-color: var(--wp--preset--color--secondary);
    z-index: 3;
    line-height: 1.6;
    padding: 0 0.4em;
    pointer-events: none;
}
div[class*="wp-block-"] .typewheel-frame-video-reveal.ltc::before {
    border: 3px solid var(--wp--preset--color--custom-litecoin);
}
div[class*="wp-block-"] .typewheel-frame-video-reveal.btc::before {
    border: 3px solid var(--wp--preset--color--custom-bitcoin);
}
div[class*="wp-block-"] .typewheel-frame-video-reveal:hover::before {
    transition: .5s ease all;
    opacity: 1;
    left: 50%;
}


/* HEROCAST HEADER */
/* #herocast {
    height: 31vw;
    position: relative;
}
#herocast > :not(div[id^="herocast-item-"]) {
    position: relative;
    z-index: 1;
}
#herocast > :not(div[id^="herocast-item-"]):not(.wp-block-buttons) {
    animation-name: contrast;
    animation-duration: 20s;
    animation-timing-function: ease-out;
    animation-direction: normal;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-play-state: running;
}
div[id^="herocast-item-"] {
    z-index: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 31vw;
    animation-name: fades;
    animation-duration: 20s;
    animation-timing-function: ease-out;
    animation-direction: normal;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-play-state: running;
}
#herocast-item-1 {
    animation-delay: 0s;
}
#herocast-item-2 {
    animation-delay: 5s;
}
#herocast-item-3 {
    animation-delay: 10s;
}
#herocast-item-4 {
    animation-delay: 15s;
}

@keyframes contrast {
    0% {
        filter: contrast(1) brightness(1);
    }
    1% {
        filter: contrast(0) brightness(0);
    }
    24% {
        filter: contrast(0) brightness(0);
    }
    25% {
        filter: contrast(1) brightness(1);
    }
}
@keyframes fades {
    0% {
        opacity: 0;
    }
    2% {
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
} */