/* reset + normalize */
*, *:before, *:after {
  box-sizing: border-box;
}
/*! 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; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

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

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * 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
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

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

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 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;
}

/* 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; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  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;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * 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; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
  font: inherit; /* 2 */
}

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

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

:root {
/* --- Typography --- */
  --font-family: "Figtree", sans-serif;
/*   --font-family-body: "Inter", sans-serif; */
  --font-script: "good-karma-smooth-upright", sans-serif;
  /* --- Colors --- */
  --color-main-green: #73D13D;
  --color-main-teal: #5CDBD3;
  
  --color-text-green: #52C41A;
  --color-text-teal: #13C2C2;
  
  --btn-gray: #e5e7eb;
  --text-secondary: #4b5563;
  --border-light: #f4f4f4;
  /* --- Layout --- */
  --rounded-corner: 12px;
}

body {
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-wrap: pretty;
}
h1,h2,h3,h4,h5,h6{
  text-wrap:balance;
}

/* --- Typography: Title styles --- */
[class*="display-"]{
  font-family: var(--font-family);
  line-height: 100%;
  letter-spacing: -2px;
  color: inherit;
  
  @media (max-width: 600px){
    letter-spacing: -1px;
  }
}
.display-1 {
  font-size: clamp(2.75rem, 2.4527rem + 1.4414vw, 3.75rem);
  font-weight: 650;
  margin: 1rem 0;
  
  & span.karma{
    font-size: clamp(4rem, 3.5169rem + 2.3423vw, 5.625rem);
  }
  
  @media (max-width: 600px){
    margin: 0;
  }
}

[class*="display-"] span.karma{
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 300;
  font-style: normal;
  letter-spacing: normal;
  margin-bottom: -8px;

  &:not(.text-white) {
    color: var(--color-text-teal);
  }
  &.text-green {
    color:var(--color-text-green);
  }
}
.text-d-green{
  color:var(--color-text-green);
} 
.display-2 {
  font-size: clamp(2rem, 1.7027rem + 1.4414vw, 3rem);
  font-weight: 600;
  
  & span.karma{
    font-size: clamp(3rem, 2.5912rem + 1.982vw, 4.375rem);
  }
}
.display-3 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1px;
}
.karma {
  display: inline-block;
  font-family: var(--font-script);
}
/* --- End title --- */

p.lead{
  font-size:22px;
  line-height:140%;
}
p.base{
  font-size:20px;
  line-height:140%;
  font-weight:300;
  text-wrap: pretty;
  color:black;
}
section{
  overflow:hidden;
}


/* ------ BUTTON ------ */
.btn {
  border-radius: 8px;
  padding: 0.75rem 2.25rem;
  line-height: 160%;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  
  @media (max-width:1024px){
    line-height: 100%;
  }
}

.btn_cta_nav{
  padding: 0.5rem 1.25rem;
}

.btn_main {
  background-color: var(--color-main-teal);
  
  &:hover {
    background-color: var(--color-text-teal);
  }
}

.btn_secondary,
.btn_cta_nav {
  background-color: #ffffff;
  border-color: #000000;
  color: #000000; 

  &:hover {
    background-color: var(--btn-gray);
  }
}

.btn_white {
  background-color: #ffffff;
  color: #000000;

  &:hover {
    background-color: var(--btn-gray);
  }
}
/* ------ END BUTTON ------ */

/* ------------- TABS ------------- */
/* Container: Smooth height resizing */
.tab-content {
  display: grid;
  grid-template-areas: "stack";
}
.tab-content img{
  width:100%;
  object-fit:cover;
  border-radius: var(--rounded-corner);
}
/* Base Panel Styles */
.tab-panel {
  grid-area: stack;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
}

/* STATE: Active (Center) */
.tab-panel[data-state="active"] {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* STATE: Left (Hidden to the left) */
.tab-panel[data-state="left"] {
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
}

/* STATE: Right (Hidden to the right) */
.tab-panel[data-state="right"] {
  transform: translateX(50%);
  opacity: 0;
  visibility: hidden;
}

/* Tab Button Styles */
.tab-link{
  font-size: clamp(0.875rem, 0.2596rem + 0.9615vw, 1.125rem);
  line-height: 110%;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  
  &:hover {
    color: var(--color-text-teal);
  }
}

.tab-link[aria-selected="true"] {
  border-bottom-color: var(--color-text-teal);
  color: var(--color-text-teal);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ------------- END TABS ------------- */


/* ------------ GRID Photos ------------ */

.layout-border{
  border: solid 4px var(--border-light);
  border-radius: 12px;
}

.grid-foto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, calc(50% - 10px));
  
      & > :nth-child(5) { display:none }
    @media (min-width: 1280px) {
      & > :nth-child(1) { grid-area: 1 / 1 / 4 / 2; }
      & > :nth-child(2) { grid-area: 1 / 2 / 3 / 3; }
      & > :nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
      & > :nth-child(4) { grid-area: 3 / 2 / 4 / 3; }
      & > :nth-child(5) { display:block; grid-area: 2 / 3 / 4 / 4; }
      
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: 2fr 1fr 2fr;
    }
}

.grid-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--rounded-corner);
  display: block;
  min-height: 0;
  min-width: 0;
}


/* ------------ END Grid photos ------------ */