@import url("/assets/styles/nav.css");
@import url("/assets/styles/header.css");
@import url("/assets/styles/main.css");
@import url("/assets/styles/footer.css");
@import url("/assets/styles/simple-carousel.css");

@font-face {
  font-family: general;
  src: url(/assets/fonts/generalsans/GeneralSans-Regular.woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: general-light;
  src: url(/assets/fonts/generalsans/GeneralSans-Light.woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: general-bold;
  src: url(/assets/fonts/generalsans/GeneralSans-Semibold.woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: general-black;
  src: url(/assets/fonts/generalsans/GeneralSans-Bold.woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: jetbrains;
  src: url(/assets/fonts/gt-a/GT-America-Mono-Regular.woff);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: gt-regular;
  src: url(/assets/fonts/gt-a/GT-America-Mono-Regular.woff2);
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Backgrounds */
  --neutral2:   #0B0E14;   /* fondo principal */
  --neutral2B:  #dde7ff;   /* cards / nav */

  /* Text */
  --neutral1:   #E6ECF3;   /* texto principal */
  --neutral4:   #9AA4B2;   /* texto secundario */

  /* Accent */
  --neutral3:   #0967ff;   /* azul eléctrico */

  /* UI */
  --border:     #1F2937;
  --gradient-color: rgba(59, 131, 246, 0.116);
  --font-regular: general;
  --font-light: general-light;
  --font-bold: general-bold;
  --font-black: general-black;
  --font-button: gt-regular;
  --gradient: #2d3238;

  /* UI tokens */
  --radius-btn: 20px;
  --section-pad-y: 140px;
  color-scheme: light only !important;
}

::selection {
  background-color: rgba(236, 176, 98, 0.251);
}

* {
  margin: 0;
  padding: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

p {
  text-wrap: pretty;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  user-select: none;
}

img,
video,
svg {
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

::-webkit-scrollbar-track {
  width: 10px;
  background-color: #8c8c8c44;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--neutral1);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--neutral4);  
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grabbing;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 0px;
}

body {
  background-color: var(--neutral2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  cursor: pointer;
  border: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.--height-img {
  height: 420px;
  border-radius: 5px;
  object-fit: cover;
  mask-image: linear-gradient(var(--gradient) 85%, transparent);
}
