:root {
    --color-blue: #1e252f;
    --color-yellow: #f4e048;
    --color-grey: #FAF9F8;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--color-blue);
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
    font-family: "Public Sans", sans-serif;
    overflow-x: hidden !important;
}

ul,
li {
    list-style: disc;
    list-style-position: inside;
}

h1 {
    font-size: 26px;
    font-weight: 500;
}

p {
    font-size: 16px;
    font-weight: 200;
}


/* Utils */
.subheading {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-yellow);
}

/* Layout */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1440px;
}

.notify-bar {
    width: 100%;
    padding: 8px 0;
    background-color: var(--color-blue);
}

.notify-bar a.link {
    font-size: 12px;
    font-weight: 100;
    color: #FFF;
    transition: all 300ms ease-in-out;
}

.notify-bar a.link:hover { color: var(--color-yellow); }

.header {
    width: 100%;
    height: auto;
    background-color: #fff;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.header .ff-logo { max-width: 120px; }

.header .menu-items a {
    font-size: 16px;
    font-weight: 300;
    position: relative;
}

.header .menu-items a:before {
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    background-color: var(--color-yellow);
    transition: all 300ms ease-in-out;
}

.header .menu-items a:hover::before {
    width: 100%;
    left: 0;
    right: 0;
}

.header .menu-items a.active::before {
    width: 100%;
    left: 0;
    right: 0;
}

/* Blocks */
.text-block { padding: 30px 0; }

.text-block h1 {
    font-size: 35px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.text-block p { font-weight: 100; }
.text-block p:not(:last-child) { margin-bottom: 24px; }
.usp-block { padding: 30px 0; }

.usp-block .inner-wrap {
    background-color: var(--color-grey);
    padding: 30px;
}

.usp-block .inner-wrap .usp { flex-basis: 200px; }

.usp-block .inner-wrap .usp img {
    max-width: 80px;
}

.section-block { padding: 30px 0; }

.section-block .block-header h3.subheading {
    margin-bottom: 8px;
}

.section-block .block-header h2 { 
    font-size: 35px; 
    line-height: 1.1;
}

.section-block .block-header p {
    font-size: 20px;
    font-weight: 100;
}

.section-block .block-body { margin-top: 60px; }

.service-cards .card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 24px;
    background-color: var(--color-grey);
}

.service-cards .card .img-wrapper {
    height: 250px;
}

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

.service-cards .card ul,
.service-cards .card img {
    flex: 1;
}

.service-cards .card .video-wrapper {
    height: 250px;
    max-height: 250px;
}

.service-cards .card .video-wrapper .w-css-reset {
    object-fit: cover !important;
}

.service-cards .card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.service-cards .card p,
.service-cards .card ul {
    font-size: 14px;
    font-weight: 100;
    margin-top: 20px;
}

.work-with {
    /* margin-bottom: auto;  */
    margin-bottom: 20px;
}

.work-with h3 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 4px;
}

.work-with p {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 100;
}

.project-slider .project {
    width: 100%;
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.project-slider .project h2 {
    font-size: 35px;
    margin-bottom: 8px;
    flex: 1;
}

.project-slider .project p {
    font-size: clamp(18px, 5vw, 20px);
    font-weight: 100;
    margin-bottom: 15px;
    flex: 1;
}

.project-slider .project .video-wrapper {
    width: 100%;
    height: 250px;
}

.project-slider .project .video-wrapper img {
    object-fit: cover !important;
}

/* Animations */
@keyframes slideDown {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
}


.gif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 22;
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.section-block .swiper-button-next,
.project-slider .swiper-button-next {
    position: relative;
    margin: unset;
    inset: unset;
    width: 35px;
    height: 35px;
    border: 2px solid var(--color-blue);
    border-radius: 50%;
}

.section-block .swiper-button-next::after,
.project-slider .swiper-button-next::after {
    font-size: 16px;
    color: var(--color-blue);
}

.video-banner {
    padding: 30px 0;
}

.video-banner .video-wrapper {
    width: 100%;
    height: 250px;
}

@media screen and (min-width: 600px) {
    .project-slider .project .video-wrapper,
    .video-banner .video-wrapper {
        height: 450px;
    }
}

@media screen and (min-width: 1024px) {
    .project-slider .project .video-wrapper {
        height: 500px;
    }
    .video-banner .video-wrapper {
        height: 650px;
    }
}

.video-banner .video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.header .hamburger {
    width: 30px;
    height: 20px;
}

.header .hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: #000;
    border-radius: 8px;
}

.header .hamburger .bar:not(:last-child) { margin-bottom: auto; }


.mobile-menu {
    position: absolute;
    display: block;
    width: 100%;
    height: 0;
    padding: 20px;
    background-color: var(--color-blue);
    overflow: hidden;
    opacity: 0;
    transition: height 0.5s ease, opacity 0.5s ease;
}

.mobile-menu.active {
    height: 190px;
    opacity: 1;
}


.client-logo {
    width: 100%;
    max-width: 100px;
    /* margin: 0 auto; */
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

/* Media Queries */
@media screen and (min-width: 1280px) {
    .work-with { margin-bottom: auto; }
    .service-cards .card .img-wrapper { height: 350px; }
    .service-cards .card .video-wrapper { 
        height: 350px; 
        max-height: 350px;
    }
}

@media screen and (min-width: 1025px) {
    .gif {
        width: 150px;
        height: 150px;
    }

    .client-logo {
        max-width: 130px;
    }
}

@media screen and (min-width: 641px) {
    .gif {
        width: 180px;
        height: 180px;
    }
}

.video-wrapper .wistia_click_to_play div > div:nth-child(2) {
    position:  relative !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background-color: rgba(30, 37, 47, 0.5) !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.video-wrapper .wistia_click_to_play div > div:nth-child(2)::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 125 80' enable-background='new 0 0 125 80' aria-hidden='true' alt='' style='fill: rgb(255, 255, 255); left: 0px; stroke-width: 0px; top: 0px; width: 100%25; position: absolute;'%3E%3Crect fill-rule='evenodd' clip-rule='evenodd' fill='none' %3E%3C/rect%3E%3Cpolygon fill-rule='evenodd' clip-rule='evenodd' fill='%23FFFFFF' opacity='1' points='53,22 53,58 79,40'%3E%3C/polygon%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70px;

}

.video-wrapper .wistia_click_to_play div > div:nth-child(3) {
    width: 70px !important;
    height: 70px !important;
    display: none !important;
}

div.w-bpb-wrapper {
    left: calc(50% - 35px) !important;
    top: calc(50% - 35px) !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

button.w-big-play-button {
    width: 70px !important;
    height: 70px !important;
}

button.w-big-play-button div {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border-radius: 50% !important;
}

button.w-big-play-button div:first-child {
    background-color: #7a7d8300 !important;

}

button.w-big-play-button svg {
    height: 100% !important;
}