@charset "UTF-8";
/*

  Con este reset vamos a resolver:
    👉 Unificar el uso de Custom Properties
    👉 Problemas de box-model más generales
    👉 Problemas con imagenes, vídeos e iconos svg
    👉 Problemas con tipografías y etiquetas input en formularios
    👉 Unificar la tipografía de todas las etiquetas de una web

*/
/* Aquí definimos las Custom properties */
:root {
  color-scheme: light;

    /* COLORES */
  --negro: #000000;
  --blanco: #fff;
  --gris:  #E5E5E5;
  --beige: #F8F1E7;
  --gris-azulado: #AAB7B8;
  --texto-base: #2C2C2C;
  --principal:#2F3E46;
  --acento1: #D4C5A9;
  --acento2: #F5F5F3;

  /* Tipografía */
  --tipo-principal: "Figtree", sans-serif;
  --tipo-primaria: "Figtree", sans-serif;
  --tipo-secundaria: "Figtree", sans-serif;
  --tipo-texto:"Figtree", sans-serif;
  

}

/* ================== FUENTE SANGIRA ================== */
@font-face {
  font-family: "Sangira";
  src: url("../fonts/Sangira/Sangira.woff2") format("woff2"),
       url("../fonts/Sangira/Sangira.woff") format("woff"),
       url("../fonts/Sangira/Sangira.ttf") format("truetype"),
       url("../fonts/Sangira/Sangira.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* ================== FUENTE PUMPSHOT ================== */
@font-face {
  font-family: "Pumpshot";
  src: url("../fonts/Pumpshot/Pumpshot.woff2") format("woff2"),
       url("../fonts/Pumpshot/Pumpshot.woff") format("woff"),
       url("../fonts/Pumpshot/Pumpshot.ttf") format("truetype"),
       url("../fonts/Pumpshot/Pumpshot.eot");
  font-weight: normal;
  font-style: normal;
}

/* LIGHT */
@font-face {
  font-family: "Grift";
  src: url("../fonts/Grift/Grift-Light.woff2") format("woff2"),
       url("../fonts/Grift/Grift-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

/* REGULAR */
@font-face {
  font-family: "Grift";
  src: url("../fonts/Grift/Grift-Regular.woff2") format("woff2"),
       url("../fonts/Grift/Grift-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

/* MEDIUM */
@font-face {
  font-family: "Grift";
  src: url("../fonts/Grift/Grift-Medium.woff2") format("woff2"),
       url("../fonts/Grift/Grift-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

/* Opcional */
/* Configuramos si un usuario ha activado el modo alto contraste. (WD) */
/* Opcional */
/* Desactivamos los animations en el caso de que el usuario haya configurado el modo sin animation */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation: none !important;
            animation: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }
}
/* Reseteamos los margin y paddings de todas las etiquetas */
* {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  vertical-align: baseline;
  box-sizing: inherit;
}

/* Evitamos problemas con las imagenes */
img, picture, video, iframe, figure {
  max-width: 100%;
  width: 100%;
  display: block;
  /* opcional */
  -o-object-fit: cover;
     object-fit: cover;
  /* opcional */
  -o-object-position: center center;
     object-position: center center;
}

/* Reseteamos los enlaces para funcionar como cajas... */
a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

/* ... excepto los que se encuentran en párrafos */
p a {
  display: inline;
}

/* Quitamos los puntos de los <li> */
li {
  list-style-type: none;
}
html, body {
  color-scheme: light;
  z-index: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--blanco); /* mismo color en ambos */
}

/* Configuramos anclas suaves */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

/* Desactivamos estilos por defecto de las principales etiquetas de texto */
h1, h2, h3, h4, h5, h6, p, span, a, strong, blockquote, i, b, u, em {
  font-size: 1em;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: none;
  color: inherit;
}

/* Evitamos problemas con los pseudoelementos de quotes */
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

/* Configuramos el texto que seleccionamos */
::-moz-selection {
  background-color: var(--principal);
  color: var(--blanco);
}
::selection {
  background-color: var(--principal);
  color: var(--blanco);
}

/* Nivelamos problemas de tipografías y colocación de formularios */
form, input, textarea, select, button, label {
  font-family: inherit;
  font-size: inherit;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
  background-color: transparent;
  color: inherit;
  display: block;
  /* opcional */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* Reseteamos las tablas */
table, tr, td {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Evitamos problemas con los SVG */
svg {
  width: 100%;
  display: block;
  fill: currentColor;
}

/* (Probándolo, no usar en producción) En el caso de añadir una  */
/* p svg{
  display: inline;
  width: initial;
} */
/* Configuramos la tipografía para toda la web */
body {
  padding-bottom: env(safe-area-inset-bottom, 0);
  min-height: 100dvh;       /* corrige 100vh en móvil */
  font-size: 100%;
  font-family: var(--tipo-principal);
  font-optical-sizing: auto;
  color: var(--negro);
  line-height: 1.4em;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*  👇  elimina este: background-color: var(--blanco);  */
}

body::-webkit-scrollbar{
  background: #ccc;
width: 8px;     /* Tamaño del scroll en vertical */
    height: 8px;

/* Global values */
scrollbar-color: inherit;
scrollbar-color: initial;
scrollbar-color: revert;
scrollbar-color: revert-layer;
scrollbar-color: unset;
}
body::-webkit-scrollbar-thumb {
    background: var(--principal);
    border-radius: 0px;
}
/* Cambiamos el fondo cuando esté en active */
body::-webkit-scrollbar-thumb:active {
    background-color: var(--principal);
}

body::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 0px;
}
