/* CONTENTS 
* STANDARD
* NAVIGATION
* STYLISED
*/

/* standard  */ 

html {
    scroll-behavior: smooth;
}

main {
    min-height: 100vh;
    color: main;
}

img,
video {
    max-width: 100%;
}

video {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

body {
    color: #000000;
}

main.light {
    background-color: #E1EBEF; 
}

html body a {
    text-decoration: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.fixed {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 999; 
}

/* LAYOUT */

.outer-cont {
    margin: auto;
    padding-left: 80px;
    padding-right: 80px;
    max-width: 100vw;
    position: relative;
}

.cont {
    max-width: 1420px;
    width: 100%;
    margin: auto;
    position: relative;
}

.flexed {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0px 40px;
    flex-wrap: wrap;
}

.flexed.centered {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flexed.sb {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.flexed.col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* GRIDS */
.grid {
    display: grid; 
}

.two-grid {
    grid-template-columns: 1fr 1fr; 
}

.full-w {
    width: 100%;
}

.full-h {
    height: 100vh;
    max-height: 1500px;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.one-half {
    width: calc(50% - 20px);
}

.one-third {
    width: calc(33.333% - 27px);
}

.two-third {
    width: calc(66.66666% - 13px); 
}

.grid {
    display: -ms-grid;
    display: grid;
}

.show-850, .show-690 {
    display: none;
}

.v-space {
    padding-top: 60px; 
    padding-bottom: 60px; 
}

.u-space {
    padding-bottom: 100px; 
}

.top .v-space {
    padding-bottom: 90px;
    padding-top: 180px; 
}

.feature-space {
    padding-top: 120px; 
    padding-bottom: 120px; 
}


/* TYPOGRAPY */
h1, h2.main {
    font-family: Degular;
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 73px;
}

h2 {
    font-family: "Inter Tight";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px;
}

h1, h2 {
    margin:  30px 0px;
}

h2.main {
    margin: 15px 0; 
}

h3 {
    font-family: "Inter Tight";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; 
    letter-spacing: 0.48px;
}

h4 {
    font-family: Inter;
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

button span, 
p {
    font-family: Inter;
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: 22.1px; 
}

p.caption  {
    font-family: Inter;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px; 
    text-transform: uppercase;
    margin: 0; 
}

.top h1 {
    margin-top: 0; 
}

.center-text {
    text-align: center; 
}

/* COLORS */
.full-w.dark {
    background-color: #000000;
    color: #ffffff;
}

.full-w.light {
    background-color: #E1EBEF;
}

.blur {
    background: rgba(254, 254, 254, 0.50);
    backdrop-filter: blur(5.5px);
}


/* NAVIGATION */
img.logo {
    max-width: 150px;
}

header .outer-cont {
    padding-top: 45px;
}

.main-nav ul.flexed {
    margin: 0;
    padding: 0; 
}

.main-nav li {
    list-style: none; 
}

.main-nav li a {
    color: #000000;
}

/* STYLISED COMPONENTS */

.hero-block {
    text-align: center; 
}

.hero-block h2 {
    margin-top: 10px;
}

.border-top {
    border-top: 1px #000000 solid; 
}

.border-bottom {
    border-bottom: 1px #000000 solid; 
}

hr {
    width: 100%; 
    height: 1px;
    background-color: #000000;
    margin: 0 auto; 
}

hr.light {
    background-color: #ffffff;
}

hr.thin {
    width: 300px; 
}

.lightbox {
    opacity: 0; 
    pointer-events: none; 
    transition: all 400ms;
}
/* LIGHTBOX */
.lightbox .outer-cont, 
.lightbox .cont {
    height: 100%;
    pointer-events: none; 
}

.lightbox .outer-cont {
    padding-left: 140px; 
    padding-right: 140px; 
    padding-top: 60px; 
    padding-bottom: 60px; 
}

.lb-exit {
    width: 40px;
    height: 40px;
    background-image: url(/wp-content/uploads/2024/02/outfly-exit.svg);
    top: 40px;
    right: 40px;
    left: auto;
    cursor: pointer;
}

iframe#video {
    height: 100%;
    pointer-events: all; 
    width: 100%; 
}

.lightbox.active {
    opacity: 1; 
    pointer-events: all; 
}

/* FILTERS */

.filter-hold {
    gap: 10px; 
    padding-bottom: 15PX; 
   
}

.filter {
    font-family: Inter;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px; /* 160% */
    text-transform: uppercase;
    padding: 6px 18px; 
    border-radius: 30px;
    border: 1px solid #000000; 
    transition: all 150ms; 
    cursor: pointer; 
}

.filter:hover,
.filter.active {
    color: #ffffff;
    background-color: #000000;
}

/* CTA BLOCK  */
section.cta-full, section.cta-full img, section.cta-full .full-w {
    border-radius: 19px 19px 0 0 ;
}



/* TESTIMONIALS  */
.splide {
    max-width: 100%;
}

.testimonial-card {
    padding: 30px;
    border-radius: 25px;
    background: rgba(254, 254, 254, 0.55);
    backdrop-filter: blur(35px);
}

.testimonial-card .content {
    padding: 60px;
}

.testimonial-card.flexed  {
    align-items: stretch;
    position: relative;
} 

.testimonial-card h2 {
    margin-top: 0px;
    margin-bottom: 3px;
}

.testimonial-card p.caption {
    position: absolute;
    bottom: 20px;
}

.testimonial-card .bg-img {
    width: 100%; 
    height: 100%; 
    border-radius: 12px; 
}

.testimonials .splide__pagination {
    margin-top: 20px;
    pointer-events: all;
    width: 80%;
    left: 10%;
    position: relative;
}
 
.testimonials button.splide__pagination__page {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 1px #000000 solid;
    background-color: transparent;
    margin: 0 12px;
    transition: all 100ms; 
    cursor: pointer;
    bottom: -25px;
    position: relative;
}

.testimonials button.splide__pagination__page.is-active,
.testimonials button.splide__pagination__page:hover {
    background-color: #000000;
}

.testimonials .splide__arrows {
    position: absolute;
    bottom: -40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

button.splide__arrow svg {
    display: none;
}

button.splide__arrow.splide__arrow--prev {
    transform: rotate(180deg);
}

button.splide__arrow {
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2024/02/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer; 
}

/* SORTLIST RATING */
img.sortlist, img.sortlist-stars {
    max-width: 200px;
}

.sortlist h2 {
    margin: 0px 0 14px;
    font-size: 60px;
}

.sortlist .cont.flexed {
    align-items: stretch;
}

.vertical-divider {
    width: 1px;
    background-color: #000000;
}

.title-block {
    padding-bottom: 40px; 
}

/* WORK CARDS */
.work-single {
    color: #000000;
}

.work-single.double {
    grid-column: span 2;
}

.work-single .preview-tile {
    height: 250px; 
    width: 100%; 
    background-color: grey; 
    border-radius: 19px;
    overflow: hidden; 
}

.work-single h2 {
    margin: 15px 0;
    position: relative; 
    transition: all 400ms; 
}

.work-single:hover h2 {
    transform: translateX(60px); 
}

.work-single h2::before {
    position: absolute; 
    height: 100%; 
    width: 60px; 
    content: "";
    background-image: url(/wp-content/uploads/2024/02/outfly-arrow.svg);
    background-position: center;
    background-size: 50%; 
    top: 0; 
    left: -60px; 
    transition: all 300ms; 
    opacity: 0; 
    background-repeat: no-repeat;
}

.work-single:hover h2::before {
    opacity: 1; 
}

.work-single h4 {
    margin: 0;
}

.work-single .flexed.meta {
    flex-wrap: nowrap;
    margin-top: 15px; 
}

.work-single .stats {
    text-align: right;
}

.work-single p.caption {
    white-space: nowrap;
}


/* NAVIGATION  */
header {
    position: fixed;
    width: 100%;
    top: 15px;
    left: 0;
    z-index: 99999;
}

body {
    background-color: #E1EBEF;
}

.main-nav ul.flexed {
    position: relative; 
}

.main-nav ul .capsule {
    border-radius: 25px;
    background: rgba(242, 248, 251, 0.70);
    backdrop-filter: blur(5.5px);
    position: absolute;
    width: calc(100% + 40px);
    height: calc(100% + 20px);
    top: -10px;
    left: -20px;
    z-index: -1;
    transition: all 200ms;
}

.main-nav li {
    display: block;
}


@media screen and (max-width: 999px) {

    .outer-cont {
        padding-left: 60px;
        padding-right: 60px;
    }

    /* TYPOGRAPHY */
    h1, h2.main {
        font-size: 65px;
    }

    h1, h2 {
        margin: 20px 0px;
    }


    h2 {
        font-size: 35px; 
        line-height: 48px; 
    }
}

@media screen and (max-width: 850px) {

    .outer-cont {
        padding-right: 45px;
        padding-left: 45px; 
    }


    .top .v-space {
        padding-bottom: 55px;
    }

    .show-850 {
        display: block;
    }

    .hide-850 {
        display: none;
    }

    section.top .one-half,
    section.top .one-third,
    section.top .two-third {
        width: 100%;
    }

    .two-grid {
        gap: 40px;
    }

    h1, h2 {
        margin: 12px 0px;
    }

    h1, h2.main {
        font-size: 58px;
        line-height: 62px;
    }

    h2 {
        font-size: 31px;
        line-height: 38px;
    }

    h3 {
        font-size: 21px; 
        line-height: 28px; 
    }

    h4 {
        font-size: 18px; 
    }

    .top h1, .top h2 {
        text-align: center; 
    }

    .stats {
        text-align: left;
    }

    p.caption {
        font-size: 14px; 
        line-height: 22px; 
    }

    .btn-cont {
        margin-top: 40px;
    }

    img.sortlist, img.sortlist-stars {
        max-width: 150px;
    }

    .sortlist h2 {
        margin: 0px 0 14px;
        font-size: 45px;
    }

    /* LIGHTBOX */
    .lightbox .outer-cont {
        padding-left: 80px; 
        padding-right: 80px; 
        padding-top: 60px; 
        padding-bottom: 60px; 
    }

    .lb-exit {
        top: 100px; 
    }

}

@media screen and (max-width: 690px) {

    .hide-690 {
        display: none !important;
    }

    .show-690 {
        display: block !important;
    }

    .outer-cont {
        padding: 0 20px;
    }

    .full-w {
        max-width: 100vw; 
    }

    .lb-exit {
        top: 50px;
        right: 20px;
    }

    /* TYPOGRAPHY */
    h1{
        font-family: Degular;
        font-size: 59px;
        font-style: normal;
        font-weight: 500;
        line-height: 56px;
    }

    h2.main {
        font-size: 54px ;
        line-height: 48px; 
    } 

    .one-half,
    .one-third,
    .two-third { 
        width: 100%;
    }

    .top .v-space {
        padding-bottom: 50px;
    }

    .top .cont {
        text-align: center; 
    }

     /* CTA  */
     .cta-full .full-w.bg-img {
        background-image: url(/wp-content/uploads/2024/02/outfly-cta-bg-jpg.webp); 
        padding: 0px 20px; 
     }

     .feature-space {
        padding-top: 50px;
        padding-bottom: 50px;
     }

         /* LIGHTBOX */
    .lightbox .outer-cont {
        padding-left: 20px; 
        padding-right: 20px; 
        padding-top: 60px; 
        padding-bottom: 60px; 
        margin: 0; 
    }

    .lb-exit {
        top: 100px; 
        right: 60px; 
    }

}
