/* @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: #ddd;
    --heading-font: 'Inter',sans-serif;
    --main-font: 'Inter',sans-serif;
    --text-shadow: 2px 2px 3px #000;
}

.offcanvas-body {
    color: #222;
}

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 {
    font-family: var(--heading-font);
}

.home-hero {
    margin-top: 120px;
}

.home-hero .carousel-item img {
    object-fit: cover;
    display: block;
    width: 100%;
    filter: brightness(0.5);
    min-height: 75vh;
}

.home-hero .btn {

}


/* .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;    
}

h2, .h2 {
    font-weight: 700 !important;
}

.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');
}


.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);
    color: #eee !important;
}

.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 li {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

.fade-in-fast {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.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 li strong {
    display: block;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.service-details 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::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);
}
