/* Fonts */

@font-face {
    font-family: Monument;
    src: url('../fonts/PPMonumentExtended-Variable.ttf');
}

/* scrollbars */

/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #404040 #000000;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
    display: none;
}

*::-webkit-scrollbar-track {
    background: #000000;
}

*::-webkit-scrollbar-thumb {
    background-color: #404040;
    border-radius: 8px;
    border: none;
}

/* Layout */

body {
    height: 100%;
    position: relative;
    background-color: #000;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'Monument', Helvetica, Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 2560px;
    padding: 0 2em;
}

.wrapper {
    width: 100%;
    z-index: 1;
}

#about .row {
    width: calc(100% + 1em);
    max-width: 2560px;
}

.row {
    width: calc(100% + 1em);
    max-width: 2560px;
}

.block {
    padding: 2em 0;
}

.pad {
    padding-bottom: 2em;
}

.buffer {
    margin-top: 100px;
}

section {
    margin: 2em 0 0 0;
}

footer {
    padding: 2em 0;
}

.screen {
    width: 100%;
    margin-top: 100px;
    margin-bottom: 2em;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    /* hack video masking */
    overflow: hidden;
    /* render on GPU */
    transform: translateZ(0);
}

.centerScreen {
    align-items: center;
}

/* General */

a {
    color: #fff;
}

h1,
h2,
h3,
h4 {
    font-variation-settings: 'wght'400;
    margin-bottom: 0.25em;
    text-transform: uppercase;
    margin: 0;
}

h1 {
    font-size: 57px;
}

h2 {
    font-size: 37px;
}

h3 {
    font-size: 37px;
}

h4 {
    font-size: 20px;
}

p,
nav {
    font-family: 'Montserrat', sans-serif;
}

p {
    line-height: 23px;
}

.lc {
    text-transform: none;
}

.pageTitle {
    margin-bottom: 1em;
}

.disclaimer {
    font-size: 12px;
}


img {
    width: 100%;
}

.bgVideo {
    background-color: #000;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Header */

header {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 2em;
    width: 100%;
    max-width: 2560px;
    height: 100px;
}

.headerContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    z-index: 100;
}

.headerLogo {
    width: 200px;
}

ul a {
    text-decoration: none;
}

li {
    display: inline-block;
    list-style: none;
    margin-left: 2em;
    height: 100%;
}

li a {
    display: block;
}

/* Hamburger Icon */

.hamburger {
    display: none;
    z-index: 1000;
}

.hamburgerContainer {
    width: 24px;
    height: 24px;
    transition: 0.4s;
    transition-timing-function: cubic-bezier(0.105, 0.055, 0.000, 1.005);
    cursor: pointer;
}

.hamburgerRotate {
    transform: rotate(45deg);
}

.hamburgerStroke {
    background-color: #fff;
    height: 2px;
    transition: 0.4s;
    position: relative;
}

.hamburgerTop {
    top: 0;
}

.hamburgerMiddle {
    top: 9px;
}

.hamburgerBottom {
    top: 18px;
}

.hamburgerTopIsToggled {
    top: 11px;
    opacity: 0;
}

.hamburgerBottomIsToggled {
    top: 7px;
    opacity: 0;
}

.hamburgerCross {
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 0;
    transition: 0.4s;
    opacity: 0;
}

.hamburgerCrossIsToggled {
    display: block;
    height: 100%;
    opacity: 1;
}

/* Buttons */

.cta {
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    display: block;
    /* padding: 1em 3em; */
    margin: 1em;
    width: fit-content;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 2em;
    font-size: 14px;
    padding: 14px 32px 12px 32px;
}

.cta:hover {
    background: #fff;
    color: #000;
}

.button {
    cursor: pointer;
    display: block;
    position: relative;
    width: fit-content;
    box-sizing: border-box;
    text-decoration: none;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 2em;
    font-size: 14px;
    padding: 14px 32px 12px 32px;
    user-select: none;
}

.center {
    margin: 0 auto;
}

.button:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(-45deg, #00ffda, #401588);
}

.button:hover {
    color: #000;
    background: linear-gradient(-45deg, #00ffda, #401588);
}

/* HOME SECTION */

.hero {
    padding: 2em;
}

#about {
    min-height: 400px;
    height: calc(90vh - 64px - 2em);
}

#about video {
    opacity: 0.5;
}

/* ABOUT SECTION */

.imageWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.imageWrapper .slideshow {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    filter: brightness(0.8);
    transition: opacity .5s;
}

.imageWrapper .slideshow+.imageWrapper .slideshow {
    opacity: 0;
}

.aboutMore {
    margin-top: 1em;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    transition: 500ms;
}

.aboutMoreIsExpanded {
    max-height: 3000px;

}

.aboutButton span::before {
    content: 'See more';
}

.aboutButtonIsExpanded span::before {
    content: 'See less';
}

/* TEAM SECTION */

#team p {
    margin-top: 0;
}

.teamMember {
    text-decoration: none;
}

.teamMember h4 {
    margin-top: 1em;
}

.teamTitle {
    margin-top: 0;
}

.teamPhoto img {
    border-radius: 8px;
    filter: brightness(0.8);
    transition: 250ms;
    object-fit: cover;
    height: 400px;
}

.teamPhoto:hover img {
    filter: brightness(0.5);
}

.teamPhoto {
    position: relative;
}

.teamPhoto i {
    background: #000;
    padding: 1em;
    border-radius: 8px 0 8px 0;
    position: absolute;
    bottom: 5px;
    right: 0;
    z-index: 1;
    color: #fff;
    transition: 250ms padding;
}

.teamPhoto:hover i {
    background: linear-gradient(-45deg, #00ffda, #401588);
    color: #000;
    padding: 1em 2em;
}

#teamMember img {
    border-radius: 8px;
}

.teamHeadshot {
    object-fit: cover;
    height: 500px;
    margin-bottom: 1em;
}

/* SERVICES SECTION */

 /* SLIDER */ 


.imageWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.imageWrapper .slideshow {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    filter: brightness(0.8);
    transition: opacity .5s;
}

.imageWrapper .slideshow+.imageWrapper .slideshow {
    opacity: 0;
}

.softwareIcon {
    width: 1.8em;
    border-radius: 0!important;
    margin: 0;
}

.softwareIcons {
    margin-bottom: 0;
}

#services h3 {
    text-transform: none;
}

.service {
    margin-bottom: 4em;
}

/* FOOTER */

.contactBlock {
    display: inline-block;
    margin-right: 80px;
    vertical-align: top;
}

.contactLogo {
    max-width: 200px;
}

.contactSocialIcon {
    font-size: 1.5em;
    padding: 8px 8px 8px 0;
}

.container::after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: url('../img/footerBg1.jpg');
    background-size: 100% 100%;
    background-position: bottom;
    opacity: 0.7;
}

.noFooter::after {
    background: none;
}

/* ERROR PAGES */

.errorBg {
    box-sizing: border-box;
    width: calc(100vw - 4em);
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
    border-radius: 8px;
}

.errorBg p {
    margin-top: 0.5em;
    margin-bottom: 0;
}

/* RESPONSIVE MEDIA QUERIES */

/* col-md | Tablet */
@media only screen and (max-width: 991px) {

    /* General */

    h1 {
        font-size: 39px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    /* Buttons */

    .cta {
        margin-left: 8px;
    }

    /* ABOUT SECTION */

    .imageWrapper {
        height: 400px;
    }

    .serviceText {
        margin-top: -6em;
        z-index: 2;
    }

    .aboutButton {
        margin: 0 auto;
    }

    /* TEAM SECTION */ 

    .teamPhoto img {
        height: 300px;
    }

    /* FOOTER */

    .contactBlock {
        display: block;
        margin-bottom: 2em;
    }

    .contactLogo {
        width: 200px;
    }

    .contactMargin {
        margin-bottom: 1em;
    }

    .container::after {
        height: 700px;
    }
}

/* col-sm | Mobile */
@media only screen and (max-width: 767px) {

    /* Layout */

    .container {
        padding: 0 1em;
    }

    .buffer {
        margin-top: 64px;
    }

    .screen {
        margin-top: 64px;
        margin-bottom: 0;
    }

    /* General */

    h1 {
        font-size: 30px;
    }

    /* Header */

    header {
        padding: 0 1em;
        height: 64px;
    }

    nav {
        display: flex;
        visibility: hidden;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: rgba(0, 0, 0, 0);
        z-index: 500;
        transition: 500ms;
        pointer-events: all;
    }

    .navIsActive {
        visibility: visible;
        transition: 500ms;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.8);
    }

    /* ensure nav legibility in Firefox */
    @supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
        .navIsActive {
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            background-color: rgba(0, 0, 0, 0.3);
        }
    }

    .navIsActive li {
        opacity: 1;
        font-variation-settings: 'wght'500;
    }

    .navIsActiveLi {
        transition: 500ms;
    }

    nav ul {
        padding-left: 0;
        display: flex;
        flex-direction: column;
    }

    nav a {
        text-align: center;
    }

    nav li {
        opacity: 0;
        margin-left: 0;
        text-align: center;
        font-family: 'Monument', Helvetica, Arial, sans-serif;
        font-variation-settings: 'wght'100;
    }

    nav li a {
        padding: 2em 0;
    }

    .headerLogo {
        width: 150px;
    }

    .hamburger {
        display: flex;
    }

    /* HOME SECTION */

    .hero {
        padding: 1em;
    }

    /* ABOUT SECTION */

    .imageWrapper {
        height: 300px;
    }

    .serviceText {
        margin-top: -8em;
    }

    /* FOOTER */

    .container::after {
        height: 500px;
    }
}