/*!
Theme Name: Endtropy
Theme URI: http://underscores.me/
Author: Severo Coutinho
Author URI: https://pirenko.com
Description: Endtropy
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: endtropy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Endtropy is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
    outline: none !important;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1em;
}

address {
    margin: 0 0 1em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #4169e1;
}

a:visited {
    color: #800080;
}

a:hover,
a:focus,
a:active {
    color: #191970;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


/*--------------------------------------------------------------
# Endtropy
--------------------------------------------------------------*/
:root {
    --site-bg-color: #000000;
    --site-alt-bg-color: #1f1f1f;
    --site-light-gray: #D0CFCF;
    --site-medium-gray: #8A8A89;
    --site-text-color: #F8F8F8;
    --site-highlight-text-color: #333333;
    --site-active-color: #EE210C;
    --mobile-padding: 16px;
}


/*--------------------------------------------------------------
# CSS classes
--------------------------------------------------------------*/
.text_medium_gray {
    color: var(--site-medium-gray);
}

.end_highlight_text {
    color: var(--site-highlight-text-color);
}

.end_alt_bg_color {
    background-color: var(--site-alt-bg-color);
}

.end_maxw_900 {
    max-width: 900px;
}

.end_maxw_740 {
    max-width: 740px;
}

.end_maxw_600 {
    max-width: 600px;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
    font-size: 1vw;
    background-color: var(--site-bg-color)
}

body {
    font-family: "Outfit", serif;
    background-color: var(--site-bg-color);
    font-weight: 200;
    font-size: 18px;
    color: var(--site-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", serif;
    font-weight: 600;
    font-style: normal;
    color: #FFFFFF;
}

.end_huge_heading {
    font-size: 9.4rem;
    overflow: hidden;
}

p {
    margin-top: 0px;
}

a {
    color: var(--site-active-color);
}

.clearfix {
    zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table !important;
    content: "" !important;
}

.clearfix:after {
    clear: both !important;
}


/*--------------------------------------------------------------
# Lottie
--------------------------------------------------------------*/
.end_lottie_back {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    opacity: 0.9;
    width: 100%;
}

#end_how_animation {
    top: 62vh;
    transform: translateY(-50%);
}

#end_products_animation {
    z-index: 99;
    top: 0px;
}

#end_services_animation {
    z-index: 99;
    top: 0px;
    opacity: 1;
}

#end_services_animation svg {
    opacity: 0.9;
}

#end_services_animation:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28vh;
    background: #202020;
    background: linear-gradient(180deg,rgba(32, 32, 32, 1) 0%, rgba(32, 32, 32, 1) 74%, rgba(32, 32, 32, 0) 100%);
}

#end_footer_animation {
    bottom: 0px;
}

#end_team_animation {
    z-index: 0;
}

.end_service_text ul {
    margin: 0px;
    padding-left: 14px;
}


/*--------------------------------------------------------------
# Mouse effect
--------------------------------------------------------------*/
#end_mouse {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}


/*--------------------------------------------------------------
# Fixed elements
--------------------------------------------------------------*/
#end_skip_intro {
    position: fixed;
    top: 2vw;
    right: 2vw;
    z-index: 999;
    opacity: 1;
}
#end_skip_intro a {
    transition-property: all;
    transition-duration:  1s;
    transition-timing-function: ease-in-out, ease-in-out, ease-in-out;
    color: var(--site-text-color);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    opacity: 1;
    display: block;
    filter: blur(0px);
}

.end_hide_video #end_skip_intro a {
    opacity: 0;
    pointer-events: none;
    filter: blur(20px);
}

#close_member_info:hover {
    color: var(--site-active-color);
}

#end_top_right {
    position: fixed;
    top: 2vw;
    right: 2vw;
    z-index: 999;
    pointer-events: none;
    opacity: 1;
}

#end_top_right:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 25px;
    background-color: var(--site-active-color);
}

#end_top_right:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 4px;
    background-color: var(--site-active-color);
}

#end_footer_left {
    position: fixed;
    bottom: 2vw;
    left: 2vw;
    z-index: 999;
    pointer-events: none;
    opacity: 1;
}

#end_footer_left:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 25px;
    background-color: var(--site-active-color);
}

#end_footer_left:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 4px;
    background-color: var(--site-active-color);
}

#end_footer_right {
    position: fixed;
    bottom: 2vw;
    right: 2vw;
    z-index: 999;
    pointer-events: none;
    opacity: 1;
    line-height: 0.8em;
}

body:not(.home) #primary {
    padding-bottom: 100px !important;
}

body:not(.home) #colophon,
body:not(.home) #pre_footer {
    display: none !important;
}

/*#end_footer_right:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 4px;
    height: 25px;
    background-color: var(--site-active-color);
}

#end_footer_right:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 4px;
    background-color: var(--site-active-color);
}*/

#page {
    position: relative;
    z-index: 2;
}

#smooth-content {
    will-change: transform;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#masthead {
    position: fixed;
    top: 2vw;
    left: 2vw;
    z-index: 999;
    pointer-events: none;
    height: 45px;
    transition: opacity 0.2s;
}

#primary {
    background-color: #000000;
}

.end_activate_logo #masthead {
    pointer-events: auto;
}

#masthead #site-navigation a {
    color: var(--site-light-gray);
    display: flex;
    overflow: hidden;
}

.site-branding {
    color: var(--site-active-color);
    margin-bottom: 26px;
    font-size: 28px;
    font-weight: 400;
}

#masthead .site-branding a {
    color: var(--site-active-color);
    text-decoration: none;
    position: relative;
    line-height: 1em;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 50px;
}

#masthead .site-branding a span {
    position: relative;
    top: 7px;
}

#masthead .site-branding a svg {
    width: 80px;
    margin: -14px -19px -23px;
}

#site-navigation {
    transition: all 0.3s ease;
    pointer-events: auto;
    transform: translateX(calc(-110% - 2vw));
}

.end_activate_logo #site-navigation {
    transform: translateX(0);
}

.end_hide_nav #site-navigation {
    transform: translateX(calc(-110% - 2vw));
}

html body.end_lock_menu #site-navigation {
    transform: translateX(calc(-110% - 2vw)) !important;
}

.end_logo_hover #masthead,
.end_menu_hover #masthead {
    opacity: 1 !important;
}

.end_logo_hover #site-navigation,
.end_menu_hover #site-navigation {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

#site-navigation .end_text_anim_wrapper {
    position: relative;
}

#primary-menu a {
    font-size: 18px;
    letter-spacing: 0.3px;
}

#primary-menu a span {
    line-height: 1;
}

#primary-menu a span.end_indicator {
    font-size: 10px;
    color: var(--site-active-color);
    padding-right: 8px;
    position: relative;
    top: 3px;
    font-weight: 500;
    letter-spacing: 1px;
}

#end_video_progress_bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: var(--site-active-color);
    z-index: 999;
    transition: all 0.4s;
    opacity: 1;
}

.end_hide_video #end_video_progress_bar {
    opacity: 0;
}

.end_mid_video #masthead {
    visibility: visible !important;
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
#home_header_alt {
    height: 100dvh;
    position: absolute;
    background-color: #000000;
}

.endt-section-title {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    justify-content: flex-start;
    align-items: center;
}

.endt-section-title h2 {
    padding-top: 10vh;
}

.gallery-box {
    float: left;
}

.video_scrub {
    height: 100%;
    max-height: 900px;
}

#end_video {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.end_show_header_logo #end_video {
    opacity: 1 !important;
}

#end_video>div {
    width: 70%;
    display: flex;
    max-height: 80vh;
}

#video_wrapper {
    width: 100vw;
    height: calc(100dvh - 80px);
    object-fit: cover;
    position: fixed;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.end_hide_video #video_wrapper {
    opacity: 0;
    z-index: -111;
    pointer-events: none;
}

#end_mouse_help {
    height: 50px;
    position: fixed;
    z-index: 111111;
    bottom: 40px;
    left: 50%;
    margin-left: -20px;
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

#end_enter_text {
    position: fixed;
    bottom: 40px;
    z-index: 14;
    color: var(--site-active-color);
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 22px;
}

.end_mid_video #end_enter_text {
    pointer-events: none;
}

.end_hide_video #end_mouse_help {
    opacity: 1;
}

.end_hide_mouse #end_mouse_help {
    opacity: 0;
}

@-webkit-keyframes mousescroll {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(60px);
    }
}

@keyframes mousescroll {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(60px);
    }
}

#end_mouse_help svg #wheel {
    -webkit-animation: mousescroll ease 2s infinite;
    animation: mousescroll ease 2s infinite;
}


/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
#about_us h2 {
    margin-bottom: 0px;
}

#about_us::before {
    /*content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: .12; 
    z-index: -1;
    background-image: url(./images/red-waves.svg);
    background-size: cover;
    background-position: center center;*/
}

.end_large_description {
    font-size: 22px;
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: 0.3s;
}

.end_show_text .end_large_description {
    opacity: 1;
}

.end_section_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.end_section_background svg {
    opacity: 0.1;
    position: absolute;
    bottom: 0px;
}

.cls-1,
.cls-10,
.cls-100,
.cls-101,
.cls-102,
.cls-103,
.cls-104,
.cls-105,
.cls-106,
.cls-107,
.cls-108,
.cls-109,
.cls-11,
.cls-110,
.cls-111,
.cls-112,
.cls-113,
.cls-114,
.cls-115,
.cls-116,
.cls-117,
.cls-118,
.cls-119,
.cls-12,
.cls-120,
.cls-121,
.cls-122,
.cls-123,
.cls-124,
.cls-125,
.cls-126,
.cls-127,
.cls-128,
.cls-129,
.cls-13,
.cls-130,
.cls-131,
.cls-132,
.cls-133,
.cls-134,
.cls-135,
.cls-136,
.cls-137,
.cls-138,
.cls-139,
.cls-14,
.cls-140,
.cls-141,
.cls-142,
.cls-143,
.cls-144,
.cls-145,
.cls-146,
.cls-147,
.cls-148,
.cls-149,
.cls-15,
.cls-150,
.cls-151,
.cls-152,
.cls-153,
.cls-16,
.cls-17,
.cls-18,
.cls-19,
.cls-2,
.cls-20,
.cls-21,
.cls-22,
.cls-23,
.cls-24,
.cls-25,
.cls-26,
.cls-27,
.cls-28,
.cls-29,
.cls-3,
.cls-30,
.cls-31,
.cls-32,
.cls-33,
.cls-34,
.cls-35,
.cls-36,
.cls-37,
.cls-38,
.cls-39,
.cls-4,
.cls-40,
.cls-41,
.cls-42,
.cls-43,
.cls-44,
.cls-45,
.cls-46,
.cls-47,
.cls-48,
.cls-49,
.cls-5,
.cls-50,
.cls-51,
.cls-52,
.cls-53,
.cls-54,
.cls-55,
.cls-56,
.cls-57,
.cls-58,
.cls-59,
.cls-6,
.cls-60,
.cls-61,
.cls-62,
.cls-63,
.cls-64,
.cls-65,
.cls-66,
.cls-67,
.cls-68,
.cls-69,
.cls-7,
.cls-70,
.cls-71,
.cls-72,
.cls-73,
.cls-74,
.cls-75,
.cls-76,
.cls-77,
.cls-78,
.cls-79,
.cls-8,
.cls-80,
.cls-81,
.cls-82,
.cls-83,
.cls-84,
.cls-85,
.cls-86,
.cls-87,
.cls-88,
.cls-89,
.cls-9,
.cls-90,
.cls-91,
.cls-92,
.cls-93,
.cls-94,
.cls-95,
.cls-96,
.cls-97,
.cls-98,
.cls-99 {
    stroke: var(--site-active-color) !important;
}

/*--------------------------------------------------------------
# How We Work
--------------------------------------------------------------*/
#how_we_work_before {
    height: 1000px;
    width: 100%;
    margin-top: -40vh;
}

#how_we_work h2 {
    margin-bottom: 0px;
}

#work_steps_container {
    height: 100%;
    position: relative;
    align-self: flex-start;
}

.end_work_steps_wrapper {
    display: flex;
    padding-left: 100vw;
    gap: 40px;
}

.end_work_step {
    width: 25vw;
    padding-top: 14vh;
    padding-top: 20vh;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background-color: #000000;
}

.end_work_step.end_active .end_work_step_icon {
    opacity: 1;
}

.end_work_step_icon {
    height: 50vh;
    height: 28vh;
    max-height: calc(100dvh - 28rem);
    width: 100%;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(80px);
    transition: all 0.5s ease;
    border-radius: 18px;
    border: 6px solid #4f0000;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.end_work_step.end_active .end_work_step_icon {
    transform: translateY(0px);
}

.end_work_step h3 {
    margin: 0px;
    font-size: 1.6vw;
    color: #FFFFFF;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 14px;
    line-height: 1.1em;
}

.end_work_step_content_wrapper {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.end_work_step.end_active .end_work_step_content_wrapper {
    transform: translateY(0%);
    opacity: 1;
}

.end_work_step h3 span.end_colored_number {
    color: var(--site-active-color);
    padding-right: 7px;
    font-size: 2.6vw;
    line-height: 1em;
}

#how_we_work_path {
    top: 30vh;
}


/*--------------------------------------------------------------
# Optimization Methods
--------------------------------------------------------------*/
#end_methods .end_huge_heading {
    padding-top: 0px;
    line-height: 1em;
    text-align: center;
    font-size: 6.4rem;
    margin: 0.5em 0px;
}

#end_methods_before {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

#end_methods_inner {
    position: absolute;
    width: 100%;
    height: 100dvh;
    pointer-events: none;
}

#end_methods{
    background-color: var(--site-alt-bg-color);
}
#end_methods_container {
    padding-bottom: 30vh;
    z-index: 1;
    position: relative;
    padding-top: 10vh;
    padding-left: 60px;
    padding-right: 60px;
    
}

#end_testimonial_1:after {
    content: "";
    position: absolute;
    top: -20vh;
    left: 0;
    width: 100%;
    height: 20vh;
    background-color: var(--site-alt-bg-color);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

#end_methods_container_inner {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

#end_methods_container_inner .end_om_title h3 {
    font-size: 1.6rem;
    line-height: 1.6rem;
    margin: 0px 0px 12px !important;
}

.end_om_text {
    font-size: 16px;
}

#om_2 {
    margin-top: 10vh;
    position: relative;
}

#om_3 {
    margin-top: 20vh;
    position: relative;
}

#om_4 {
    margin-top: 30vh;
    position: relative;
}

.end_om_content {
    text-align: left;
}

.end_om_wrapper {
    margin: 0px auto 6vh; 
    padding-bottom: 2vh;
    width: 25%;
}

.end_om_title h3 {
    color: var(--site-active-color);
    font-size: 2.4rem;
    line-height: 2.4rem;
    margin: 0px !important;
    transform: translateY(-20%);
}

.end_om_divider {
    width: 100%;
    height: 20vh;
    margin-top: 15vh;
}

.end_om_text p {
    margin-bottom: 0px;
}

/*--------------------------------------------------------------
# Testimonial Divider
--------------------------------------------------------------*/
.end_testimonial_divider {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 6vh 0px;
    background-position: center;
}

.end_testimonial_divider .end_medium_heading {
    opacity: 0;
    transform: translateX(260px);
    text-align: center;
    margin-bottom: 0px;
    color: #FFFFFF;
    font-size: 40px;
}

.end_testimonial_divider .end_large_description {
    opacity: 0;
    transform: translateX(-260px);
    transition: all 0s;
    transition-delay: 0s;
    text-align: center;
    color: var(--site-light-gray);
}

#end_testimonial_3,
#end_testimonial_2,
#end_testimonial_1,
#end_testimonial_0 {
    margin-top: 0px;
}

#end_testimonial_3 {
    margin-bottom: 0px;
}

#end_testimonial_3:before,
#end_testimonial_2:before,
#end_testimonial_1:before,
#end_testimonial_0:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

#end_testimonial_2:before {
    opacity: 0.45;
}


/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/
#our_products_container {
    display: flex;
    justify-content: center;
    gap: 12vh;
    padding-top: 100px;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s ease;
    padding-top: 70vh;
    padding-right: 8vw;
}

.end_show_text #our_products_container {
    opacity: 1;
}

#our_products_inner {
    display: grid;
    flex-direction: row;
    grid-template-columns: 1fr 1fr;
}

#our_products {
    min-height: 100dvh;
    padding-bottom: 40vh;
    position: relative;
}

#our_products_title {
    padding-top: 40vh;
    padding-left: 8vw;
}

#our_products_title .end_medium_heading {
    color: #FFFFFF;
    font-size: 6rem;
    margin: 0px;
}

.end_product {
    opacity: 0.5;
    transition: all 0.3s ease;
    transform: translate(0%, 0%);
}

.end_product.end_active {
    opacity: 1;
}

.end_product h3 {
    transition: all 0.3s ease;
    margin: 0px;
    font-size: 2.4rem;
    line-height: 2.4rem;
}

.end_product.end_active h3 {
    color: var(--site-active-color);
}

.end_product_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.end_product_title span {
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.end_product.end_active .end_product_title span {
    color: #FFFFFF;
}

.end_product_text p:last-child {
    margin-bottom: 0px;
}

.end_product_title_inner {
    display: flex;
    gap: 12px;
    align-items: center;
}

.end_product_image {
    line-height: 0px;
}

.end_product_image svg {
    fill: #FFFFFF;
    max-width: 28px;
    max-height: 28px;
    transition: all 0.3s ease;
}

.end_product.end_active .end_product_image svg {
    fill: var(--site-active-color);
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
#our_services_container {
    display: flex;
    justify-content: center;
    gap: 12vh;
    padding-top: 100px;
    flex-direction: column;
    padding-top: 70vh;
    padding-left: 8vw;
    opacity: 0;
    transition: all 0.3s ease;
}

.end_show_text #our_services_container {
    opacity: 1;
}

#our_services_inner {
    display: grid;
    flex-direction: row;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 95;
}

#our_services {
    min-height: 100dvh;
    padding-bottom: 20vh;
    position: relative;
}

#our_services_title {
    padding-top: 40vh;
    padding-right: 8vw;
    text-align: right;
}

#our_services_title .end_medium_heading {
    color: #FFFFFF;
    font-size: 6rem;
    margin: 0px;
}

.end_service {
    opacity: 0.5;
    transition: all 0.3s ease;
    transform: translate(0%, 0%);
}

.end_service.end_active {
    opacity: 1;
}

.end_service h3 {
    transition: all 0.3s ease;
    margin: 0px;
    font-size: 2.4rem;
    line-height: 2.4rem;
}

.end_service.end_active h3 {
    color: var(--site-active-color);
}

.end_service_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.end_service_title span {
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.end_service.end_active .end_service_title span {
    color: #FFFFFF;
}

.end_service_text p:last-child {
    margin-bottom: 0px;
}

.end_service_title_inner {
    display: flex;
    gap: 12px;
}

.end_service_image {
    line-height: 0px;
}

.end_service_image svg {
    fill: #FFFFFF;
    max-width: 28px;
    max-height: 28px;
    transition: all 0.3s ease;
    position: relative;
    top: 4px;
}

.end_service.end_active .end_service_image svg {
    fill: var(--site-active-color);
}


/*--------------------------------------------------------------
# Case Studies
--------------------------------------------------------------*/
#case_studies {
    background-color: var(--site-bg-color);
    position: relative;
}

#case_studies .endt-section-title {
    height: auto;
}

#case_studies_container {
    display: flex;
    gap: 0vh;
    flex-direction: column;
    padding: 0vw 8vw 8vh;
}

#case_studies .end_huge_heading {
    padding-top: 0px;
    overflow: visible;
    line-height: 1em;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    font-size: 7.4rem;
}

.end_case_study {
    text-align: center;
}

.end_case_study h3 {
    color: var(--site-active-color);
    font-size: 26px;
    margin-top: 0px;
    margin-bottom: 4px;
}

.end_case_study {
    color: #ffffff;
}

.end_case_study_label {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.end_case_study_text {
    max-width: 800px;
    margin: 0 auto;
}

.end_case_study_text p {
    margin-bottom: 0px;
}


/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
#end_team {
    height: 100dvh;
    position: relative;
}

#end_team_title {
    width: 100%;
    text-align: center;
    padding-top: 10vh;
}

#end_team_members_wrapper {
    display: flex;
    position: absolute;
    width: 100%;
    transform: translateY(90%);
    top: 0px;
}

#end_team_members_wrapper>div {
    width: 50%;
}

.end_team_member_photo {
    transform: translateX(120%) rotate(15deg);
    height: 70vh;
    background-size: cover;
    background-position: top center;
}

#end_team_member_left .end_team_member_photo {
    transform: translateX(-120%) rotate(-15deg);
}

.end_team_member_name,
.team_member_text {
    opacity: 0;
}

.end_team_member_info {
    padding: 4vw;
}

.end_team_member_name {
    margin-bottom: 16px;
    margin-top: -10px;
}

.end_team_member_name span {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.end_team_member_name h3 {
    margin: 0px 0px -6px;
    color: var(--site-active-color);
    font-size: 1.7rem;
}

.team_member_text a:hover {
    color: var(--site-active-color);
}

.team_member_text a {
    color: #FFFFFF;
}

.team_member_text ul {
    margin: -10px 0px 0px -20px;
}

.team_member_text ul li {
    margin-bottom: 10px;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#pre_footer {
    height: 100dvh;
    background-color: transparent;
}

footer {
    position: fixed;
    height: 100dvh;
    width: 100%;
    background-color: #000000;
    bottom: 0px;
    z-index: -1;
}

body.end_footer_visible #smooth-wrapper {
    pointer-events: none;
}

#end_footer_inner {
    display: flex;
    padding: 18vh 4vw 4vw;
    flex-direction: column;
    height: 100%;
}

#end_footer_top_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#end_footer_bottom_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
}

footer .end_large_description {
    opacity: 1;
}

#end_footer_social a:hover,
ul.end_footer_menu a:hover,
.end_footer_link a:hover {
    text-decoration: underline;
}

#end_footer_social a,
ul.end_footer_menu a,
.end_footer_link a {
    color: var(--site-text-color);
    text-decoration: none;
}

.end_footer_link {
    font-size: 16px;
}

#end_footer_contact_info {
    display: flex;
    gap: 0px;
    flex-direction: column;
    padding-top: 6px;
}

.end_footer_row_mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#end_footer_social,
#end_footer_address {
    padding-top: 30px;
}

#end_footer_address p {
    margin-bottom: 0px;
}

ul.end_footer_menu {
    display: flex;
    margin: 0px;
    list-style: none;
    gap: 4px;
    flex-direction: column;
    font-size: 12px;
    padding: 0px;
    text-transform: uppercase;
}

#end_footer_menus {
    display: flex;
    gap: 80px;
    align-items: flex-end;
}

#end_footer_copyright {
    display: flex;
    align-items: flex-end;
}

#end_footer_copyright p {
    margin-bottom: 0px;
    font-size: 12px;
}

#end_footer_copyright_text {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

footer .wpforms-container .wpforms-field.wpforms-one-half {
    margin-left: 0px;
}

#wpforms-163-field_1-container {
    padding-right: 20px;
}

#wpforms-163-field_2-container {
    padding-left: 20px;
}

footer .wpforms-container .wpforms-field.wpforms-one-half input[type="text"],
footer .wpforms-container .wpforms-field.wpforms-one-half input[type="email"] {
    width: 100%;
    background-color: #000000;
    border-width: 0px !important;
    border-bottom: 1px solid #333333 !important;
    max-width: none;
    border-radius: 0px;
    padding-left: 0px;
    outline: none !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
}

footer .wpforms-container textarea::placeholder,
footer .wpforms-container input::placeholder {
    color: #6b6b6b !important;
}

footer .wpforms-container textarea.wpforms-field-medium {
    background-color: #000000;
    border-width: 0px !important;
    border-bottom: 1px solid #333333 !important;
    border-radius: 0px;
    padding: 0px !important;
    outline: none !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
}

footer .wpforms-container .wpforms-field.wpforms-one-half input[type="text"]:focus,
footer .wpforms-container .wpforms-field.wpforms-one-half input[type="email"]:focus,
footer .wpforms-container textarea.wpforms-field-medium:focus {
    border-bottom: 1px solid var(--site-active-color) !important;
}

footer div.wpforms-container-full button[type=submit] {
    background-color: #232323 !important;
    border-radius: 0px;
}

footer div.wpforms-container-full button[type=submit]:hover {
    background-color: var(--site-active-color) !important;
}

footer div.wpforms-container-full button[type=submit] {
    opacity: 1 !important;
    font-weight: 300;
}


/*--------------------------------------------------------------
# SVG animated backgrounds
--------------------------------------------------------------*/
.end_svg_animation {
    position: absolute;
    width: 110%;
    pointer-events: none;
}

#template,
#path {
    fill: none;
}

#path_how {
    background-color: var(--site-active-color);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    height: 25px;
    margin-top: 12px;
    opacity: 0.9;
}

#path_alt {
    background-color: var(--site-active-color);
    width: 100%;
    transform: scaleX(0);
    transform-origin: right;
    height: 25px;
    margin-top: -34px;
    opacity: 0.9;
}

#template {
    stroke-width: 5px;
    stroke: rgba(0, 0, 0, 0);
}

#path {
    stroke: var(--site-active-color);
    stroke-width: 5px;
    opacity: 0.8;
}

#about_us .end_svg_animation {
    top: 76vh;
}


/*--------------------------------------------------------------
# Popup
--------------------------------------------------------------*/
#toggle_member_info {
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: underline;
}

#toggle_member_info:hover {
    color: var(--site-active-color);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #000000;
    /* Sea green for good contrast */
    display: flex;
    padding: 3em 1em;
    opacity: 0;
    pointer-events: none;
    z-index: 222222;
}

.overlay-content h4 {
    text-align: center;
    color: var(--site-active-color);
    margin: 0px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8em;
}

.overlay-content h3 {
    text-align: center;
    margin-top: 0px;
}

.overlay-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close_member_info {
    position: absolute;
    top: 2vw;
    right: 2vw;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--site-text-color);
    font-size: 13px;
    font-weight: 600;
}

#close_member_info:hover {
    color: var(--site-active-color);
}

.overlay-text {
    max-width: 80%;
}

.overlay-text ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.overlay-text ul li {
    margin-bottom: 18px;
}

.overlay-text ul li:last-child {
    margin-bottom: 0px;
}

.overlay-text a {
    color: var(--site-text-color);
    transition: all 0.3s;
}

.overlay-text a:hover {
    color: var(--site-active-color);
}


/*--------------------------------------------------------------
# Default Page Template
--------------------------------------------------------------*/
.page-template-default #primary {
    max-width: 700px;
    padding: 0px 20px;
    margin: 40px auto;
}

.page-template-default #primary b,
.page-template-default #primary strong {
    font-weight: 400;
}

.page-template-default #primary ol,
.page-template-default #primary ul {
    margin-left: 0px;
}

.page-template-default #masthead {
    pointer-events: auto;
    position: relative;
}


/*--------------------------------------------------------------
# Mobile Mode
--------------------------------------------------------------*/
#end-close-menu,
#end-menu-toggle {
    display: none;
}

#end-menu-toggle .st0{
    fill:none;
}

#end-menu-toggle .st1 {
    fill:#FFFFFF;
}

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

    body {
        font-size: 16px;
    }

    #end_video div svg {
        width: 100%;
    }

    .end_activate_logo #site-navigation {
        transform: translateX(0) !important;
    }

    #end_footer_animation {
        bottom: 25px;
    }

    #masthead:after {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        width: 60px;
        height: 64px;
        background: rgba(0,0,0,0.6);
        z-index: -1;
        pointer-events: none;
    }

    #site-navigation:after {
        content: '';
        position: absolute;
        top: -8.5px;
        left: -10px;
        width: 60px;
        height: 48px;
        background: rgba(0,0,0,0.6);
        z-index: -1;
        pointer-events: none;
    }

    #end_enter_text {
        font-size: 16px;
    }

    .end_testimonial_divider {
        height: 66vh;
    }

    #case_studies .end_huge_heading,
    .end_huge_heading,
    #end_methods .end_huge_heading,
    #our_services_title .end_medium_heading,
    #our_products_title .end_medium_heading {
        font-size: 36px;
    }

    .end_team_member_name h3 {
        font-size: 32px;
        line-height: 36px;
        margin-top: calc(var(--mobile-padding) * 1);
        margin-bottom: 6px;
    }

    .end_testimonial_divider .end_medium_heading {
        font-size: 32px;
    }

    .end_large_description {
        font-size: 19px;
    }

    .menu-main-container {
        width: 102vw;
        height: 100dvh;
        position: absolute;
        background-color: #000000;
        top: -68px;
        left: -12px;
        padding: calc(var(--mobile-padding) * 2);
        transform: translateX(-104vw);
        transition: all 0.3s ease;
    }

    #end_top_right {
        top: 1px;
        right: 0px;
    }

    #end_footer_left {
        left: 0px;
        bottom: 0px;
    }

    .end_mobile_menu_active #end_footer_left,
    .end_mobile_menu_active #end_footer_right,
    .end_mobile_menu_active #end_top_right {
        opacity: 0 !important;
    }

    .end_mobile_menu_active .menu-main-container {
        transform: translateX(0vw);
    }

    #end-menu-toggle {
        display: flex;
        width: 38px;
        height: 30px;
        cursor: pointer;
        justify-content: center;
        margin-left: 0px;
    }

    .site-branding {
        margin-bottom: 28px;
    }

    #end-close-menu {
        display: flex;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: absolute;
        right: calc(var(--mobile-padding) * 3);
        top: calc(var(--mobile-padding) * 3);
        z-index: 999;
    }

    .main-navigation ul {
        margin-top: calc(var(--mobile-padding) * 6);
    }

    #end-close-menu svg path {
        fill: #FFFFFF;
    }

    #end-close-menu svg {
        width: 30px;
        height: 30px;
    }

    #video_wrapper video {
        max-width: 100%;
    }

    .end_large_description {
        padding-left: var(--mobile-padding);
        padding-right: var(--mobile-padding);
    }

    #how_we_work_before {
        height: auto;
        margin-top: 0px;
    }

    #work_steps_container .end_work_step {
        width: 100%;
        padding-top: 0px;
    }

    #work_steps_container .end_work_step h3 span.end_colored_number {
        font-size: 30px;
    }

    #work_steps_container .end_work_step h3 {
        font-size: 24px;
        margin-bottom: 4px;
    }

    #work_steps_container {
        width: 100% !important;
    }

    .end_work_steps_wrapper {
        flex-direction: column;
        padding-left: var(--mobile-padding);
        padding-right: var(--mobile-padding);
        gap: calc(var(--mobile-padding) * 3);
        margin-bottom: calc(var(--mobile-padding) * 6);
    }

    #end_methods_container {
        padding: calc(var(--mobile-padding) * 3) var(--mobile-padding) calc(var(--mobile-padding) * 6);
        background-color: var(--site-alt-bg-color);
    }

    #end_methods_container_inner {
        flex-direction: column;
        gap:calc(var(--mobile-padding) * 3);
    }

    .end_om_wrapper {
        margin: 0px !important;
        padding-bottom: 0;
        width: 100%;
    }

    #path_alt,
    #end_methods_container_inner .end_om_divider {
        display: none !important;
    }

    #end_methods_container_inner .end_om_title h3 {
        font-size: 22px;
        line-height: 1em;
        margin-bottom: 2px !important;
    }

    .end_testimonial_divider {
        margin: 0px;
    }

    #case_studies h2.end_huge_heading,
    #end_methods h2.end_huge_heading,
    #how_we_work h2,
    #about_us h2 {
        margin: 0px;
        padding-top: calc(var(--mobile-padding) * 6);
    }

    #end_methods h2.end_huge_heading {
        margin-bottom: 10px;
    }

    #end_services_animation:before {
        display: none !important;
    }

    #case_studies h2.end_huge_heading {
        padding-top: 0px;
    }

    .end_case_study_title_inner {
        line-height: 1.4em;
        margin: 8px 0px 16px;
    }

    #path_how {
        display: none !important;
    }

    .end_work_step_icon {
        height: 36vh;
        opacity: 1;
        transform: translateY(0%);
    }

    .end_work_step_content_wrapper {
        opacity: 1;
        transform: translateY(0%);
    }

    #case_studies,
    #our_services,
    #our_products {
        padding: calc(var(--mobile-padding) * 6) var(--mobile-padding);
    }

    #our_services_inner,
    #our_products_inner {
        grid-template-columns: 1fr;
        gap: calc(var(--mobile-padding) * 1);
    }
    
    #our_services_container {
        order: 2;
    }

    #our_services_container,
    #our_products_container {
        gap: calc(var(--mobile-padding) * 3);
    }

    #our_services_container,
    #our_services_title,
    #our_products_container,
    #our_products_title {
        padding: 0px;
        opacity: 1;
        text-align: left;
    }

    .end_service,
    .end_product {
        opacity: 1;
    }

    .end_work_step_content_wrapper p span {
        font-weight: 200 !important;
    }

    .end_service h3,
    .end_product h3 {
        color: var(--site-active-color);
        font-size: 22px;
        line-height: 1.2em;
    }

    .end_product_title span {
        font-size: 12px;
        margin-top: 6px;
    }

    .end_service .end_service_image svg,
    .end_product .end_product_image svg {
        fill: var(--site-active-color);
    }

    #end_team {
        height: auto;
        /*margin-bottom: -49vh;*/
    }

    #end_team_members_wrapper {
        position: relative;
        transform: translateY(0%);
        flex-direction: column;
        gap: calc(var(--mobile-padding) * 3);
    }

    #end_team_members_wrapper>div {
        width: 100%;
    }

    .end_team_member_photo,
    #end_team_member_left .end_team_member_photo {
        transform: translateX(0%) rotate(0deg);
    }

    .end_team_member_info {
        padding: calc(var(--mobile-padding) * 1);
    }

    .end_team_member_name, 
    .team_member_text {
        opacity: 1;
    }

    .end_team_member_name span {
        line-height: 18px;
        display: block;
    }

    #end_footer_contact_info {
        flex-direction: row;
        padding: 0px;
    }

    #end_footer_inner {
        padding: calc(var(--mobile-padding) * 4) var(--mobile-padding) calc(var(--mobile-padding) * 1);
    }

    #end_footer_top_row {
        padding-top: calc(var(--mobile-padding) * 4);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #end_footer_bottom_row {
        margin-bottom: 1px;
    }

    .end_footer_row_mobile {
        width: 50%;
        gap: 10px;
    }

    #end_footer_social, 
    #end_footer_address {
        padding-top: 0px;
    }

    .end_footer_column .end_large_description {
        padding: 0px;
        font-size: 14px;
        line-height: 1.4em;
    }

    .end_footer_link {
        font-size: 14px;
    }

    footer div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
        height: 70px;
        font-size: 14px;
    }

    #end_footer_copyright {
        justify-content: flex-end;
    }

    footer .wpforms-container .wpforms-field.wpforms-one-half input[type="text"], 
    footer .wpforms-container .wpforms-field.wpforms-one-half input[type="email"] {
        font-size: 14px;
        height: 30px;
    }

    footer div.wpforms-container-full button[type=submit] {
        font-size: 14px;
        height: 34px;
    }
    
}

@media only screen and (max-height: 380px) {
    .end_work_step_icon {
        min-height: 340px;
    }
}