/* Custom properties */
:root {
    --bbzi-blue: #019fe3;
    --bbzi-cyan: #00e4ff;
}

/* Arcade font for the game */
@font-face
{
    font-family: "arcade";
    src: url("../fonts/arcade2.ttf");
}


html {
    font-size: 62.5%;
}
body {
    font-size: 1.6rem;
    box-sizing: border-box;
    font-size: clamp(2.2rem, 1.1vw, 1.5vw)
}
html, body {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'adobe-garamond-pro', serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

/* recaptcha */
.grecaptcha-badge {
    visibility: collapse !important;
}

/* Cooki consent */
.termsfeed-com---palette-dark .cc-nb-okagree, .termsfeed-com---palette-dark .cc-nb-reject {
    background-color: var(--bbzi-blue) !important;
}

/* DEBUG */
#debug {
    position: fixed;
    width: 100%;
    padding: 20px;
    color: #000;
    background: #fff;
    bottom: 0;
    left: 0;
    z-index: 1000;
    font-size: 12px;
    font-family: sans-serif;
}


/* CTAs */
.cta-block {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    margin: 0 0;
}
.cta-block a.cta {
    position: relative;
    padding: 0;
    display: inline-block;
    cursor: default;
    margin: 4vh 0;
}
.cta svg .trigger, .cta svg .triggerText {
    cursor: pointer;
}



/* ------------------- LOGO ------------------- */
.logo {
    position: absolute;
    z-index: 100;
    top: 4.5vh;
    left: 5vw;
}
.logo svg {
    display: block;
    width: 8vw;
    min-width: 100px;
}
.logo svg .st0 {
    fill-rule: evenodd;
    clip-rule: evenodd;
    fill: #fff;
}
.logo svg .st1 {
    fill-rule: evenodd;
    clip-rule: evenodd;
    fill: #02A0E3;
}


/* ------------------- MENU ------------------- */
nav.menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    height: 5vh;
    padding: 4vh 5vw 0 0;
    font-family: "classic-comic", sans-serif;
    font-weight: 500;
    font-style: italic;
    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}
nav.menu.toggled {
    padding: 4vh 11vw 4vh 2vw;
    width: 100%;
    background: #000;
}
nav.menu ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    transform-origin: right center;
    justify-content: flex-end;
}
nav.menu ul li {
    display: inline-block;
}
nav.menu ul li a {
    color: #fff;
    font-size: clamp(1.4rem, 1.5vh, 1.5vh);
    display: inline-block;
    margin: 0 1vw;
}
nav.menu ul li a.ctc {
    margin-right: 0;
    padding: 1.2rem 1.5rem 1rem 1.5rem;
    background-color: var(--bbzi-blue);
    color: #fff;
    font-weight: 600;
    position: relative;
    top: .2rem;
    border-radius: 5px;
}

nav.menu .toggle-menu {
    display: inline-block;
    width: clamp(5rem, 4vw, 6rem);
    position: absolute;
    top: 3vh;
    right: 5vw;
}
nav.menu .toggle-menu.off {
    transform: scale(0);
}
nav.menu .toggle-menu.on {
    transform: scale(1);
}
nav.menu .toggle-menu svg {
    width: 100%;
}
nav.menu .links {
    position: relative;
}
nav.menu .links.off {
    transform: scale(0);
}
nav.menu .links.on {
    transform: scale(1);
}

/* Light mode */
nav.menu.light ul li a {
    color: #fff;
}
nav.menu.light #ctcPhone path, nav.menu.light #ctcText path {
    fill: #fff;
}
nav.menu.light .toggle-menu svg ellipse, nav.menu.light .toggle-menu svg line {
    stroke: #fff;
}


/* Tooltips */
.tooltip {
    position: absolute;
    width: 20vw;
    background: #fff;
    z-index: 2;
    border-radius: 1.5vw;
    padding: 3vh 3vw;
    text-align: center;
}
.tooltip span {
    display: block;
    font-family: "classic-comic", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.5vh;
    color: #000;
}
.tooltip svg {
    position: absolute;
    fill: #fff;
}
footer {
    width: 100%;
    display: flex;
    padding: 10vh 10vw;
    box-sizing: border-box;
    flex-wrap: wrap;
}
footer .linkedin {
    text-align: center;
    width: 100%;
}
footer .linkedin a {
    display: inline-flex;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}
footer .linkedin a svg {
    width: 60%;
}
footer .linkedin a svg .st1 {
    fill: var(--bbzi-blue);
}
footer .linkedin a img.in {
    position: absolute;
    width: 30px;
    top: -10px;
    left: -11px;
}
footer .mentions {
    width: 100%;
    text-align: center;
    font-size: 2rem;
}
footer .mentions .legal {
    font-size: 1.7rem;
}
footer .mentions .legal a {
    color: var(--bbzi-blue);
}


/* Form */
#formWrapper {
    position: fixed;
    height: 100vh;
    border-left: 1vw solid #000;
    width: 50vw;
    background: #161616;
    z-index: 100;
    top: 0;
    right: calc(-50vw - 1vw);
    display: flex;
    flex-wrap: wrap;
    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}
#formWrapper.on {
    right: 0;
}
#formWrapper .close {
    position: absolute;
    top: 3vh;
    right: 3vw;
    height: 5vh;
    width: 5vh;
    background: #000;
    display: flex;
    color: #6a6a6a;
    font-family: "arcade", sans-serif;
    font-weight: 500;
    font-size: 1.3vh;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
#formWrapper .close:hover {
    background: #fff;
    color: #000;
}
.form-header {
    width: 100%;
    height: 20%;
    padding: 0 3vw;
}
.form-header svg {
    height: 40%;
    padding: 5vh 0 0 0;
}
.form-header svg .st0 {
    fill-rule: evenodd;
    clip-rule: evenodd;
    fill: #fff;
}
.form-header svg .st1 {
    fill-rule: evenodd;
    clip-rule: evenodd;
    fill: var(--bbzi-blue);
}
.form-content {
    width: 100%;
    height: 80%;
    padding: 3vw;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}
.form-content form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
}
.form-block {
    width: 100%;
    margin: 0 0 1vw 0;
    position: relative;
    display: flex;
}
.form-block.half {
    width: 50%;
    margin: 0;
    z-index: 1;
}
.form-block .ellipse {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    background: #4e4e4e;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-block .ellipse span {
    font-size: 2vh;
    color: #fff;
}
.form-block label {
    display: none;
}
.form-block input {
    width: 100%;
    background: #1e1e1e;
    color: #fff;
    border: 0;
    outline: none;
    font-size: clamp(1.8rem,2vh,2vh);
    font-weight: 500;
    padding: 1.5vh 1.5vw;
    box-sizing: border-box;
    font-family: inherit;
}
.form-block input:focus {
    background: #303030;
}
.form-block input#telephone {
    padding-left: 3vw;
}
.form-block textarea {
    width: 100%;
    height: 40vh;
    background: #1e1e1e;
    color: #fff;
    border: 0;
    outline: none;
    font-size: clamp(1.8rem,2vh,2vh);
    line-height: 2.5vh;
    font-weight: 500;
    padding: 1.5vh 1.5vw;
    box-sizing: border-box;
    font-family: inherit;
    resize: none;
}
.form-block textarea:focus {
    background: #303030;
}
.form-block #submitProject {
    background: var(--bbzi-blue);
    color: #fff;
    width: auto;
    cursor: pointer;
    font-family: "classic-comic", sans-serif;
    font-weight: 500;
    font-size: 3vh;
    font-style: italic;
    border-radius: 1vh;
    padding: 1rem;
    padding-left: clamp(3rem, 2vw, 2vw);
    padding-right: clamp(3rem, 2vw, 2vw);
    text-align: center;
}
.form-block:last-child {
    margin: 0;
    justify-content: flex-end;
}
#formWrapper .processing {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    left: 0;
    top: 0;
    background: rgba(40,40,40,0.95);
    transform: scale(0);
    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    align-items: center;
    justify-content: center;
    z-index: 4;
}
#formWrapper .processing.on {
    transform: scale(1);
}
#formWrapper .processing .spinner {
    width: 30%;
    transform: scale(0);
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
#formWrapper .processing .spinner.on {
    transform: scale(1);
}
#formWrapper .processing .spinner img {
    width: 100%;
}
#formWrapper .processing .congrats {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
#formWrapper .processing .congrats.on {
    transform: scale(1);
}
#formWrapper .processing .congrats .goodjob {
    width: 100%;
}
#formWrapper .processing .congrats img {
    width: 100%;
}
#formWrapper .processing .congrats span {
    display: block;
    margin: 3vh 0 0 0;
    color: #fff;
    text-align: center;
    font-size: 2vh;
    font-family: "arcade", sans-serif;
}

#infoWrapper {
    position: fixed;
    height: 100vh;
    border-left: 1vw solid #000;
    width: 50vw;
    background: #161616;
    z-index: 100;
    top: 0;
    right: calc(-50vw - 1vw);
    display: flex;
    flex-wrap: wrap;
    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}
#infoWrapper.on {
    right: 0;
}
#infoWrapper .close {
    position: absolute;
    top: 3vh;
    right: 3vw;
    height: 5vh;
    width: 5vh;
    background: #000;
    display: flex;
    color: #6a6a6a;
    font-family: "arcade", sans-serif;
    font-weight: 500;
    font-size: 1.3vh;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
#infoWrapper .close:hover {
    background: #fff;
    color: #000;
}
#infoWrapper .info-content {
    width: 100%;
    box-sizing: border-box;
    padding: 10vh 5vw;
    overflow-y: auto;
    height: 100vh;
}
#infoWrapper .info-content h4 {
    font-family: "classic-comic", sans-serif;
    font-size: 3rem;
    font-weight: normal;
    margin: 0;
}
#infoWrapper .info-content h5 {
    font-size: 2rem;
    margin: 2vh 0;
    font-weight: normal;
}
#infoWrapper .info-content p, #infoWrapper .info-content ul {
    font-size: 1.8rem;
    color: grey;
}
#infoWrapper .info-content ul {
    padding: 0;
    list-style: none;
}
#infoWrapper .info-content p a, #infoWrapper .info-content ul a {
    color: var(--bbzi-blue);
}


/* ##################################  R E S P O N S I V E  ############################################ */
@media (max-width: 992px) {
    #formWrapper, #infoWrapper {
        width: 80vw;
        right: calc(-80vw - 1vw);
    }
    .tooltip {
        width: 30vw;
        padding: 2vh 2vw;
    }
    .tooltip span {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    nav.menu.toggled {
        padding: 3.8vh 15vw 4vh 2vw;
    }
    .form-header {
        height: 16%;
    }
    .form-block .ellipse {
        display: none;
    }
    .form-block {
        flex-wrap: wrap;
    }
    .form-block.half {
        width: 100%;
        margin: inherit;
    }
    .form-block.half:nth-child(2) {
        margin: 0;
    }
    .form-block input#telephone {
        padding: 1.5vh 1.5vw;
        margin: 0;
    }
    .form-block #submitProject {
        width: 100%;
        margin-top: 4vh;
    }
}

@media (max-width: 599px) {
    .cta-block a.cta {
        margin: 3vh 0 8vh 0;
    }
    nav.menu.toggled {
        box-sizing: border-box;
        height: 100vh;
        width: 80vw;
        background: #161616;
        padding: 3.8vh 24vw 4vh 2vw;
    }
    nav.menu ul {
        flex-wrap: wrap;
        transition: none;
        -webkit-transition: none;
    }
    nav.menu .toggle-menu.off {
        transform: scale(1) !important;
    }
    nav.menu ul li {
        display: block;
        width: 100%;
        text-align: right;
        padding: 1rem;
    }
    .tooltip {
        width: 40vw;
    }
    #formWrapper, #infoWrapper {
        width: 93vw;
        right: calc(-93vw - 1vw);
    }
    #infoWrapper .info-content h4 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
}