/**
 * Header CSS
 *
 * This file should only include styles for the elements
 * within the header of the website.
 */
/**
 * @section Animations
 */
@keyframes click-circle {
0% {
    transform: scale(0,0);
    opacity: .25;
    }
50% {
    opacity: .3;
    }
100% {
    transform: scale(1,1);
    opacity: 0;
    }
}

/**
 * @section Header
 *
 * General styling for the header of the website. 
 */
#page-header {
    position: fixed;
    padding: clamp(1.5rem,calc(8vw - .5rem),2.5rem);
    width: auto;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    gap: 1.5rem;
    }

/**
 * @section Azexis Logo
 *
 * Styling specifically for the Azexis logo in the header. 
 * In particular we need to define the contrast colours for the logo
 * when on a dark background. We'll assume the fill colour is default 
 * to a light background.
 * 145px x 29px = 9.0625rem x 1.8125rem
 */
#azexis-logo {
    display: inline-flex;
    height: 1.8125rem;
    width: 9.0625rem;
    position: fixed;
    z-index: 3;
    top: clamp(2rem,8vw,3rem);
    left: clamp(1.5rem,calc(8vw - .45rem),2.55rem);
    }
#azexis-logo svg {
    max-width: 100%;
    max-height: 100%;
    }
#page-root:before {
    content: "";
    display: block;
    position: fixed;
    background: red;
    inset: 0;
    width: 100%;
    height: 180px;
    z-index: 2;
    pointer-events: none;
    background: transparent;
    backdrop-filter: blur(20px);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to bottom,black 0%,black 50%,transparent 100%),radial-gradient(circle at 50% 100%,transparent 0%,transparent 35%,black 65%,black 100%);
    mask-image: linear-gradient(to bottom,black 0%,black 50%,transparent 100%),radial-gradient(circle at 50% 100%,transparent 0%,transparent 35%,black 65%,black 100%);
    }

/**
 * @section Top Menu
 * 
 * This should be displayed as a horizontal list of menu items. 
 * Note: this is not visible on smaller devices.
 */
#menu {
    display: flex;
    align-items: center;
    position: relative;
    transition: transform .25s ease-in-out,opacity .25s ease-in-out;
    opacity: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 1.5rem;
    }
#menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    padding: 0 .25rem;
    gap: 1.5rem;
    }
#menu ul li a {
    color: inherit;
    font-weight: 600;
    display: block;
    padding: 0 .625rem .25rem .625rem;
    white-space: nowrap;
    }
#menu ul li a:hover,
#menu ul li a:focus {
    color: var(--brand-default);
    text-decoration: none;
    }

/**
 * When the burger meny is open we want to hide the horizontal menu
 * so that it does not intefere with the burger menu header.
 */
.is-menu-open #menu {
    opacity: 0;
    transform: translateX(-50%);
    pointer-events: none;
    width: 1px;
    overflow: hidden;
    }

/**
 * @section Menu Separator
 * 
 * There should be a separator between the horizontal menu and the
 * the burger menu toggle button in the top right of the screen. 
 */
#menu .separator {
    width: 2px;
    height: 25px;
    background: var(--stroke-default);
    display: block;
    }

/**
 * @section Header Menu Button
 *
 * The contrast colour of the Menu Button is default to dark on a light
 * background. So we define light on a dark background. 
 */
#menu-button {
    cursor: pointer;
    display: inline-flex;
    padding: .625rem;
    width: 2.8125rem;
    height: 2.8125rem;
    position: relative;
    color: var(--text-default);
    }
#menu-button svg path {
    fill: currentColor;
    }

/**
 * @section Body
 * 
 */
#page-body {
    position: relative;
    z-index: 1;
    }
#hubspot-conversations-inline-iframe {
    width: 300px;
    height: 500px;
    border: none;
    }

/**
 * Disable scrolling when the menu is open.
 */
html.is-menu-open {
    overflow: hidden;
    }

/**
 * @section Mobile Menu
 */
#mobile-menu {
    display: block;
    position: fixed;
    height: 100vh;
    height: calc(var(--vh,1vh) * 100);
    width: 320px;
    max-width: 100%;
    background: #fff;
    top: 0;
    right: -320px;
    z-index: 4;
    }
#mobile-menu .azexis-symbol {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    position: absolute;
    top: 1.9375rem;
    left: .5rem;
    }
#mobile-menu .azexis-symbol path {
    fill: var(--brand-default);
    }
#mobile-menu .navigation-container {
    overflow: hidden;
    width: 100%;
    }
#mobile-menu ul.evMenu {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 1.75rem;
    position: relative;
    transition: transform .25s ease-in-out;
    }
#mobile-menu ul.evMenu li {
    padding: 0;
    margin: 0;
    position: static;
    }
#mobile-menu ul.evMenu li a {
    color: inherit;
    font-weight: 700;
    display: block;
    }
#mobile-menu ul.evMenu ul {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    position: absolute;
    list-style: none;
    pointer-events: none;
    display: none;
    }
#mobile-menu .evMenu li.menu-back hr.azx-hr {
    margin-top: .5em;
    }
#mobile-menu .evMenu li.is-selected > ul {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    pointer-events: auto;
    }
#mobile-menu.is-open {
    transform: translateX(0);
    }

/**
 * @section Azexis Symbol
 */
#mobile-menu .azexis-symbol {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    position: absolute;
    top: calc(8vw - 1.0625rem);
    left: .5rem;
    }

/**
 * 
 */
@media only screen and (min-width: 37.5rem) {
#mobile-menu .azexis-symbol {
    top: 1.9375rem;
    left: .5rem;
    }
}

/**
 * @section Menu Content & Scrollable Area
 * 
 */
#mobile-menu .menu-content {
    padding: 0;
    padding-top: calc(8vw + 3rem);
    height: 100%;
    }
#mobile-menu .scrollable {
    padding: 0 8vw 8vw 1rem;
    }
#mobile-menu .scrollable > .column {
    min-height: 100%;
    }
#mobile-menu .scrollable > .column > .ev-block {
    align-items: center;
    display: flex;
    width: 100%;
    flex: initial;
    }
#mobile-menu .scrollable > .column > .ev-block.navigation-block {
    flex: 1;
    padding: 1rem 0 2rem 0;
    }
#mobile-menu.is-open .menu-content {
    transform: translateX(-320px);
    }
@media only screen and (min-width: 37.5rem) {
#mobile-menu .menu-content {
    padding: 6rem 0 0;
    }
#mobile-menu .scrollable {
    padding: 0 3rem 3rem 1rem;
    }
}

/**
 * @section Navigation Container
 */
#mobile-menu .navigation-container {
    opacity: 0;
    transform: translateX(1rem);
    transition: transform .25s ease-in-out,opacity .25s ease-in-out;
    }
#mobile-menu .navigation-container li a {
    text-decoration: none;
    opacity: 1;
    transition: opacity .25s ease-in-out,color .25s ease-in-out;
    }
#mobile-menu .navigation-container li a:hover,
#mobile-menu .navigation-container li a:focus {
    color: /*style.link_color_focus(*/#604fe0/*)*/;
    }
#mobile-menu .navigation-container li.fade > a {
    opacity: .4;
    }
#mobile-menu.is-open .navigation-container {
    transform: translateX(0rem);
    opacity: 1;
    }

/**
 * @section Menu Buttons
 */
#mobile-menu .contact-buttons {
    flex-wrap: nowrap;
    width: 100%;
    opacity: 0;
    transform: translateY(-1rem);
    transition: transform .25s ease-in-out .2s,opacity .25s ease-in-out .2s;
    }
#mobile-menu.is-open .contact-buttons {
    transform: translateY(0);
    opacity: 1;
    }

/**
 * @section Social
 */
#mobile-menu .social-container {
    width: 100%;
    opacity: 0;
    transform: translateY(1rem);
    transition: transform .25s ease-in-out .4s,opacity .25s ease-in-out .4s;
    }
#mobile-menu.is-open .social-container {
    transform: translateY(0);
    opacity: 1;
    }
.social-header {
    width: 100%;
    border-bottom: 1px solid /*style.color_dark(*/#0c0a19/*)*/;
    display: flex;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    }
.social-header > .title,
.social-header > .bar {
    position: relative;
    }
.social-header > .title:after,
.social-header > .title:before,
.social-header > .bar:after,
.social-header > .bar:before {
    content: '';
    height: 4px;
    background: /*style.color_dark(*/#0c0a19/*)*/;
    display: block;
    position: absolute;
    bottom: -1px;
    }
.social-header > .title:before,
.social-header > .bar:before {
    transform: skew(-30deg);
    width: 20px;
    }
.social-header > .title:after,
.social-header > .bar:after {
    width: calc(100% - 10px);
    }
.social-header > .title {
    display: block;
    text-transform: uppercase;
    padding-right: .5rem;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    }
.social-header > .title:after,
.social-header > .title:before {
    bottom: -4px;
    }
.social-header > .title:before {
    right: 1px;
    }
.social-header > .bar {
    display: block;
    height: 4px;
    width: 100%;
    }
.social-header > .bar:after {
    right: 0;
    }

/**
 * @section Mobile Menu Backdrop
 *
 * The backdrop of the menu is animated by JavaScript. We transform 
 * rotate using JavaScript and rely on the CSS transition statements
 * below to use native CSS for animations instead of JavaScript.
 *
 * @see ~/theme/layouts/js/burger-menu.js
 */
#mobile-menu .backdrop {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 106%;
    width: 100%;
    background: #fff;
    transform-origin: 0 100%;
    transform: rotate(0);
    transition: transform .25s ease-in-out;
    }
#mobile-menu .backdrop .backdrop-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 116%;
    width: 500%;
    background: #fff;
    transform-origin: 0 0;
    transform: rotate(0);
    transition: transform .25s ease-in-out;
    }

/**
 * @section Mobile Menu Overlay
 *
 * The menu overlay covers the page, but is layered behind the menu itself. 
 * This darkens the page, blurs content and provides a clickable area to
 * close the menu using JavaScript click events.
 */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    backdrop-filter: blur(2px);
    background: #0c0e17d1;
    opacity: 0;
    transition: all .25s ease-in-out;
    pointer-events: none;
    mix-blend-mode: multiply;
    }
#mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    }
.chat-button polygon {
    fill: #fff;
    }
