/* quantico-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quantico';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quantico-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* urbanist-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/urbanist-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* bricolage-grotesque-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bricolage-grotesque-v9-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* bebas-neue-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bebas-neue-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4, h5 {
    font-family: 'Bebas Neue', sans-serif;
}

:root {
    --display-lg-logo: block;
    --display-sm-logo: none;
    --phone-position: absolute;
}
nav {
    align-items: center;
    animation-duration: 1ms;
    animation-fill-mode: both;
    animation-name: menu-slide;
    animation-timeline: scroll();
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 20vh;
    position: fixed;
    transition: all 0.1s ease-in-out;
    width: calc(100% - 4px);
    z-index: 100;
}
@keyframes menu-slide {
    0% {
        flex-direction: column;
        --display-lg-logo: block; 
        --display-sm-logo: none;
        --phone-position: absolute;
        min-height: inherit;
    }
    5% {
        background-color: #000000;
        border: 2px solid var(--highlight);
        flex-direction: row;
        --display-lg-logo: none;
        --display-sm-logo: block;
        --phone-position: relative;
        min-height: unset;
    }
    100% {
        background-color: #000000;
        border: 2px solid var(--highlight);
        border-radius: 0px 0px 0% 0%;
        flex-direction: row;
        --display-lg-logo: none;
        --display-sm-logo: block;
        --phone-position: relative;
        min-height: unset;
    }
}
nav > a {
    animation-duration: 1ms;
    animation-fill-mode: both;
    animation-name: logo-reorder;
    animation-timeline: scroll();
    order: 0;
}
@keyframes logo-reorder {
    0% {
        order: 0;
    }
    5% {
        order: -1;
    }
    100% {
        order: -1;
    }
}
nav ul {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    list-style: none;
    padding: 0px 16px;
}
nav li {
    cursor: pointer;
    position: relative;
    text-align: center;
    transition: all 0.25s ease-in-out;
}
nav li > a {
    color: var(--background);
    display: block;
    font-family: 'Quantico', serif;
    font-size: 1em;
    padding: 12px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}
nav li:hover > a {
    color: var(--secondary);
}
nav li > .brush {
    bottom: -2px;
    height: 1em;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    transition: all 0.5s ease-in-out;
}
nav li:hover > .brush {
    opacity: 1;
    right: 14px;
}
.nav-logo {
    transition: all 0.2s ease-in;
}
.nav-logo:hover {
    filter: brightness(1.2) drop-shadow(2px 4px 6px black);
}
.home-logo-sm {
    display: var(--display-sm-logo);
    height: 80px;
    padding: 8px 16px;
    width: 126px;
}
.home-logo-lg {
    display: var(--display-lg-logo);
    filter: brightness(1) drop-shadow(2px 4px 6px black);
    height: 220px;
    width: 320px;
}
.phone-menu-item {
    position: var(--phone-position);
    right: 0;
    top: 0;
}
.phone-menu-item a {
    display: flex;
    font-size: 0.9em;
}
.phone-menu-item:hover a {
    color: var(--background);
}
.phone-menu-item a > img {
    transition: all 0.3s ease-in-out
}
.phone-menu-item:hover a > img {
    filter: hue-rotate(118deg);
}

.nav-submenu-header {
    align-items: center;
    cursor: default;
    display: flex;
    position: relative
}

.nav-submenu-header span {
    color: var(--background);
    display: block;
    font-family: 'Quantico', serif;
    font-size: 1em;
    padding: 12px;
}

.nav-submenu-header > img {
    transform: rotate(0deg);
    transition: all 0.35s;
    width: 2em
}

.nav-submenu-header:hover > img {
    transform: rotate(180deg)
}

.nav-submenu {
    align-items: end;
    background-color: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0em 1em 1em .5em;
    position: absolute;
    right: 0;
    top: 100%;
    transition: display 0.3s allow-discrete, opacity 0.4s ease, clip-path 0.4s ease;
    width: fit-content;
    z-index: 10;
}


.nav-submenu li {
    border-right: 1px solid var(--background);
    padding-right: 1em;
    text-align: right
}
nav .nav-submenu li:hover > .brush {
    opacity: 1;
    right: calc(1em + 14px);
}

.nav-submenu-header:hover .nav-submenu {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
}
@starting-style {
  .nav-submenu-header:hover .nav-submenu {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
}

.burger-wrapper {
    position: absolute;
    right: 0;
    top: 0;
}
.nav-burger {
    color: var(--secondary);
    cursor: pointer;
    display: none;
    height: 5em;
    position: relative;
    width: 5em;
    margin-left: auto;
}
.nav-burger span {
    background-color: currentColor;
    display: block;
    height: 2px;
    left: calc(50% - 8px);
    position: absolute;
    transform-origin: center;
    transition-duration: 86ms;
    transition-property: background-color, opacity, transform;
    transition-timing-function: ease-out;
    width: 20px;
}
.nav-burger span:nth-child(1) {
    top: calc(50% - 6px);
}
.nav-burger span:nth-child(2) {
    top: calc(50% - 1px);
}
.nav-burger span:nth-child(3) {
    top: calc(50% + 4px);
}
.nav-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-burger.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media screen and (max-width: 960px){
    nav {
        animation-name: none;
        background-color: #000000;
        border: 2px solid var(--highlight);
        border-radius: 0px;
        flex-direction: column;
        height: 100%;
        justify-content: unset;
        max-height: 90px;
        min-height: unset;
        padding: 0.5em 0em;
    }
    nav > a {
        animation-name: none;
        order: -1;
    }
    nav.is-active {
        max-height: 100vh;
        overflow-y: scroll;
    }
    nav ul {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
    }
    nav.is-active > ul {
        border-top: 2px solid var(--highlight);
        margin: 0;
        padding: 1em 0em;
    }
    nav.is-active ul {
        background-color: var(--primary);
        display: flex;
    }
    .nav-burger {
        display: block;
    }
    .home-logo-sm {
        display: block;
    }
    .home-logo-lg {
        display: none;
    }
    .phone-menu-item {
        position: relative;
    }

    .nav-submenu-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-submenu-header>span {
        color: var(--highlight);
        font-size: 0.9em;
        width: 100%;
    }
    .nav-submenu-header > img {
        display: none;
    }
    .nav-submenu-header:hover > img {
        transform: rotate(0deg);
    }
    .nav-submenu {
        align-items: center;
        border-left: 1px solid var(--background);
        border-right: 1px solid var(--background);
        box-shadow: none;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        display: flex;
        margin-top: 12px;
        padding: 0;
        position: initial;
    }

    .nav-submenu li {
        border-right: none;
        padding-right: 0;
    }
}

.invert-color {
    background-color: var(--primary);
    color: var(--background);
}
.invert-color h1, .invert-color h2, .invert-color h3, .invert-color h4, .invert-color h5 {
    color: var(--background);
}

.button {
    background-image: url("../images/button_bg.webp");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border: 2px solid var(--highlight);
    border-radius: 12px;
    color: var(--background);
    cursor: pointer;
    display: inline-block;
    font-family: 'Quantico', serif;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0.5em 0.5em;
    padding: 1em 2em;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    width: fit-content;
}
.button:hover {
    color: var(--background);
    filter: brightness(1.5);
}
.button.scrawlRight > img {
    height: 100%;
    right: 100%;
    position: absolute;
    top: 0;
    transition: all 1.5s linear;
    z-index: 100;
}
.button.scrawlRight.activate > img {
    right: -100%;
}
.glyphic {
    align-items: center;
    display: flex;
    gap: 1em;
    justify-content: space-around;
}
.glyphic > img {
    background-color: var(--secondary);
    border: 5px solid var(--secondary);
    border-radius: 100%;
    height: 1em;
    transition: all 0.25s ease-in-out;
    width: 1em;
}
.glyphic:hover > img {
    transform: rotate(45deg);
}
@media screen and (max-width: 960px){
    .button {
        padding: 1em;
    }
}

@media screen and (min-width: 961px){
    .mobile-only {
        display: none;
    }
}
@media screen and (max-width: 960px){
    .mobile-hide {
        display: none;
    }
}

.center {
    text-align: center;
}
.flex-center {
    align-items: center;
    justify-content: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-gap {
    gap: 20px;
}
.flex-responsive {
    display: flex;
}
.flex-row {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}

@media screen and (max-width: 960px) {
    .center-mobile {
        text-align: center;
    }
    .flex-responsive {
        flex-direction: column;
    }
}

.padded-sides {
    padding-left: 5vw;
    padding-right: 5vw;
}
.padded-up {
    padding-top: 5vh;
}
.padded-down {
    padding-bottom: 5vh;
}

.text-column {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    max-width: 800px;
    padding: 2em 1em;
}

.pretitle {
    color: var(--secondary);
    display: block;
    font-family: sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    margin: 1em 0em;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 3rem;
}
@media screen and (max-width: 960px) {
    .grid-3 {
        grid-template-columns: 100%;
    }
}
.grid-3 > div {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 30px 0 rgba(28, 26, 51, 0.10);
    color: var(--text);
    padding: 10%;
    position: relative;
}
.grid-3 h3 {
    color: var(--text);
    margin: 0;
}

.side-by-side {
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
}
.side-by-side > div {
    max-width: 50%;
    min-height: 400px;
    order: 1;
    width: 100%;
}
.side-by-side .side-text {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2em 0em;
}
.side-by-side .side-text p, .side-by-side .side-text ul {
    align-self: flex-start;
    padding: 0 5vw;
    text-align: left;
}
.side-by-side .side-image {
    line-height: 0;
    min-height: unset;
}
.side-by-side .side-image img {
    width: 100%;
}
@media screen and (max-width: 960px) {
    .side-by-side>div {
        max-width: 100%;
    }

    .side-by-side .side-image {
        order: 0;
    }
}

.flex-row.pair-view {
    align-items: center;
    gap: 2em;
    justify-content: center;
}
.flex-row.pair-view > div {
    display: flex;
}
.pair-view .flex-column {
    align-items: center;
    justify-content: center;
}
.pair-view .flex-column .flex-column {
    background-color: #fbfef6;
    box-shadow: 2px 2px 5px #383635;
    padding: 1em;
}
.pair-view p, .pair-view ul {
    max-width: calc(400px + 10vw);
}
.pair-view img {
    border-radius: 40px;
    filter: drop-shadow(2px 4px 6px black);
    width: 100%;
}
@media screen and (max-width: 960px){
    .flex-row.pair-view {
        gap: 0em;
    }
    .pair-view img {
        border-radius: 0;
        filter: unset;
    }
}

.layered-image {
    position: relative;
}
.layered-image > picture {
    justify-content: center;
    position: relative;
    z-index: 20;
}
.layered-image > img {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(0px, 200%, 100vw);
    z-index: 0;
}

.review-card {
    align-items: center;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    margin: 3vw;
    max-width: 300px;
    padding: 1em;
}
.review-card > .source-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.review-card > .source-row img {
    transition: all 0.2s ease-in-out;
    width: 60px;
}
.review-card > .source-row a:hover img {
    filter: brightness(1.2);
}
.review-card span {
    color: var(--primary);
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    margin-top: auto;
}
.review-card > img {
    width: 50%;
}

/* Accordion checkboxes */
.tab {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    position: relative;
}
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab_content {
    border-bottom: 2px solid var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: none;
}
.tab input:checked ~ .tab_content {
    max-height: 200vh;
    transition: all 0.35s ease-in-out;
}

.accordion {
    color: var(--primary);
    border: 2px solid;
    border-radius: 0.5rem;
    overflow: hidden;
}
.tab_label,
.tab_close {
    align-items: center;
    background: var(--primary);
    color: var(--background);
    cursor: pointer;
    display: flex;
}
.tab_label {
    justify-content: space-between;
    padding: 1rem;
}
.tab_label img {
    transform: rotate(0deg);
    transition: all 0.35s;
    width: 2em;
}
.tab input:checked + .tab_label img {
    transform: rotate(180deg);
}
.tab_content p {
    margin: 0;
    padding: 1rem !important;
}
.tab_close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}
.accordion-radio {
    --theme: var(--secondary);
}

@media screen and (max-width: 960px) {
    .tab {
        max-width: 95%;
    }
}
/* END Accordion checkboxes */


footer {
    color: var(--text);
    position: relative;
}
footer > picture {
    bottom: 0;
    position: absolute;
    width: 100%;
    z-index: -1;
}
footer > picture > img {
    width: 100%;
}

footer .social-row {
    display: flex;
    gap: 2em;
}
footer .social-row img {
    filter: brightness(1);
    height: 2em;
    transition: all 0.2s ease;
}
footer .social-row a:hover img {
    filter: brightness(1.4);
}

footer > div {
    display: flex;
    gap: 2em;
    height: 100%;
    justify-content: space-between;
    width: 100%;
}
footer>div>div {
    max-width: 40%;
    padding: 2%;
    text-align: left;
}
footer h2, footer h3 {
    font-size: 1.25em
}
.footer-corner {
    align-self: flex-end;
    color: var(--background);
    font-size: calc(0.7rem + 0.6vw);
    max-width: 70vw;
    text-align: right;
}
.footer-corner a {
    color: var(--background);
}
.footer-corner a:hover {
    color: var(--secondary);
}

@media screen and (max-width:1024px) {
    footer>div {
        flex-direction: column;
        gap: 25vw;
    }
    footer>div>div {
        max-width: 100%;
    }
}

/* GLOBAL SITE TOUCH-UPS */
.icon-list > li::marker {
    content: url('../images/paint-can-icon.webp')
}

/* Animations */
/* Critical CSS contains initial delay-animation pause. */
.delay-animation.visible {
    opacity: 1;
}
.activate {
    animation-play-state: running;
}
.fadeUp.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeUp;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform;
}
@keyframes fadeUp {
  0% {}
  100% {
        transform: translateY(0px);
        opacity: 1;
        }
}

.fadeDown.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeUp;
    opacity: 0;
    transform: translateY(-20px);
    will-change: transform;
}
@keyframes fadeUp {
  0% {}
  100% {
        transform: translateY(0px);
        opacity: 1;
        }
}

.fadeLeft.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeLeft;
    opacity: 0;
    transform: translateX(20px);
    will-change: transform;
}
@keyframes fadeLeft {
  0% {}
  100% {
        transform: translateX(0px);
        opacity: 1;
        }
}

.fadeRight.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeRight;
    opacity: 0;
    transform: translateX(-20px);
    will-change: transform;
}
@keyframes fadeRight {
  0% {}
  100% {
        transform: translateX(0px);
        opacity: 1;
        }
}

.scrawlRight.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: scrawlRight;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    opacity: 1;
}
@keyframes scrawlRight {
    0% {}
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.expanding-divider {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: block;
    width: 0%;
}
.expanding-divider.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.expanding-divider.exdiv10.activate {
    animation-name: exdiv10;
}
@keyframes exdiv10 {
  0% {}
  100% {
        opacity: 1;
        width: 10%;
        }
}
.expanding-divider.exdiv25.activate {
    animation-name: exdiv25;
}
@keyframes exdiv25 {
  0% {}
  100% {
        opacity: 1;
        width: 25%;
        }
}
.expanding-divider.exdiv50.activate {
    animation-name: exdiv50;
}
@keyframes exdiv50 {
  0% {}
  100% {
        opacity: 1;
        width: 50%;
        }
}
.expanding-divider.exdiv100.activate {
    animation-name: exdiv100;
}
@keyframes exdiv100 {
  0% {}
  100% {
        opacity: 1;
        width: 100%;
        }
}


/* See Settlers Irrigation for implementing this animation */
.numCounter.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    will-change: contents;
}
@keyframes numCounter_value {
  0% {
    --value: 0;
  }
  100% {
    --value: 100;
        }
}