/* ------------------------- Styleguide Â® Code by Dennis -------------------------------------------------- */

/* ------------------------- Fonts -------------------------------------------------- */



@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;700&display=swap');


 
@font-face {
 font-family: 'Kaftan';
  src: url('../../assets/fonts/KaftanSerifTrial-Regular.woff2') format('woff2'),
      url('../../assets/fonts/KaftanSerifTrial-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}



/* ------------------------- Colors -------------------------------------------------- */

:root {

  --color-dark-rgb: 19, 19, 19;
  --color-dark: rgba(var(--color-dark-rgb), 1);

  --color-light-rgb: 239, 239, 239;
  --color-light: rgba(var(--color-light-rgb), 1);

  --color-white-rgb: 255, 255, 255;
  --color-white: rgba(var(--color-white-rgb), 1);

  --color-black-rgb: 0, 0, 0;
  --color-black: rgba(var(--color-black-rgb), 1);

  --color-primary: #24272a;
  --color-secondary: #fcf9f6;
  --color-gray: #999d9e;
  --color-lightgray: #E7E7E7;

  --color-border: rgba(var(--color-dark-rgb), 0.25);
  --color-border-light: rgba(var(--color-light-rgb), 0.25);
  --color-text: rgba(var(--color-dark-rgb), 0.8);
  --color-text-light: rgba(var(--color-light-rgb), 0.8);

  --color-alert-error: var(--color-primary);
  --color-alert-success: #14A846;

  --animation-fast: 0.2s cubic-bezier(.9, 0, .1, 1);
  --animation-cursor: 0.4s cubic-bezier(0.5, 0, .25, 1);
  --animation-primary: 0.5s cubic-bezier(.6, 0, .1, 1);
  --animation-tile: 0.4s cubic-bezier(.4, 0, .1, 1);
  --animation-smooth: 1.5s cubic-bezier(.7, 0, .3, 1);

  --section-padding: min(10vw, 10em);
  --container-padding: clamp(1.33em, 3vw, 3em);

  --row-padding: clamp(1.75em, 3vw, 3em);
  --col-padding: clamp(1.33em, 3vw, 3em);
  --col-padding-small: calc(var(--col-padding) * 0.25);

  --title-size: clamp(5em, 7.5vw, 7em);
  --text-stroke: 1px;

  --border-radius: calc(var(--title-size) * 0.25);
}

[data-theme-section="dark"], [data-theme-item="dark"] {
  --color-border: rgba(var(--color-light-rgb), 0.25);
  --color-text: rgba(var(--color-light-rgb), 0.7);
}

@media screen and (max-width: 720px) {
  :root {
     --section-padding: 12vh;
     --title-size: 12.5vw;
  }
}

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

  :root {
     --section-padding: max(2.5em, 12vh);
     --container-padding: 5vw;
     --title-size: 15vw;
  }
}


/* ------------------------- Body -------------------------------------------------- */

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
li, ul, figure { padding: 0; margin: 0; list-style: none;}



body {
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Selection */
::selection {
  background-color: var(--color-light);
  color: var(--color-dark);
  text-shadow: none;
}

::-moz-selection {
  background-color: var(--color-light);
  color: var(--color-dark);
  text-shadow: none;
}

/* General */
canvas, img, video, picture, figure {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  display: block;
}

svg {
  max-width: none;
  height: auto;
  box-sizing: border-box;
}

audio, canvas, iframe, img, svg, video, picture, figure {
  vertical-align: middle;
}

/* ------------------------- Hide Scrollbar -------------------------------------------------- */



/* ------------------------- Typography -------------------------------------------------- */

h1, h2, h3, h4, h5, h6, p, a, li, ul, ol, span, strong, em  {
  padding: 0; margin: 0; font-style: normal; letter-spacing: normal;
}
h1,
h2 {
 font-weight: 800;
}

h3,
h4,
h5,
h6 {
 font-weight: 600;
}
h1{
  font-size: 2.25rem;
  line-height: 1;
}
h2{
  font-size: 1.875rem;
  line-height:1;
}



h3 {
  font-size: 1.5rem;
  line-height: 1;
}

h4{
  font-size: 1.25rem;
  line-height: 1;
}

h5 {
  font-size: 1.125rem;
  line-height: 1;
}
h6 {
  font-size: 1rem;
}


:is([data-theme-section="dark"], [data-theme-item="dark"]) :is(h1, h2, h2, h3, h4, h5) {
  color: var(--color-light);
}

p {
  font-weight: 400;
  font-style: normal;
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-text);
  color: #25272a;
}

span {
  font-weight: inherit;
  color: inherit;
}

strong {
  font-weight: 700;

}

em {
  font-style: italic;
}

:is([data-theme-section="dark"], [data-theme-item="dark"]) strong {
  color: var(--color-light);
}

a {
  color: unset;
  text-decoration: none;
  transition: var(--animation-primary);
}

/* ------------------------- Styled - Typography -------------------------------------------------- */

.styled-content :is(h1, h2, h3, p, figure) {
  margin-bottom: 1em;
}

.styled-content :is(h1, h2, h3, p):last-child {
  margin-bottom: 0;
}

.styled-content p > a {
  position: relative;
  transition: color var(--animation-fast);
}

.styled-content p > a::after {
  content:"";
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
  left: 0;
  transition: background-color var(--animation-fast);
}

:is([data-theme-section="dark"], [data-theme-item="dark"]) .styled-content p > a::after {
  background-color: rgba(var(--color-light-rgb), 0.3);
}

.styled-content p > a:hover::after {
  background-color: var(--color-primary);
}

:is([data-theme-section="dark"], [data-theme-item="dark"]) .styled-content p > a:hover::after {
  background-color: var(--color-primary);
}

.styled-content ul {
  display: flex;
  flex-direction: column;
  padding-left: 1em;
  padding-bottom: 1em;
}

.styled-content ul li {
  position: relative;
  color: var(--color-text);
}

:is([data-theme-section="dark"], [data-theme-item="dark"]) .styled-content ul li {
  color: var(--color-text-light);
}
.styled-content ul li::before {
  content: "";
  left: -1em;
  top: 50%;
  transform: translateY(-50%);
  height: 0.3em;
  width: 0.3em;
  background: var(--color-primary);
  position: absolute;
  border-radius: 50%;
}

:is([data-theme-section="dark"], [data-theme-item="dark"]) .styled-content ul li::before {
  background: var(--color-light);
}



/* ------------------------- Main Elements -------------------------------------------------- */

.section {
  /* padding-top: var(--section-padding);
  padding-bottom: var(--section-padding); */
  padding-top: 5.625rem;
  padding-bottom: 5.625rem;
  position: relative;
}

.section-wrap {
  position: relative;
}

.container {
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  max-width: 1170px;
  position: relative;

  /* max-width: 1280px;
   margin: 0 auto; */
}
.container-full{
  max-width: 100%;
  position: relative;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container.full {
  padding-left: unset;
  padding-right: unset;
}

.container.large {
  padding-left: var(--col-padding-small);
  padding-right: var(--col-padding-small);
}

.container.medium {
  max-width: calc((var(--title-size) * 10) + calc(var(--col-padding-small) * 2));
}

.container.small {
  max-width: 50em;
}

.row {
  display: flex;
  width: 100%;
  position: relative;
}

.col {
  position: relative;
}

.overlay {
  /* position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%; */
}

.overlay.overlay-dark {
  background-color: rgba(var(--color-black-rgb), 0.5);
}

img.overlay,
video.overlay {
  object-fit: cover;
}

picture.overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stripe {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
}

.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ------------------------- Most Used -------------------------------------------------- */

/* Basic 2 Col Grid */

.row-grid {
  flex-wrap: wrap;
  gap: var(--row-padding) var(--gap);
  --gap: var(--col-padding);
  --columns: 2;
}

.row-grid > .col {
  width: calc((99.95% / var(--columns)) - (var(--gap) * ((var(--columns) - 1) / var(--columns))));
}

@media screen and (max-width: 1024px) {
  .row-grid {
     --columns: 1;
  }
}

/* ------------------------- Main -------------------------------------------------- */

main {
  /* overflow: hidden;
  background-color: #fbf9f5;
  box-sizing: border-box;
  position: relative;
  width: 100%; */
  display: block;
}

[data-theme-page="dark"] main{
  background-color: var(--color-dark);
}

.main-wrap {
  /* will-change: transform;
  box-sizing: border-box;*/
  z-index: 99; 
  position: relative;
}

footer {
  margin-bottom: -1px;
}

/* ------------------------- Buttons -------------------------------------------------- */



/* ------------------------- Section - Styleguide -------------------------------------------------- */

.section-styleguide {
  overflow: hidden;
}

.section-styleguide .row {
  border-bottom: 1px solid var(--color-border);
  padding: var(--row-padding) 0;
}

.section-styleguide .row-btn {
  padding: 0;
}

.section-styleguide .row:last-child {
  border-bottom: 0px;
  padding-bottom: 0;
}

.section-styleguide .row-sub-title {
  padding-bottom: 0;
  border-bottom: 0px;
}

.section-styleguide .row-color-blocks {
  --gap: var(--col-padding-small);
  --columns: 4;
}

.section-styleguide .color-block {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  border-radius: var(--border-radius);
}

/* ------------------------- Styled Image -------------------------------------------------- */

.styled-image {
  display: flex;
  flex-direction: column;
  position: relative;
}

.styled-image img {
  border-radius: var(--border-radius);
}

.styled-image[data-ratio-status="true"] img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ------------------------- Styled Form -------------------------------------------------- */

.styled-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.styled-form .form-col {
  width: 100%;
  padding-bottom: 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.styled-form .form-label {
  margin-bottom: 0.5em; 
}

.styled-form .form-label span {
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: 500;
}

.styled-form abbr[title] {
  color: var(--color-alert-error);
  text-decoration: none;
  padding-left: 0.25em;
}

.styled-form input {
  display: block;
}

/* Text */

.styled-form input:is([type="text"], [type="email"], [type="tel"]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 1em 1em;
  width: 100%;
  border-radius: var(--border-radius);
}

/* Textarea */

.styled-form textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 0;
  border-bottom: 1px solid transparent;
  resize: vertical;
  min-height: 10em;
  padding: 1em 1em;
  width: 100%;
  border-radius: var(--border-radius);
}

/* Checkbox */

.styled-form .form-col-checkbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.styled-form input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 0;
  width: 1em;
  height: 1em;
  border: 1px solid var(--color-border);
  transition: background-color .3s ease-in-out;
  background-color: var(--color-light);
  margin-right: 0.5em;
  border-radius: calc(var(--border-radius) * 0.33);
}

.styled-form input[type="checkbox"]:focus {
  border-radius: calc(var(--border-radius) * 0.33);  
}

.styled-form input[type="checkbox"]:checked {
  background-color: var(--color-dark);
}

.styled-form .form-col-checkbox label {
  font-weight: 400;
}

/* Error */

.styled-form :is(input, textarea).has-error {
  border-bottom: 1px solid var(--color-alert-error);
}

.styled-form input[type="checkbox"].has-error{
  border: 1px solid var(--color-alert-error);
}

.styled-form .has-error + .form-error-message {
  display: flex;
}

.form-error-message {
  width: 100%;
  display: none;
  color: var(--color-alert-error);
  font-size: 0.8em;
  font-weight: 500;
}

/* Focus */

.styled-form :is(input, textarea):focus {
  outline: 0;
  outline-width: 1px !important;
  outline-offset: 0px;
  border-bottom: 1px solid var(--color-dark);
}

.styled-form input[type="checkbox"]:focus {
  border: 1px solid var(--color-dark);
}

/* Submit */

.styled-form input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 0;
  padding: 1em;
  background: var(--color-primary);
  color: var(--color-light);
  cursor: pointer;
  border-radius: var(--border-radius);
}

/* Autofill */

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}




/* ------------------------------------ Animaciones  -------------------------------------------------- */

.u-anim {
  opacity: 0;
  transform: translateY(84px);
  transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.is-show .u-anim {
  opacity: 1;
  transform: none;
}

.o-anim {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.is-show .o-anim {
  opacity: 1;
}

.s-anim {
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0, 1);
}
.s-anim2 {
  opacity: 0;
  transform: scale(0);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0, 1);
}
.is-show .s-anim {
  opacity: 1;
  transform: scale(1);
}
.is-show.s-anim {
  opacity: 1;
  transform: scale(1);
}

.is-show .s-anim2 {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}
.delay-8 {
  transition-delay: 0.8s;
}
.delay-9 {
  transition-delay: 0.9s;
}
.delay-10 {
  transition-delay: 1s;
}
.delay-11 {
  transition-delay: 1.1s;
}
.delay-12 {
  transition-delay: 1.2s;
}
.delay-13 {
  transition-delay: 1.3s;
}
.delay-14 {
  transition-delay: 1.4s;
}
.delay-15 {
  transition-delay: 1.5s;
}
.delay-16 {
  transition-delay: 1.6s;
}

.delay-17 {
  transition-delay: 1.7s;
}
.delay-18 {
  transition-delay: 1.8s;
}
.delay-19 {
  transition-delay: 1.9s;
}
.delay-20 {
  transition-delay: 2s;
}
.delay-21 {
  transition-delay: 2.1s;
}
.delay-22 {
  transition-delay: 2.2s;
}

.delay-23 {
  transition-delay: 2.3s;
}
.delay-24 {
  transition-delay: 2.4s;
}
.delay-25 {
  transition-delay: 2.5s;
}
.delay-26 {
  transition-delay: 2.6s;
}
