/* Global Variables */
:root {
    /* Colors - Don't forget to add the hsl to the theme.json */
    --brand-color-1: hsl(232, 50%, 36%);
    --brand-color-2: hsl(17, 85%, 58%);
    --brand-color-3: hsl(327, 70%, 49%);
    --brand-color-4: hsl(351, 80%, 62%);
    --brand-color-5: hsl(328, 100%, 97%);
    --brand-color-6: hsl(18, 100%, 97%);
    --body-text: hsl(0, 0%, 20%);
    --white: hsl(0, 0%, 100%);
    --white-90: hsla(0, 0%, 100%, 0.90);
    --black: hsl(0, 0%, 0%);

    /* Buttons */
    --button-color: var(--brand-color-4);
    --button-text-color: hsl(0, 0%, 100%);
    --button-padding: 20px 40px;
    --button-border-radius: 80px;

    /* Fonts */
    --font-family: "franklin-gothic-atf", sans-serif;

    /* Headings */
    --h1: clamp(2.5rem, calc(2.5rem + ((1vw - 0.32rem) * 1.3393)), 4rem);
    --h2: clamp(2.5rem, calc(2.5rem + ((1vw - 0.32rem) * 1.3393)), 4rem);
    --h3: 2.0rem;
    --h4: 2.2rem;
    --h5: 2.0rem;
    --h6: 1.8rem;

    /* Text */
    --text: 2rem;
    --ch: 66ch;

    /* Sections */
    --sec-pad-inline: clamp(20px, calc(20px + ((1vw - 3.2px) * 2.6786)), 50px);
    --sec-pad-block: clamp(50px, calc(50px + ((1vw - 3.2px) * 4.4643)), 100px);
    --sec-pad-block-half: clamp(25px, calc(25px + ((1vw - 3.2px) * 2.2321)), 50px);

    /* Container */
    --container-width: 1440px;

    /* Gap */
    --gap: 1rem;
    --sec-gap: calc(var(--gap) * 3);
    --container-gap: clamp(25px, calc(25px + ((1vw - 3.2px) * 2.2321)), 50px);
    --content-gap: clamp(25px, calc(25px + ((1vw - 3.2px) * 2.2321)), 50px);
    --grid-gap: clamp(25px, calc(25px + ((1vw - 3.2px) * 2.2321)), 50px);

    /* Grid */
    --grid-1: repeat(1, minmax(0, 1fr));
    --grid-2: repeat(2, minmax(0, 1fr));
    --grid-3: repeat(3, minmax(0, 1fr));
    --grid-4: repeat(4, minmax(0, 1fr));
    --grid-5: repeat(5, minmax(0, 1fr));
    --grid-6: repeat(6, minmax(0, 1fr));

    /* Border */
    --radius: 1rem;
    --border-radius: 2.5rem;

    /* Box Shadow */
    --box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

    /* Image Comparisson */
    --thumb-background-color: var(--white);
    --thumb-background-image: url('data:image/svg+xml;utf8,<svg viewbox="0 0 60 60"  width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M20 20 L10 30 L20 40"/><path fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M40 20 L50 30 L40 40"/></svg>');
    --thumb-size: 3.5rem;
    --thumb-radius: 50%;
    --thumb-border-color: var(--white);
    --thumb-border-size: 2px;
    --focus-width: var(--thumb-border-size);
    --focus-color: transparent;
    --border-width: 2px;
    --border-color: var(--white);
    --divider-width: 2px;
    --divider-color: var(--white);
}

/* Fonts */
@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/roboto-v30-latin-300.woff2') format('woff2'), url('/wp-content/uploads/roboto-v30-latin-300.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/roboto-v30-latin-regular.woff2') format('woff2'), url('/wp-content/uploads/roboto-v30-latin-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/roboto-v30-latin-500.woff2') format('woff2'), url('/wp-content/uploads/roboto-v30-latin-500.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/roboto-v30-latin-700.woff2') format('woff2'), url('/wp-content/uploads/roboto-v30-latin-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/uploads/roboto-v30-latin-900.woff2') format('woff2'), url('/wp-content/uploads/roboto-v30-latin-900.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Global Reset */
*,
::after,
::before,
html {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: smooth;
}

blockquote,
dd,
dl,
figure {
    margin: 0;
}

ol[role=list],
ul[role=list] {
    list-style: none;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

figure,
img,
picture {
    max-width: 100%;
    height: auto;
    display: flex;
}

button,
input,
select,
textarea {
    font: inherit;
}

@media (prefers-reduced-motion:reduce){
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    ::after,
    ::before {
        animation-duration: 0s!important;
        animation-iteration-count: 1!important;
        transition-duration: 0s!important;
        scroll-behavior: auto!important;
    }
}

/* Needed to cloak hidden elements before JS loads when using Alpine.js */
[x-cloak] {
    display: none !important;
}

/* Class to hide elements */
.hide {
    display: none;
}

/* Set core body defaults */
body {
    font-family: var(--font-family);
    font-size: var(--text);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    color: var(--body-text);
    text-rendering: optimizeSpeed;
    min-height: 100vh;
}

/* Set core heading defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 600;
    font-style: normal;
    line-height: 1.3;
    margin: 0;
}

h1 {
    font-size: var(--h1);
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

h4 {
    font-size: var(--h4);
}

h5 {
    font-size: var(--h5);
}

h6 {
    font-size: var(--h6);
}

/* Header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition-duration: 0.6s;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
}

header.sticky {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: hsl(0, 0%, 100%);
}

header.sticky .header-logo {
    max-width: 140px;
}

/* logo */
.header-logo {
    display: flex;
    width: 200px;
    transition-duration: 0.6s;
    align-items: center;
}

/* Main Menu */
.main-nav li {
    display: flex;
    align-items: center;
    color: var(--body-text);
    font-size: 1.8rem;
}

.main-nav .menu {
    display: flex;
    list-style-type: none;
    padding-left: 0px;
    margin: 0px;
    gap: 2rem;
}

.main-nav .menu :is(a, span) {
    padding: 10px 0px;
    text-decoration: none;
    color: var(--brand-color-1);
    font-size: 1.6rem;
    font-weight: 500;
    transition: 0.6s;
    position: relative;
}

.main-nav .menu a:hover {
    color: var(--brand-color-2);
    transition: 0.6s;
}

.main-nav .menu-item button {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transform: rotate(45deg);
}

.main-nav .menu-item button:after {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--brand-color-1);
    border-bottom: 1px solid var(--brand-color-1);
    transition: 0.6s;
}

.main-nav .menu-item .open:after {
    transform: rotate(180deg);
}

/* MAIN NAV SUB MENU */
.main-nav li .sub-menu {
    position: absolute;
    display: flex;
    flex-direction: row;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    width: 100%;
    transform: translate(0px, 0px);
    opacity: 1;
    transition: all 0.5s;
    border-radius: 0;
    box-shadow: none;
    padding: 40px;
    gap: 50px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.main-nav li .sub-menu.open {
    transform: translate(0px, 50px);
    opacity: 0;
}

.main-nav li .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* MAIN NAV SUB MENU LI */
.main-nav li .sub-menu li {
    font-size: 1.8rem;
    color: var(--body-text);
    font-weight: 500;
}

/* MAIN NAV SUB MENU LI A */
.main-nav li .sub-menu li a {
    color: var(--brand-color-1);
    font-weight: 400;
}

.main-nav li .sub-menu li a:hover {
    color: var(--brand-color-2);
}

@media (max-width:1200px) {
    nav.main-nav {
        display: none;
    }
}

/* MOBILE--------------------- */
.mobile-menu {
    display: none;
}

.main-nav-mobile .nav-logo a {
    height: 100%;
}

/* MOBILE MAIN NAV MENU WRAPPER */
.mobile-menu__background {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 999;
    height: 100%;
    top: 117px;
    left: 0;
}

.mobile-menu__panel {
    background-color: var(--brand-color-1);
    position: fixed;
    top: 117px;
    bottom: 0;
    right: 0;
    width: 480px;
    padding: 0 0 3rem 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: scroll;
}

.mobile-menu__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: none;
    padding: 0.5rem;
    border-radius: 4px;
    color: var(--black);
    border: 1px solid var(--black);
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}

/* MOBILE MAIN NAV UL */
.main-nav-mobile ul.menu {
    list-style-type: none;
    padding-left: 0px;
    margin: auto;
    position: relative;
}

/* MOBILE MAIN NAV LI */
.main-nav-mobile li {
    font-size: 1.8rem;
    color: var(--body-text);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* MOBILE MAIN NAV LI A */
.main-nav-mobile li a {
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 0px;
    color: var(--body-text);
    width: fit-content;
    text-decoration: none;
}

.main-nav-mobile li a:hover {
    color: var(--body-text);
}

.main-nav-mobile .nav-logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translate(-50%, 0);
}

.main-nav-mobile .nav-logo a {
    width: 100%;
}

.main-nav-mobile .menu-item-has-children > a::after {
    display: none;
}

.main-nav-mobile .menu-item button {
    position: absolute;
    right: -26px;
    top: 12px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transform: rotate(45deg);
}

.main-nav-mobile .menu-item button:after {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    transition: 0.6s;
}

.main-nav-mobile .menu-item .open:after {
    transform: rotate(180deg);
}

.nav-search-wrapper {
    display: flex;
    align-items: center;
    gap: var(--gap);
}

.search-wrapper__button {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.search-wrapper__wrapper-form {
    display: flex;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: -50px;
    left: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

.search-wrapper__form {
    width: fit-content;
}

.search-active + .search-wrapper__wrapper-form {
    max-height: 1000px;
    opacity: 1;
}

.visuallyhidden {
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute!important;
    border: 0;
    padding: 0;
    margin: 0;
}

/* MOBILE MAIN NAV SUB MENU */
.main-nav-mobile li .sub-menu {
    background-color: hsl(0, 0%, 100%);
    padding-left: 10px;
    border-radius: none;
    list-style-type: none;
    margin: 0px;
    width: 100%;
    transition: 1s;
}

/* MOBILE MAIN NAV SUB MENU LI */
.main-nav-mobile li .sub-menu li {
    font-size: 1.8rem;
    color: var(--body-text);
}

/* MOBILEMAIN NAV SUB MENU LI A */
.main-nav-mobile li .sub-menu li a {
    color: var(--body-text);
}

/* MOBILE NAV MOBILE MENU ICON */
.mobile-menu__trigger {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    background-color: var(--white);
    border-radius: 0;
    border: none;
    gap: 5px;
    z-index: 9999;
}

.mobile-menu__trigger-lines {
    --line-width: 3rem;
    display: block;
    width: var(--line-width);
    height: 0.3rem;
    background-color: var(--black);
    transition: all 0.4s;
}

/* .mobile-menu__trigger-line-1 {

} */
/* .mobile-menu__trigger-line-2 {

} */
/* .mobile-menu__trigger-line-3 {
} */
.mobile-menu__trigger-lines--line1 {
    transform: translate(0%, 270%) rotate(45deg);
    width: var(--line-width);
}

.mobile-menu__trigger-lines--line2 {
    opacity: 0;
    visibility: hidden;
}

.mobile-menu__trigger-lines--line3 {
    transform: translate(0%, -270%) rotate(-45deg);
    width: var(--line-width);
}

@media (max-width:1200px) {
    .mobile-menu {
        display: block!important;
    }
}

/* Set core section defaults */
section {
    padding-inline: var(--sec-pad-inline);
    padding-block: var(--sec-pad-block);
}

/* Set core container defaults */
.container {
    display: flex;
    flex-direction: column;
    gap: var(--container-gap);
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    align-items: flex-start;
}

/* Set core paragraph defaults */
p {
    margin: 0;
}

/* Set core address defaults */
address {
    font-style: normal;
    display: flex;
    flex-direction: column;
}

/* Set core link defaults */
a {
    color: var(--brand-color-1);
    text-decoration: none;
}

a:hover {
    color: var(--brand-color-1);
    text-decoration: none;
}

/* Set core button defaults */
.btn {
    display: inline-flex;
    color: var(--button-text-color);
    background-color: var(--button-color);
    padding: var(--button-padding);
    min-width: 190px;
    text-align: center;
    border: 0px solid var(--button-color);
    border-radius: var(--button-border-radius);
    cursor: pointer;
    font-weight: 600;
    justify-content: center;
    width: max-content;
}

.btn:hover {
    color: var(--brand-color-4);
    background-color: var(--white);
}

.btn--second {
    color: var(--button-text-color)!important;
    background-color: var(--brand-color-2);
}

.btn--third {
    color: var(--button-text-color)!important;
    background-color: var(--brand-color-3);
}

.btn--fourth {
    border: 0px;
    color: var(--button-text-color)!important;
    background-color: var(--brand-color-1);
}

.btn--second:hover {
    color: var(--button-text-color);
    background-color: var(--button-color);
}

.btn--third:hover {
    color: var(--button-text-color);
    background-color: var(--button-color);
}

.btn--fourth:hover {
    color: var(--button-text-color);
    background-color: var(--brand-color-2);
}

/* Set core form defaults */
form {
    width: 100%;
}

.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme select {
    font-size: 1.8rem;
    padding: 10px;
    color: var(--body-text);
    background-color: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 83%);
    border-radius: 3px;
}

input[type=button],
input[type=submit],
input[type=reset],
::-webkit-file-upload-button {
    color: var(--button-text-color);
    background-color: var(--button-color);
    padding: var(--button-padding);
    border: 1px solid var(--button-color);
    border-radius: var(--button-border-radius);
    cursor: pointer;
    transition: 0.6s;
    font-weight: 600;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover,
::-webkit-file-upload-button:hover {
    color: var(--button-text-color);
    background-color: var(--button-color);
    padding: var(--button-padding);
    border: 1px solid var(--button-color);
    border-radius: var(--button-border-radius);
    transition: 0.6s;
}

.back-to-top {
    padding: 0.5rem;
    background-color: var(--brand-color-4);
    position: fixed;
    display: flex;
    right: 1rem;
    bottom: 2rem;
    opacity: 0;
    cursor: pointer;
}

.back-to-top__icon {
    width: 4rem;
    height: 4rem;
    fill: currentColor;
}

.btt-show {
    opacity: 1;
}

footer {
    padding: 20px clamp(20px, calc(20px + ((1vw - 3.2px) * 2.6786)), 50px);
    padding-top: clamp(50px, calc(50px + ((1vw - 3.2px) * 4.4643)), 100px);
    background-color: var(--brand-color-1);
    color: var(--white);
}

.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: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* 404 Page */
.section-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-404-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: var(--grid-gap);
    max-width: var(--container-width);
    margin: auto;
}

.content-wrapper-404 {
    display: flex;
    flex-direction: column;
    gap: var(--container-gap);
    align-items: flex-start;
    justify-content: center;
}

.content-wrapper-404 :is(h1, p) {
    color: var(--black);
}

.img-wrapper-404 {
    margin-block: auto;
    padding-inline: clamp(25px, calc(1.5625rem + ((1vw - 7.5px) * 10.8696)), 100px);
}

@media (max-width:749px) {
    .page-404-grid {
        grid-template-columns: repeat(1, minmax(0,1fr));
    }

    .content-wrapper-404 {
        align-items: center;
        text-align: center;
    }

    .img-wrapper-404 {
        display: flex;
        flex-direction: column;
        margin-inline: auto;
    }

    .img-wrapper-404 svg {
        max-width: 400px;
    }
}