

/*-----------------------------
  General Utilities
------------------------------*/

/* Removes left border if present */
.b-l-lg {
    border-left: 0 !important;
}


/*-----------------------------
  Quote Blocks
------------------------------*/

.quote,
.quote-dark {
    margin-bottom: 35px;
    padding: 15px;
    border-radius: 20px;
}

.quote {
    background-color: rgba(242, 253, 254, 1);
}

.quote-dark {
    background-color: rgba(252, 254, 241, 0.2);
}

/* Styles for second paragraph inside quote blocks */
.quote p:nth-of-type(2),
.quote-dark p:nth-of-type(2) {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    font-family: var(--interfont), sans-serif !important;
}


/*-----------------------------
  Headings & Sections
------------------------------*/

/* Scalable H1 font size */
h1 {
    font-size: clamp(2.3rem, 2.5vw, 6.5rem) !important;
}

/* Scroll offset for anchor links */
section {
    scroll-margin-top: 100px;
}

/* Heading with underline effect */
.heading {
    font-size: 18px;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 28px;}

.heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: darkorange;
    margin-top: 6px;
}


/*-----------------------------
  Wrapper + Scrolling Items
------------------------------*/

.wrapper {
    margin-top: 2rem;
    width: 90%;
    max-width: 1536px;
    margin-inline: auto;
    height: 235px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0)
    );
    }

@keyframes scrollLeft {
    to {
        left: -400px;
    }
    }

@keyframes scrollRight {
    to {
        right: -400px;
    }
    }
.itemLeft {
    width: 400px;
    height: 235px;
    position: absolute;
    animation-timing-function: linear;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    left: max(calc(300px * 8), 100%);
    animation-name: scrollLeft;
    }
            
.item1 { animation-delay: calc(60s / 8 * (8 - 1) * -1); }
.item2 { animation-delay: calc(60s / 8 * (8 - 2) * -1); }
.item3 { animation-delay: calc(60s / 8 * (8 - 3) * -1); }
.item4 { animation-delay: calc(60s / 8 * (8 - 4) * -1); }
.item5 { animation-delay: calc(60s / 8 * (8 - 5) * -1); }
.item6 { animation-delay: calc(60s / 8 * (8 - 6) * -1); }
.item7 { animation-delay: calc(60s / 8 * (8 - 7) * -1); }
.item8 { animation-delay: calc(60s / 8 * (8 - 8) * -1); }


/*-----------------------------
  Responsive Spacer
------------------------------*/

@media (min-width: 767px) {
    .spacer {
        padding: 30px 0;
    } 
}

