/* @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,400&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100;200;300;400;500;600&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-brand: #8547be;
    --primary-brand-dark: #491696;
    --primary-brand-darker: #341169;
    --primary-brand-darkest: #1f0a3e;
    --primary-text-bg: #212529;
    --main-text-color: #eee;
    --p-text-color: #adb5bd;

    --heading-font: 'Antonio',sans-serif;
    --main-font: 'Open Sans',Arial,Helvetica,sans-serif;
    --text-shadow: 2px 2px 3px #000;
}



body {
    background: var(--primary-text-bg);
    color: var(--p-text-color);
}

* {
    font-family: var(--main-font);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: var(--main-text-color);
    font-family: var(--heading-font);
}

.row-reverse {
    flex-direction: row-reverse;
}

.home-hero {
    text-shadow: var(--text-shadow);
}

.carousel {
    overflow: hidden;
}

.home-hero .carousel-item img {
    object-fit: cover;
    display: block;
    width: 100%;
    filter: brightness(0.5);
    min-height: 75vh;
}

.home-hero .carousel-inner {
    background: rgba(0,0,0,0.6);
}

.carousel video {
    min-height: 75vh;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.home-hero .carousel-item img.real {
    display: none;
}

@media (max-width: 750px) {
    .carousel video {
        display: none;
    }

    .home-hero .carousel-item img.dummy {
        display: none;
    }

    .home-hero .carousel-item img.real {
        display: block;
    }

}


/* .home-hero .carousel-item:nth-child(2n+1) img {
    animation: carousel-zoom 10s infinite alternate ease-in-out;
}

.home-hero .carousel-item:nth-child(2n) img {
    animation: carousel-zoom 10s infinite alternate-reverse ease-in-out;
} */

.blog-post-header {
    background-color: rgba(0,0,0,0.7);
    background-blend-mode: multiply;
}

@media screen and (max-width: 576px) {
    .blog-post-header {
        min-height: 75vh !important;
    }
}

.img-left-side {
    border-radius: 60px 0 0px 60px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.img-right-side {
    border-radius: 30px 30px 30px 30px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-hero .carousel-caption {
    position: absolute;
    top: 64px;
    bottom: 64px;
    display: flex;
    align-items: center;
}

.navbar-main .nav-item {
    font-weight: 500;
}

.fw-black {
    font-weight: 900 !important;
}

.carousel-content-inner {
    width: 100%;
}

h1, .h1 {
    font-weight: 900 !important;    
}

.home-hero .carousel h1 {
    text-transform: uppercase;
    font-size: 2.6rem;
}

.navbar-main {
    height: 72px;
}

.navbar-main a {
    color: white !important;
}

.navbar-main .navbar-toggler {
    border-color: white !important;
}

.navbar-main .navbar-toggler span {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.vh-25 {
    min-height: calc(25vh + 64px);
}

.vh-third {
    min-height: calc(33vh + 64px);
}

.vh-50 {
    min-height: 50vh;
}

.vh-75 {
    min-height: calc(75vh - 225px);
}

a.card {
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
    height: 100%;
}

a.card .card-cap {
    overflow: hidden;
    height: 160px;
}

#more {
    margin-top: -64px;
    padding-top: 64px;
}

.blockquote {
    font-style: italic;
}

.blockquote svg:last-child {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
}

/* .testimonials div:nth-child(2n) > div {
    text-align: right;
} */

.testimonials img {
    max-width: 160px;
}

.img-thumbnail {
    max-width: 512px;
    max-height: auto;
    height: auto;
}




.card-cap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1.0);
    transition: transform 0.4s ease-in-out;
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
}

.more-details {
    margin-top: auto;
}

.service-details p,
.service-details div {
    font-size: 1.25rem !important;
}

.service-details h3, 
.service-details h4, 
.service-details h5 {
    font-weight: 700 !important;
}

.service-details h2 {
    text-align: center;
    font-weight: 900 !important;
}

a.card.service-card p {
    line-height: 175%;
}

a.card.service-card h5 {
    font-weight: 700 !important;
}

a.card.service-card {
    border: 3px solid transparent;
    transition: border 0.1s ease-in-out;
}

a.card.service-card:hover {
    border: 3px solid var(--primary-brand);
    transition: border 0.1s ease-in-out;
}

.blog-summary h5 {
    font-weight: 700;
}

.blog-summary p {
    font-weight: 400 !important;
}

.section-header {
    position: relative;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

#custom-substack-embed form
{
    max-width: initial !important;
}

#custom-substack-embed
{
    max-width: 500px;
    margin: 0 auto;
}

/* .more-down {
    position: absolute;
    display: flex;
    bottom: 64px;
    width: 100%;
    color: #DDD;
    text-align: center;
    text-decoration: none;
    font-size: 32px;
} */

.container {
    overflow: hidden;
}

.more-down:hover {
    color: var(--main-text-color);
}

.more-down {
    background-color: var(--primary-brand);
    margin: 0 auto;
    width: auto;
    padding: 0.5em 1.5em;
    border-radius: 4px;
    transition: background-color .2s ease-in-out;
    text-shadow: none;
    text-decoration: none;
}

.more-down:hover {
    background-color: var(--primary-brand-dark);
    transition: background-color .2s ease-in-out;
}

.more-down svg {
    height: 32px;
}

.section-header h1,
.section-header p {
    padding: 0 32px;
}

.section-header * {
    color: #DDD !important;
}

.generic-bg {
    background: url('/bg_generic.webp');
}

.btn-close {
}

.btn-close-dialog {
    color: var(--main-text-color);

}

.btn-rfp {
    border-radius: 32px;
    padding: 4px 16px;
    font-weight: 500;
    background-color: #aa5757;
    border-color: var(--primary-brand-dark);
}

.btn-rfp:hover {
    background-color: var(--primary-brand);
    border-color: var(--primary-brand-dark);
}

img.blog-img {
    display: block;
    margin: 0 auto;
    border-radius: var(--bs-border-radius);   
    height: auto;
    max-width: 100%;
}

.navbar-main {
    background: transparent;
    transition: background-color 0.33s ease-in-out, box-shadow 0.33s ease-in-out;
    box-shadow: 2px 2px 10px transparent;
}

.navbar-bg-main {
    background-color: var(--primary-brand-dark);
    transition: background-color 0.33s ease-in-out, box-shadow 0.33s ease-in-out;
    box-shadow: 2px 2px 10px black;
}

#pixel-to-watch {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 100px;
    left: 0;    
}

footer.footer {
    background-color: #1A1A1A;
    color: #bbb;
}

.footer a {
    color: #bbb;
}

.footer .social-icons a {
    text-decoration: none !important;
    display: inline-block;
    padding: 4px;
    margin-right: 8px;
    height: 36px;
}

.footer .social-icons a:hover {
    color: var(--primary-brand);
}

.footer .social-icons a svg {
    height: 24px;
}

.container {
}

body {
    overflow-x: hidden;
}

body, html {
}

.alt-bg {
    background-color: var(--primary-brand-dark);
}

.alt-bg p.body {
    color: #eee;
}

.alt-bg h1 {
    color: #eee;
}

.rfp-section a.btn-rfp {
    font-size: 1.5em !important; 
    padding: 8px 32px;
}

.footer .logo {
    height: 40px;
}

.fade-in-right, 
.fade-in-left,
.fade-in-auto,
.service-details ol li {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.service-details ol {
    text-align: center;
    list-style: none;
    counter-reset: ol 0;
    padding-left: 0;
}

.service-details ol li {
    counter-increment: ol;
    max-width: 600px;
    margin: 0 auto;
}

.service-details ol li strong {
    display: block;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.service-details ol li::before {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 3rem;
    height: 3rem;

    margin: 0 auto;
    content: counter(ol);
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.service-details li {
    font-size:1.25rem;
}

.service-details ol li::after,
.service-details ol::before {
    display: block;
    content: "";
    margin: 0 auto;
    height: 64px;
    width: 1px;
    border-right: 1px solid white;
    margin-bottom: 1rem;
}

.fade-in-right {
    transform: translateX(5vw);
}


.fade-in-auto:nth-child(2n) {
    transform: translateX(5vw);
}

.fade-in-auto:nth-child(2n - 1) {
    transform: translateX(-5vw);
}


.fade-in-right.visible,
.fade-in-auto.visible,
.service-details li.visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.rfp-form {
    color: #eee;
    min-height: calc(100vh - 160px);
}

.alt-bg-darker {
    background-color: var(--primary-brand-darker);
}

.rfp-form a {
    color: #fff;
}

.form-div > div {
    min-height: calc(100vh - 245px);
}

.badge.text-bg-primary {
    background-color: var(--primary-brand-dark) !important;
    font-size: 1.1em;
    text-overflow: clip;
}

.offcanvas-side-nav {
    background-color: var(--primary-text-bg);
}

.bg-primary-brand-dark {
    background-color: var(--primary-brand-dark);
}

.bg-primary-brand-darker {
    background-color: var(--primary-brand-darker);
}

.bg-primary-brand-darkest {
    background-color: var(--primary-brand-darkest);
}

.blog-post-content {
    background-color: var(--primary-text-bg);
    max-width: 900px;
}


.card {
    background-color: var(--primary-brand-darkest);
}

a {
    color: var(--main-text-color);
}

a.card.service-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

a.card.service-card .ratio {
    margin-top: 16px;
    margin-bottom: 16px;
}

.rfp-container * {
    text-decoration: none !important;
}

.rfp-list,
.rfp-form {
    background-image: url('/centerstage.webp');
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
}

.btn-purchase {
    background: linear-gradient(90deg,transparent,#ff00fd) #530053;
    background-size: 120% 180%;
    text-decoration: none;
    font-size: 2em;
    border-radius: 4px;
    padding: 0.25em 1em;
    transition: background-color 0.2s;
}

.gradient-background,
.btn-purchase:hover,
.btn-purchase:focus {
    background-color: purple;
}
  
  @keyframes gradient-animation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }


.book-page p,
.book-page li {
    font-size: 1.2em;
}

#chapter1 {
    background: rgba(0, 0, 0, 0.6);
    padding: 1em;
}

.about-the-author
{
    padding: 3em 0;
    margin-top: 2em;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-bottom: 2em;
    /* background: rgba(0, 0, 0, 0.6); */
}

.who-is-the-book-for
{
    padding: 3em 0;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-bottom: 2em;
}

.testimonials-book {
    padding: 3em 0;
    margin-top: 2em;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-bottom: 2em;
    background: rgba(0, 0, 0, 0.6);
}

.testimonials-book .col-12
{
    margin-bottom: 32px;
}

.testimonials-book .row .col-12:last-child
{
    margin-bottom: 0;
}

.buy-links a
{
    max-width: 200px;
}

.book-hero {
    background-color: #555;
    background-image: url('/book/bg.jpg');
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    background-attachment: fixed;
    padding-top: 100px !important;

}

.book-hero h1 {
    font-size: 3em;
}

.case-study-content blockquote > p {
    font-size: 1.4em !important;
    font-style: italic;    
}

@media screen and (min-width: 800px)
{
    .book-hero h1 {
        font-size: 3.5em;
    }
        .book-hero h2 {
        font-size: 2.5em;
    }    
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
    font-family: var(--heading-font);
}


.book-hero * {
    color: #DBDBDB !important;
    text-shadow: var(--text-shadow);
}


@media screen and (max-width: 700px) {
    .badge.text-bg-primary {
        font-size: 0.9em !important;
    }

    .testimonials img {
        max-width: 96px;
    }

    .img-thumbnail {
        max-width: 100%;
        float: none;
    }
}

@keyframes carousel-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}