/*!
Theme Name: Project 
Theme URI: 
Author: Strive Enterprise
Author URI: https://striveenterprise.com/
Description: Description
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: project
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.

Project 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/
*/
:root {
  --color-primary: #95fc2a;
  --color-secondary: #000000;
  --color-tertiary: #ffffff;

  --color-text: #ffffff;

  --fs-title-hero: 40px;
  --fs-title: 40px;
  --fs-title-small: 35px;

  --fs-subtitle-large: 25px;
  --fs-subtitle: 22px;
  --fs-subtitle-small: 20px;

  --fs-content-larger: 19px;
  --fs-content: 17px;
  --fs-content-small: 14px;

  --fs-button: 14px;

  --ff-poppins: "Poppins", sans-serif;
  --ff-lato: "Lato", sans-serif;
  --ff-bbh: "BBH Bartle", sans-serif;
  --ff-dm: "BBH Bartle", sans-serif;
  --ff-dmsans: "DM Sans", sans-serif;
  --ff-anton: "Anton", sans-serif;

  --vertical-padding: 3rem;
  --header-size: 146px;
}
body {
  background: var(--color-secondary);
  overflow-x: hidden;
  max-width: 100vw;
}

@media (width<1400px) {
  :root {
  }
}

@media (width<768px) {
  :root {
    --fs-title-hero: 22px;
    --fs-title: 20px;
    --fs-title-small: 20px;

    --fs-subtitle-large: 18px;
    --fs-subtitle: 18px;
    --fs-subtitle-small: 18px;

    --fs-content-larger: 16px;
    --fs-content: 16px;
    --fs-content-small: 15px;

    --vertical-padding: 3rem;
    --header-size: 130px;
  }
}

.fs-content,
.fs-content-large,
.fs-content-extra-large {
  line-height: 1.5;
}

* {
  scrollbar-width: thin;
  box-sizing: border-box;
  scrollbar-color: var(--color-primary) #fff;
}

.modal {
  .modal-header {
    background: var(--color-primary-10);
    padding: 15px 30px;

    .logo-modal {
      /* filter: brightness(0) invert(1); */
      width: auto;
      height: 60px;
    }

    button {
      filter: brightness(0) invert(1);
    }
  }
}
.text-display-hero {
  font-family: var(--ff-dm) !important;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-title-hero);
  line-height: 100%;
  letter-spacing: 0.01em;

  display: inline-block;
  vertical-align: middle;
}

html,
body {
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
  transition: 400ms;
}

a:hover {
  color: #000;
  transition: 400ms;
}

p,
ul li {
  color: var(--color-text);
  font-size: var(--fs-content);
  font-family: var(--ff-poppins);
  line-height: 1.7;
}

div {
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text);
  font-family: var(--ff-poppins);
}

.page-width {
  margin-inline: auto;
  max-width: 1600px;
  padding-inline: 1rem;

  @media (width>=768px) {
    padding-inline: 4rem;
  }
}

.vertical-padding {
  padding-top: var(--vertical-padding);
  padding-bottom: var(--vertical-padding);
}

.text-title {
  font-size: var(--fs-title);
  font-family: var(--ff-bbh);
  font-weight: 400;
}

/* Font Families */

.ff-poppins {
  font-family: var(--ff-poppins);
}

.ff-lato {
  font-family: var(--ff-lato);
}

.ff-bbh {
  font-family: var(--ff-bbh);
}

.ff-dmsans {
  font-family: var(--ff-dmsans);
}

.ff-anton {
  font-family: var(--ff-anton);
}

.ff-dm {
  font-family: var(--ff-dm);
}

/* Font sizes */

.fs-hero {
  font-size: var(--fs-title-hero);
}

.fs-title {
  font-size: var(--fs-title);
}

.fs-title-small {
  font-size: var(--fs-title-small);
}

.fs-subtitle {
  font-size: var(--fs-subtitle);
}

.fs-subtitle-small {
  font-size: var(--fs-subtitle-small);
}

.fs-subtitle-large {
  font-size: var(--fs-subtitle-large);
}

.fs-content {
  font-size: var(--fs-content);
}

.fs-content-small {
  font-size: var(--fs-content-small);
}

.fs-content-large {
  font-size: var(--fs-subtitle-large);
}

/* Colors */

.color-primary {
  color: var(--color-primary);
}

.color-secondary {
  color: var(--color-secondary);
}

.color-text {
  color: var(--color-text);
}

.dbg-primary {
  background: var(--color-primary);
}

.dbg-secondary {
  background: var(--color-secondary);
}

/* Buttons  */

.btn-primary {
  color: black;
  text-decoration: none;
  margin: 0px !important;
  display: inline-flex;
  height: 55px;
  overflow: hidden;
  font-family: var(--ff-dmsans), sans-serif;
  font-weight: 700;
  font-size: var(--fs-button);
  width: auto;
  padding: 0px 20px;
  transition: none;
  max-width: 300px;
  margin: 1rem auto;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 0px;

  @media (width <=765px) {
    height: 40px;
  }

  @media (width >=765px) {
    white-space: nowrap;
  }

  & br {
    display: none;
  }

  &:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--color-primary);
    z-index: 0;
  }

  &:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    transform: translateX(-100%);
    transition: 400ms;
    z-index: 0;
  }

  &:hover {
    color: var(--color-primary);
    border: 1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }

  &:hover:after {
    transform: translateX(0);
  }

  & div {
    display: flex;
    justify-content: center;
    padding-left: 10px;
    border-left: 1px solid #020202;
    height: 50%;
    align-items: center;
    transition: 400ms;
    z-index: 1;
  }

  &:hover div {
    height: 0px;
    transform: translateX(5px);
    opacity: 0;
    z-index: 1;
  }

  & span {
    padding: 0px 10px;
    z-index: 1;
    transition: 100ms;
  }

  &:hover span {
    transform: translateX(15px);
  }

  & div svg path {
    transition: 400ms;
  }

  &:hover div svg path {
    fill: white !important;
    transform: translateX(10px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .btn-primary {
    &:hover span {
      transform: translateX(0px);
    }
  }
  .btn-primary {
    &:hover::after {
      transform: translateX(-100%);
    }
  }

  .btn-primary {
    &:hover {
      color: #000;
    }
  }
  .btn-primary {
    &:hover div {
      height: 50%;
      transform: 0;
      opacity: 1;
      z-index: 1;
    }
  }
  .btn-primary {
    &:hover div svg path {
      fill: black !important;
      transform: translateX(0px);
      opacity: 1;
    }
  }
}

.btn-secondary {
  color: var(--color-secondary);
  text-decoration: none;
  margin: 0px !important;
  display: inline-flex;
  height: 55px;
  overflow: hidden;
  font-family: var(--ff-dmsans), sans-serif;
  font-weight: 700;
  font-size: var(--fs-button);
  width: auto;
  padding: 0px 20px;
  transition: none;
  max-width: 300px;
  margin: 1rem auto;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border: 1px solid var(--color-primary);
  cursor: pointer;

  @media (width <=765px) {
    height: 40px;
  }

  @media (width >=765px) {
    white-space: nowrap;
  }

  & br {
    display: none;
  }

  &:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: white;
    z-index: 0;
  }

  &:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transform: translateX(-101%);
    transition: 400ms;
    z-index: 0;
  }

  &:hover {
    color: var(--color-secondary);
    border: 1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }

  &:hover:after {
    transform: translateX(0);
  }

  & div {
    display: flex;
    justify-content: center;
    padding-left: 10px;
    border-left: 1px solid var(--color-secondary);
    height: 50%;
    align-items: center;
    transition: 400ms;
    z-index: 1;
  }

  &:hover div {
    height: 0px;
    transform: translateX(5px);
    opacity: 0;
    z-index: 1;
  }

  & span {
    padding: 0px 10px;
    z-index: 1;
    transition: 100ms;
  }

  &:hover span {
    transform: translateX(15px);
  }

  & div svg path {
    transition: 400ms;
  }

  &:hover div svg path {
    fill: var(--color-secondary) !important;
    transform: translateX(10px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .btn-secondary {
    &:hover::after {
      transform: translateX(-100%);
    }
  }

  .btn-secondary {
    &:hover {
      color: #000;
    }
  }
  .btn-secondary {
    &:hover div {
      height: 50%;
      transform: 0;
      opacity: 1;
      z-index: 1;
    }
  }
  .btn-secondary {
    &:hover div svg path {
      fill: black !important;
      transform: translateX(0px);
      opacity: 1;
    }
  }
  .btn-secondary {
    &:hover span {
      transform: translateX(0px);
    }
  }
}

@media (width<=768px) {
  .btn-primary,
  .btn-secondary {
    min-width: 259px;
  }
}

.wpcf7-list-item {
  margin: 0;
}

/* Contact Form 7 */
input {
  outline: none;
}

.contact-form {
  input,
  textarea,
  select {
    box-shadow: none !important;
    outline: none !important;
    width: 100%;
    border: 1px solid #ddd !important;
    padding: 10px 15px;
    overflow: hidden;
  }

  .btn-primary {
    br {
      display: none !important;
    }
  }

  .btn-close:focus,
  .btn-menu-offcanvas:focus {
    box-shadow: none;
  }

  textarea {
    height: 130px;
  }

  .check-policies {
    p {
      width: 100%;
    }

    a {
      position: absolute;
      transition: 0.4s;
      width: fit-content;
      color: var(--color-text);
      font-weight: 600 !important;

      &:hover {
        color: var(--color-primary);
      }
    }

    .wpcf7-not-valid-tip {
      position: absolute;
      width: 220px;
      left: 15px;
      top: 17px;
    }
  }

  .check-policies input {
    width: auto;
  }
}

/* tooltip */
.tooltip-inner {
  background-color: var(--color-primary);
  color: #fff;

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: var(--color-primary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: var(--color-primary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: var(--color-primary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: var(--color-primary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

@media (width<=768px) {
  .titlebr br {
    display: none;
  }
}
