/* Normalize
  ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  line-height: calc(1em + 0.5rem);
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  font-family: var(--font-normal);
  min-height: 100vh;
}

body {
  background: var(--background);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 2.0rem;
  color: var(--text-color);
  letter-spacing: -1px;
}

h2 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin: 2rem 0 0.5rem 0;
  letter-spacing: -1px;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -1px;
}

h4 {
  font-size: 1.15rem
}

h5 {
  font-size: 1.15rem
}

p {
  font-size: 1.1rem;
}

/* --- End normalize --- */


/* Variables
  ------------------------------------------------------------ */
/* @font-face {
    font-family: Jost;
    src: url(/fonts/inter.woff2)format("woff2");
    font-display: swap
} */

:root {
  --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-normal: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-content: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-code: Consolas, 'Courier New', Courier, monospace;

  --max-width: 1800px;
  --sidebar-width: 280px;
  --page-width: min(calc(100vw), var(--max-width));
  --content-width: calc(var(--page-width) - 2 * var(--sidebar-width));
  --full-content-width: 1200px;
  --article-max-width: 900px;
  --topbar-height: 52px;

  --primary-color: #215dee;
  --secundary-color: #b61cff;
  
  --accent-color: #eebff9;
  --accent-color-bg: rgb(238, 191, 249, 0.15);
  --accent-color-light: #afa3df;
  --accent-color-light-bg: rgb(175, 163, 223, 0.15);
  --accent-color-secondary: #2495be;
  --accent-strong-color: #e6b82c;
  --code-color: #c3c1f0;

  --glassify: 70%;
  --primary-color-glass: color-mix(in oklab, var(--primary-color) var(--glassify), #ffffff15);
  --secundary-color-glass: color-mix(in oklab, var(--secundary-color) var(--glassify), #ffffff15);
  --gradient-primary-glass: linear-gradient(var(--gradient-angle), var(--primary-color-glass), var(--secundary-color-glass));

  --gradient-angle: 30deg;
  --gradient-primary: linear-gradient(var(--gradient-angle), var(--primary-color), var(--secundary-color));

  --background: #0c0b0e;

  --card-background: #111014;
  --card-background-light: #1a181d;
  --card-border: 1px solid #191919;

  --shadow: 0 3px 10px -2px rgba(4, 9, 14, 0.1), 0 10px 25px -30px rgba(0, 0, 0, 0.1);
  --drop-shadow: 0 4px 15px 6px #00000030;

  --border-color: #28272c;
  --divider-color-lighter: #7774;
  --divider-color-darker: #858585;

  --text-color: #c8c8c8;
  --text-color-light: #8f8f8f;
  --text-color-dark: #f1f1f1;

  --text-selectable: #aaa;
  --text-selectable-selected: white;
  --text-selectable-active: var(--accent-color);

  --topbar-background: #0002;
  --topbar-color: #eee;

  --topnav-color: var(--text-color-dark);
  --footer-background: #060606;
  --bottombar-background: #000;
  --bottombar-color: white;

  --code-bg: #17171C;
  --codecopy-fill: transparent;
  --codecopy-stroke: #656e72;
  --codecopy-fill-hover: transparent;
  --codecopy-stroke-hover: #979ea2;

  --search-background: rgba(12, 12, 12, 0.8);
  
  /* --block-background: #1a181d;
  --block-border: 1px solid #222022;
  --block-code-background: #17171C; */

  --surface-bg: #121215;
  --surface-dark: #111111;
  --surface-light: #1b1b1c;
  --surface-black: #100f15;
  /* --surface-header: #1a181d; */
  --surface-header: #141316;
  --surface-header-dark: hsl(240, 8%, 5%);

  --surface-border-color:#212123;
  --surface-border: 1px solid #212123;
  --surface-light-border-color:#2a2830;
  --surface-light-border: 1px solid #2a2830;
  
  --surface-hover-bg: #1a1a1d;
  --surface-hover-border-color:#465156;
  --surface-hover-border: 1px solid #465156;

  /* --surface-bg: rgba(255, 0, 0, 0.117);
  --surface-light: rgba(255, 225, 0, 0.117);
  --surface-border: 1px solid green;
  --surface-border-color:green;
  --surface-light-border-color:rgba(170, 222, 47, 0.604);
  --surface-hover-bg: rgba(255, 0, 0, 0.517);
  --surface-hover-border-color: rgb(21, 255, 21);
  --surface-hover-border: 1px solid rgb(37, 252, 37);
  --surface-header: rgba(0, 255, 255, 0.296); */

  --input-bg: #121215;
  --input-border-color: #212123;

  scroll-behavior: smooth;
  font-size: 16px;
}

:root[data-theme=light] {
  --accent-color: #217FA1;
  --accent-color-light: #217FA1;
  --accent-strong-color: #937b3c;

  --code-color: #635fdd;
  --background: #e2e2e2;

  --card-background: #f4f4f4;
  --card-background-light: #d3d3d3;
  --card-border: 1px solid #f3f3f3;
  --shadow: 0 15px 40px 5px rgba(132, 132, 133, 0.15);
  --drop-shadow: 0 4px 15px 6px #00000010;

  --border-color: #eee;
  --divider-color-lighter: #bbb;
  --divider-color-darker: #7775;

  --text-color: #333;
  --text-color-light: #333;
  --text-color-dark: #0e0c19;

  --text-selectable: #333;
  --text-selectable-selected: #0e0c19;
  --text-selectable-active: var(--accent-color);

  --topbar-background: rgba(201, 201, 201, 0.133);
  --search-background: #e8e8e8dd;

  --surface-bg: #e3e3e3;
  --surface-dark: #d3d3d3;
  --surface-light: #e3e3e3;
  --surface-black: #fff;
  --surface-header: #d3d3d3;
  
  --surface-border-color:#bcbcbc;
  --surface-border: 1px solid #bcbcbc;
  --surface-light-border-color:#bcbcbc;
  --surface-light-border: 1px solid #bcbcbc;
  
  --surface-hover-bg: #e3e3e3;
  --surface-hover-border-color:#838383;
  --surface-hover-border: 1px solid #fff;


}

@media (max-width: 991px) {
  :root {
    font-size: 14px
  }
}
/* --- End variables --- */


/* Dark / Light Theme
  ------------------------------------------------------------ */
button.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 16px;
  cursor: pointer;
  color: var(--topbar-color);
  fill: var(--text-color);
  height: 32px;
}

button.theme-toggle span {
  display: flex;
  place-items: center;
}

button.theme-toggle svg,
button.theme-toggle use {
  fill: inherit;
}

button.theme-toggle>span:where(.dark, .light) {
  display: none;
}

.topbar button.theme-toggle {
  background: none;
  padding: 0;
  border: 0;
}

button.button-link,
.button-link {
  padding: 0.5rem 0.5rem;
  /* background: var(--card-background); */
  /* border: var(--card-border); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 2.5rem;
}

:root[data-theme=light] button.theme-toggle .light {
  display: flex;
}

:root[data-theme=light] img:not([src*=".svg"]) {
  filter: brightness(0.875) contrast(1.2);
}

:root[data-theme=dark] button.theme-toggle .dark {
  display: flex;
}

:root[data-theme=dark] img:not([src*=".svg"]) {
  filter: brightness(0.9) contrast(1.1);
}

/* --- End theming --- */

/* Main layout
  ------------------------------------------------------------ */
main {
  margin-top: 60px;
  min-height: 600px;
}

.row {
  margin: auto;
  max-width: var(--page-width);
}

.row.row-full {
  margin: auto;
  /* max-width: 100vw; */
}

.row.row-full .rowcontent {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--full-content-width);
}

.row.narrow {
  /* width: calc(100% - 2 * var(--sidebar-width)); */
  padding: 0 15px 10px 15px;
}

.rowcontent {
  padding: 0 15px 10px 15px;
  font-weight: 400;
  font-size: 1.33rem;
}

.rowcontent.narrow {
  /* max-width: calc(100% - var(--sidebar-width)); */
  padding: 0rem 1rem 0 4rem;
}

.with-left {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  align-items: start;
}

.with-left .sidebar-left {
  display: grid;
}

.with-right {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  align-items: start;
}

.articlecontent {
  max-width: var(--article-max-width);
  margin: auto;
}

.sidebar-left {
  display: none;
  padding: 0 0.5rem 0 1.5rem;
}

.sidebar-right {
  top: 0;
  padding: 0 0.5rem 0 1rem;
  position: relative;
}

@media screen and (max-width: 1350px) {
  .rowcontent.narrow {
    width: 100%;
    padding: 0 1rem 0 1rem;
  }

  .with-right {
    grid-template-columns: 100%;
    overflow: hidden;
  }

  .sidebar-right {
    display: none;
  }
}

@media screen and (max-width:991px) {
  :root {
    --sidebar-width: 300px;
  }

  .with-left {
    grid-template-columns: 100%;
  }

  .sidebar-left {
    --height: calc(100% - 50px);
    display: block;
    position: fixed !important;
    margin: 52px 0 0 0 !important;
    padding: 1rem;
    min-height: var(--height);
    max-height: var(--height);
    right: 0;
    top: 0 !important;
    bottom: 0;
    width: var(--sidebar-width);
    background: #050505;
    border-radius: 0;
    border: var(--card-border);
    z-index: 10000;
    transition: transform 0.5s;
    transform: translateX(calc(1rem + var(--sidebar-width)));
    opacity: 0;
    overflow-y: scroll;
    display: grid;
    align-content: start;
  }

  :root:not([data-mobile]) .sidebar-left {
    transform: translateX(calc(1rem + var(--sidebar-width)));
  }

  :root[data-mobile] .sidebar-left {
    opacity: 1;
    transform: translateX(0px);
  }

  :root[data-mobile] .site-header {
    background-color: #050505;
        transform: translateX(0px) !important
  }
}


/* --- End main layout --- */


/* Sibar left
  ------------------------------------------------------------ */
.sidebarmobile-top {
  display: none;
}

.sidebarmobile-toc {
  display: none;
}

.sidebar-navigation {
  position: relative;
  width: 100%;
}

.sidebar-navigation svg {
  display: none;
}

aside:has(.sidebar-outline) .sidebar-navigation {
  display: none;
}

.sidebar-outline img {
  margin-top: 3px;
}

@media screen and (max-width:1350px) {
  .sidebarmobile-toc {
    display: block;
  }
}

.sidebar-left>a {
  margin-top: 1rem;
  padding: 1rem 0 0 0;
  color: var(--text-color);
  width: 100%;
  font-size: 1.2rem;
  font-weight: 500;
  display: none;
  border-top: var(--card-border);
}


@media screen and (max-width:991px) {

  .sidebar-navigation,
  .sidebarmobile-toc,
  .sidebar-outline,
  .sidebar-related,
  .sidebar-left>a {
    order: 1;
  }

  .sidebar-left:not(:has(.sidebar-outline))>a {
    display: block;
  }

  .sidebarmobile-top {
    display: flex;
    justify-content: space-between;
    height: 2.5rem;
    margin-bottom: 1rem;
    font-size: 15px;
    position: relative;
  }

  .sidebarmobile-top>div {
    display: flex;
    gap: 5px;
  }
}

/* Sibar bar widget */
.sidebar-widget {
  width: 100%;
  margin-top: 20px;
}

.sidebar-widget.over-hidden {
  overflow: hidden;
}

.sidebar-widget>div {
  display: flex;
  margin-bottom: 0.5rem;
  align-items: center;
  gap: 8px;
}

.sidebar-widget>a {
  display: flex;
  margin-bottom: 0.5rem;
  align-items: center;
}

.sidebar-widget p {

  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: 500;
}

.sidebar-widget a {
  position: relative;
  display: flex;
  align-items: stretch;
}

.sidebar-widget a img {
  margin-right: 6px;
  padding: 2px;
  border-radius: 4px;
}

/* Sibar bar social */
.sidebarsocial {
  width: 100%;
  margin: 1rem auto 1rem auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.sidebarsocial .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.sidebarsocial .social-icon svg {
  height: 24px;
  width: 24px;
  fill: var(--topbar-color);
}

.sidebarsocial.big {
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.sidebarsocial.big .social-icon {
  height: 54px;
  width: 54px;
}

.sidebarsocial.big .social-icon svg {
  height: 28px;
  width: 28px;
}


/* Sidebar discord */
.sidebardiscord {
  display: flex;
  justify-content: center;
}

.sidebardiscord img {
  margin: auto;
}


/* Sidebar categories */
.sidebarnavigation {
  padding: 0;
  margin-top: 0.4rem;
}

/* sidebar outline */
.outline {
  padding-top: .4rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--divider-color-lighter);
  border-top: 1px solid var(--divider-color-lighter);
  font-size: 15px;
}

.outline-item:hover {
  color: var(--text-selectable-selected);
}

.outline-item:has(.active) {
  color: var(--text-selectable-active) !important;
}

/* section header */
.outline-item>div {
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: #3331;
  flex-direction: row;
  width: 250px;
  overflow: hidden;
  margin: 2px 0;
  padding: 3px 2px;
  font-size: 1.05em;
}

.outline-item a {
  align-items: center;
}

.outline-item:has(.active)>div {
  background-color: #6663;
}

.outline-item>div:hover {
  background-color: #6664;
}

.outline-item>div {
  position: relative !important;
  overflow: hidden;
}

.outline-item.active>div:before {
  content: "";
  position: absolute;
  top: -10%;
  left: -170%;
  width: 170%;
  height: 200%;
  opacity: 0;
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.02) 65%,
      rgba(255, 255, 255, 0.25) 70%,
      rgba(255, 255, 255, 0.0) 80%);
  pointer-events: none;
}

.outline-item.active>div:hover:before {
  opacity: 1;
  top: -10%;
  left: -8%;
  transition-property: left, top, opacity;
  transition-duration: 0.5s, 0.5s, 0.15s;
  transition-timing-function: ease;
}

.outline-item>div span {
  flex: 1 1 auto;
}

.outline a {
  flex: 1 1 auto;
  opacity: .85;
  padding: 4px 0;
}

.outline li ul li:hover {
  background-color: #6662;
}

.outline-item-link a,
.outline-sublink a {
  color: var(--accent-color-secondary);
}

.outline-item-link:hover a,
.outline-sublink:hover a {
  color: var(--text-selectable-selected);
}

.outline .outline-item:not(.outline-item-link)>div::after {
  content: "";
  display: inline-block;
  border-bottom: 2px solid var(--text-selectable);
  border-right: 2px solid var(--text-selectable);
  height: .5rem;
  width: .5rem;
  transform: rotate(45deg);
  opacity: .6;
  margin: 0 10px 0 10px;
  transition: transform .5s;
  opacity: .5;
}

.outline .outline-item:not(.outline-item-link).active>div::after {
  transform: rotate(-45deg);
}

.outline-item:hover>div::after {
  opacity: 1 !important;
}

/* submenu */
.outline-submenu {
  overflow: hidden;
  padding-left: 10px;
  width: 240px;
  overflow: hidden;
}

.outline-submenu li {
  color: var(--text-selectable);
  margin: 0;
  padding-left: 3px;
  border-left: 1px solid #6669;
}

.outline-submenu li:hover {
  color: var(--text-selectable-selected);
}

.outline>li.active .outline-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s;
}

.outline>li:not(.active) .outline-submenu {
  max-height: 500px;
  /* Suficientemente grande para la animación */
  transition: max-height 0.5s;
}

.outline>li:not(.active) {
  margin: 0 0 0.25rem 0;
}

.outline-item:not(.outline-item-link):not(.active):not(:last-child) {
  border-bottom: 1px solid #6662;
  padding-bottom: .5rem;
}

.outline-submenu li {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-left: 1px solid #6666;
  padding: 0px 0 0px 8px;
}

.outline li {
  background: linear-gradient(0deg, var(--text-selectable-selected), var(--text-selectable-selected)) no-repeat left center;
  background-size: 2px 0;
  transition: background-size .3s;
  background-position-x: 0;
  background-position-y: center;
}

.outline li:hover:not(.active) {
  color: var(--text-selectable-selected);
}

.outline li ul li.active {
  background: linear-gradient(0deg, var(--text-selectable-active), var(--text-selectable-active)) no-repeat left center;
  background-size: 2px 100%;
  color: var(--text-selectable-active) !important
}

.outline li ul li:where(:hover, :focus-visible):not(:has(.active)):not(.active) {
  background-size: 2px 100%;
}


.icon-item {
  --icon-size: 1.2em;
  --icon-color: var(--text-color-light);
  width: var(--icon-size);
  height: var(--icon-size);
  background: var(--icon-color);
  flex: 0 0 var(--icon-size);
  mask: var(--icon) no-repeat center;
  mask-size: var(--icon-size);
  margin-right: 10px;
  opacity: .6;
}

.outline-item:hover .icon-item {
  opacity: 1;
  background: var(--text-selectable-selected);
}

.outline-item:has(.active) .icon-item {
  opacity: 1;
  background: var(--text-selectable-active) !important
}



.outline li.easy::before,
.outline li.medium::before,
.outline li.hard::before {
  content: "";
  display: block;
  margin-left: 4px;
  margin-right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #00776bA0;
  display: inline-block;
  box-shadow: 0 0 3px 0 #00776b50;
  flex: 0 0 12px;
}

.outline li.medium::before {
  background: #987018A0;
  box-shadow: 0 0 3px 0 #98701850;
}

.outline li.hard::before {
  background: #ab064dA0;
  box-shadow: 0 0 3px 0 #ab064d50;
}

.outline li.outline-sublink::before {
  content: "🔗";
  font-size: 14px;
  width: 14px;
  margin-left: 0px;
  margin-right: 14px;
}

.outline li.outline-sublink::after {
  --icon-size: 1rem;
  content: "";
  width: 2rem;
  height: var(--icon-size);
  margin-left: 0.3rem;
  display: inline-block;
  background: var(--text-color-light);
  mask: url('/img/icon/external.svg') no-repeat center;
  mask-size: var(--icon-size) var(--icon-size);
}

.outline li.outline-sublink:hover::after {
  background: var(--text-selectable-selected);
}

.outline-item.outline-item-link {
  display: flex;
  align-items: center;
}

.outline .outline-item.outline-item-link::after {
  --icon-size: 1.1rem;
  content: "";
  width: 4rem;
  height: var(--icon-size);
  margin-left: 0.3rem;
  display: inline-block;
  background: var(--text-color-light);
  mask: url('/img/icon/external.svg') no-repeat center;
  mask-size: var(--icon-size) var(--icon-size);
  transform: translateY(0.25rem);
}

.outline .outline-item.outline-item-link:hover::after {
  background: var(--text-selectable-selected);
}

.outline-home {
  margin: -.3rem 0 0.4rem 1.8rem;
  font-weight: 500;
  color: var(--accent-color-secondary);
  font-size: 0.9rem;
  /* justify-content: end; */
}


.navnextprev .outline-home {
  font-size: 1.0rem;
}

.outline-home svg use {
  fill: none;
  stroke-width: 2;
  stroke: var(--accent-color-secondary);
}

.outline-home svg {
  position: relative;
  top: 4px;
  width: 16px;
  height: 16px;
  margin-right: .3rem;
}

.outline-home:hover {
  color: var(--accent-color-strong);
}

.outline-home:hover svg use {
  stroke: var(--text-selectable-selected);
}

/* --- End sidebars --- */

/* Top bar
  ------------------------------------------------------------ */
.topbar {
  display: flex;
  padding: 0 10px;
  flex-wrap: wrap;
  justify-content: center;
  height: 32px;
  position: relative;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto 0 auto;
  gap: 16px;
}

.topbar .topbar-inner {
  border-left: 1px solid #9999;
  max-width: var(--page-width);
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;
  padding: 0 8px;
}

.topbar .topbar-inner>.theme-toggle,
.topbar .topbar-inner>.language-selector {
  display: flex;
  align-items: center;
  justify-content: start;
  border-radius: 4px;
  height: 32px;
}

.topbar .topbar-inner>.language-selector>div {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.topbar svg {
  height: 22px;
  width: 22px;
}

.topbar svg use {
  fill: var(--text-color) !important;
}

/* --- End top bar --- */

/* Table of content
  ------------------------------------------------------------ */
.toc {
  inset: 0;
  margin-left: 6px;
}

.toc.mobile {
  width: 100%;
  position: relative;
}

.toc.mobile a {
  display: block;
}

.toc.mobile>div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: center;
  min-height: 48px;
  background: #5552;
  border: 1px solid #5553;
  border-radius: 8px;
  cursor: pointer;
  width: calc(var(--sidebar-width) - 2rem);
  padding: 0 0.5rem 0 .2rem;
}


.toc.mobile>div>div {
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-content: center;
}

.toc.mobile svg {
  height: 18px;
  width: 18px;
  fill: var(--text-color);
}

.toc.mobile .current-heading {
  color: var(--accent-color);
}

.toc.mobile ul {
  position: absolute;
  top: 2rem;
  width: 100%;
  min-width: 150px;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  background: var(--background);
  box-shadow: var(--shadow);
  border-radius: 8px;
  transition: all 0.3s;
  transform: translateY(15px);
  border: 1px solid var(--border-color);
  z-index: 100;
}

.toc.mobile li {
  padding: 0.2rem 1rem;
}

/* --- End table of content --- */

/* Sections
    ------------------------------------------------------------ */
/* Section hero */
section.hero {
  font-size: 20px;
  line-height: 1.6;
  padding: 1rem;
}

section.hero h1 {
  color: var(--text-color-dark);
  margin: 1.5rem auto 3rem auto;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 56rem;
}

section.hero .text-gradient {
  color: var(--accent-color);
  font-size: 2.4rem;
}

section.hero h1>div {
  margin-top: 1rem;
  font-size: 2.2rem;
}

section.hero p {
  color: var(--text-color);
  margin: 3rem auto 1rem auto;
  max-width: 56rem;
  font-size: 1.5rem;
  font-weight: 350;
  line-height: 1.25;
}

section.hero strong {
  color: var(--text-color-dark);
}

@media screen and (max-width: 991px) {
  section.hero h1 {
    font-size: 2.4rem;
  }

  section.hero p {
    font-size: 1.25rem;
  }
}

.feature-tittle {
  margin: auto;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  margin: 1rem auto 1rem auto;
  max-width: 1250px;
  font-size: 1.5rem;
  font-weight: 350;
  line-height: 1.25;
  padding: 0 1rem;
}

.feature-tittle p {
  background: radial-gradient(circle 150px at 10% -180%, white, #c2c2c2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.2rem;
  font-weight: 500;
  text-shadow: 0 0 4px rgba(255, 255, 255, .1), 0 0 14px rgba(130, 168, 236, .2);
}

.feature-tittle strong {
  -webkit-text-fill-color: var(--accent-color);
}

.feature-tittle p {

  font-size: 1.5rem;
}

/* Full image */
.fulltitle,
.fullimage {
  --glassify: 60%;
  --primary-color-glass: color-mix(in oklab, var(--primary-color) var(--glassify), #ffffff15);
  --secundary-color-glass: color-mix(in oklab, var(--secundary-color) var(--glassify), #ffffff15);
  --gradient-primary-glass: linear-gradient(var(--gradient-angle), var(--primary-color-glass), var(--secundary-color-glass));
  margin: 0.5rem 0;
  padding: 1.5rem 0;
  position: relative;
  color: white;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: -50;
  min-height: 240px;
  justify-content: center;
}


.fullimage {
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.fulltitle {
  padding: 0;
}


.fulltitle>h1,
.fulltitle>h2,
.fulltitle>strong {
  max-width: calc(100% - 1rem);
  background: var(--gradient-primary-glass);
  border-radius: 8px;
  height: auto;
  padding: 6px 26px;
  margin: 0rem;
  font-size: 3rem;
  z-index: 1;
  overflow: hidden;
  color: white !important;
  border: 1px solid #54545470;
  backdrop-filter: blur(3px);
  text-shadow: 0 0 5px #000;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}


.fulltitle p {
  margin: 0rem !important;
  z-index: 1;
  text-shadow: 0 0 8px #000;
}

.fullimage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-position: left;
  background-size: cover;
  filter: brightness(0.4);
}

.fulltitle>p:first-child {
  color: #cecece;
  font-size: 1.8rem;
  font-weight: 500;
  z-index: 1;
  margin: 2.2rem 0 0.8rem 0 !important;
}

.fulltitle>p:last-child {
  text-shadow: 0 0 6px #000;
  font-size: 1.35rem;
  font-weight: 400;
  color: #c2c2c2;
  margin: 0.8rem 0 2rem 0 !important;
  overflow: hidden;
}

:root[data-theme=light] .fullimage::before {
  filter: brightness(.6) contrast(1.2);
  opacity: .5;
}

:root[data-theme=light] .fulltitle>p {
  color: #333;
  text-shadow: 0 0 8px rgb(255, 255, 255);
  font-weight: 600;
}


@media screen and (max-width: 991px) {
  .fulltitle>p:first-child {
    font-size: 1.4rem;
  }

  .fulltitle>h1,
  .fulltitle>h2,
  .fulltitle>strong {
    font-size: 1.8rem;
  }
}

/* Section courses */
.section-courses::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/cover/formacion.webp");
  background-position: center;
  background-size: cover;
  filter: brightness(0.3);
}

.section-courses {
  margin-top: 50px;
  min-height: 350px;
  position: relative;
  padding: 20px;
  color: white;
}

.section-courses span {
  display: block;
}

.courses-title {
  width: fit-content;
  margin: 20px auto 0px auto;
  background: var(--accent-color-secondary);
  padding: 6px 26px;
  font-size: 2em;
  font-weight: 500;
  position: relative;
}

.courses-subtitle {
  font-size: 1.5em;
  font-weight: 300;
  margin-top: 0.5em;
  position: relative;
  text-align: center;
}

/* --- End Sections --- */


/* Cards
  ------------------------------------------------------------ */
.card-grid {
  max-width: 1250px;
  margin: 0 auto;
  gap: 32px;
  display: grid;
  justify-content: center;
}

.card-list {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-grow: 0;
}

.card {
  border: var(--card-border);
  border-radius: 12px;
  height: 100%;
  background: linear-gradient(var(--card-background), var(--card-background)) padding-box;
}

.card>a {
  display: block;
  padding: 1rem;
  height: 100%;
  width: 100%;
}

/* Card large */
.card.large {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card.large img {
  max-height: 200px;
  width: 100%;
  object-fit: none;
  background: none;
  height: 250px;
  margin: 1rem auto;
  transition: all 0.3s ease-in-out;
}

.card.large:hover img:first-child {
  transform: scale(1.05, 1.05) translateY(-10px);
}

.card-header {
  display: block;
  padding: 1rem;
}

.post-image-shadow {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(30%, 30%) scale(2.05);
  opacity: 0.02;
  filter: blur(1px) grayscale(1) brightness(1.5);
  z-index: 1;
}

.card.large h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
}

.card.large p {
  margin-top: 0.2rem;
  font-size: 1.1rem;
  color: var(--text-color-light);
}

/* Card medium */
.card.medium img {
  margin: auto;
  width: 200px;
  height: 133px;
  border-radius: 12px;
}

.card.medium h3 {
  margin: 0.5rem auto 0 auto;
  max-width: calc(200px + 4rem);
  font-weight: 500;
}

.relatedposts .card.medium h3 {
  font-size: 1.1rem;
  font-weight: 400;
}

/* Card small */
.card.small {
  margin: 0.5rem 0 0.5rem 0;
}

.card.small a {
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
}

.card.small h3 {
  font-size: 1.25rem !important;
  letter-spacing: -0.5px;
  font-weight: 500;
}

.card.small img {
  border-radius: 10px;
  margin: 0.2rem;
  height: 64px;
  width: 64px;
}

.card.small div {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.card.small.demi img {
  background: var(--card-background-light);
  padding: 0.5rem;
  border-radius: 10px;
  height: 80px;
  width: 80px;
}

.card.small div p {
  color: var(--text-color-light);
  padding: 3px;
  font-size: 1.0rem;
}

.card.small h3 {
  font-size: 1.2rem;
}

.card.icon {
  display: flex;
  justify-content: center;
}

.card.icon {
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
}

.card-button {
  display: flex;
  border-radius: 12px;
  padding: 0.6rem 1.6rem;
  margin: 5rem auto 5rem auto !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 500;
  font-size: 1.2rem;
  color: white !important;
  background: #4a556580 !important;
  border: 1px solid #fff3;
  border-radius: 30px;
}

.card-button:hover {
  border: 1px solid #fff3 !important;
}

.card.icon img {
  margin: auto;
  height: 80px;
}

.card.icon h3,
.card.icon div {
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 500;
}

.hover-scale:hover {
  transform: scale(1.07, 1.07);
  z-index: 20;
}

.hover-scale-5:hover {
  transform: scale(1.05, 1.05);
  z-index: 20;
}

.shine-effect {
  position: relative !important;
  overflow: hidden;
}

.shine-effect:after {
  content: "";
  position: absolute;
  top: -210%;
  left: -230%;
  width: 200%;
  height: 200%;
  opacity: 0;
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.02) 65%,
      rgba(255, 255, 255, 0.25) 70%,
      rgba(255, 255, 255, 0.0) 80%);
  pointer-events: none;
}

.shine-effect:hover:after {
  opacity: 1;
  top: -30%;
  left: -30%;
  transition-property: left, top, opacity;
  transition-duration: 0.5s, 0.5s, 0.15s;
  transition-timing-function: ease;
}

.glow-effect {
  position: relative !important;
  overflow: visible !important;
}

.glow-effect:hover:before {
  opacity: 1;
  transition: opacity .2s ease;
}

.glow-effect:before {
  content: "";
  position: absolute;
  inset: 8%;
  background-color: var(--glow-color, #eebff9);
  filter: blur(12px);
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

/* --- End cards --- */


/* Icons
  ------------------------------------------------------------ */
svg.icon {
  position: relative;
  width: 22px;
  height: 22px;
  fill: none;
}

svg.icon use {
  fill: var(--text-color);
}

.topbar svg.icon use {
  fill: var(--topbar-color)
}

svg.icon.stroke use {
  fill: none;
  stroke-width: 2px;
  stroke: var(--text-color);
}

/* --- End icons --- */


/* Underlink links
  ----------------------------------------------------------- */
.highlight-links li {
  font-size: 15px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  margin-left: 2px;
  padding-left: 8px;
  position: relative;
  cursor: pointer;
  color: var(--text-selectable);
  border-left: 1px solid var(--divider-color-lighter);
}

.highlight-links li ul {
  margin-top: 6px;
}

.highlight-links li li {
  margin-left: 10px;
}

.toc .highlight-links li {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.toc .highlight-links li li {
  padding-top: 0.15rem;
  padding-bottom: 0.25rem;
}

.highlight-links li:has(img) {
  border-left: none;
}

.highlight-links a {
  display: flex;
  align-items: center;
  width: 100%;
  line-height: 1.2rem;
}

.highlight-links a img {
  opacity: .8;
  margin-right: 12px;
  transition: all 0.2s;
  background: var(--card-background-light);
  padding: 2px;
  border-radius: 4px;
}

/* --- End underlink --- */


/* Pagination
  ------------------------------------------------------------ */
.pagination {
  margin: 1.5rem 0;
  text-align: center;
}

.pagination span {
  display: inline-block;
  min-width: 2.2rem;
  line-height: 2.2rem;
  font-size: 17px;
  color: var(--accent-color);
  background: var(--card-background);
  border: var(--card-border);
  border-radius: 8px;
  font-weight: 500;
}

.pagination a {
  display: inline-block;
  margin: 0 0.25rem;
  min-width: 2.2rem;
  line-height: 2.2rem;
  font-size: 17px;
  text-align: center;
  color: var(--text-color);
  border-radius: 8px;
}

.paging-collapse-before:before,
.paging-collapse-after:after {
  content: "...";
  position: absolute;
}

.pagination .paging-collapse-after {
  margin-right: 1.2rem;
}

.pagination .paging-collapse-after:after {
  margin-left: 1.0rem;
}

.pagination .paging-collapse-before {
  margin-left: 1rem;
}

.pagination .paging-collapse-before:before {
  margin-left: -1.6rem;
}

/* --- End Pagination --- */

/* Background
    ------------------------------------------------------------ */
.background {
  opacity: 0.25;
  position: absolute;
  inset: 0;
  height: 350px;
  width: 100%;
  overflow-x: clip;
  mask-image: linear-gradient(to bottom, var(--background) 30%, transparent 100%);
  mask-size: 250px;
  z-index: -100;
}

.background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.background::after {
  --width: calc(1600px * 0.65);
  --height: calc(1400px * 0.6);
  --center_x: 150px;
  --center_y: 0px;
  content: "";
  position: absolute;
  width: var(--width);
  height: var(--height);
  left: calc(var(--center_x) - var(--width) / 2);
  top: calc(var(--center_y) - var(--height) / 2);
  background: linear-gradient(45deg,
      var(--secundary-color) 0%,
      var(--secundary-color) 20%,
      var(--primary-color) 50%,
      var(--secundary-color) 100%);
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.95;
}

:root[data-theme=light] .background {
  opacity: 0.2;
}

:root[data-theme=light] .background::before {
  filter: brightness(1.2);
}

:root[data-theme=light] .background::after {
  filter: saturate(.4) blur(180px);
}

@media screen and (max-width: 991px) {
  .background {
    height: min(350px, calc(100vw * 0.5));
  }

  .background::before {
    background-size: 100% min(350px, calc(100vw * 0.5));
    background-repeat: no-repeat;
  }

  .background::after {
    opacity: 1;
    --width: calc(100vw);
    --height: calc(50vw);
    --center_x: 10vw;
    --center_y: 0px;
    background: linear-gradient(45deg,
        var(--secundary-color) 0%,
        var(--secundary-color) 20%,
        var(--primary-color) 50%,
        var(--secundary-color) 100%);
    border-radius: 50%;
    filter: blur(120px);
  }
}

/* --- End background --- */

/* Site header
    ------------------------------------------------------------ */
.site-header {
  padding-right: 0.5rem;
  height: var(--topbar-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all .5s;
  background: var(--topbar-background);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  background: radial-gradient(62.87% 100% at 50% 100%, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 100%);
  top: var(--topbar-height);
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
  transition: all .5s;
  opacity: 1;
}

.site-header-inner {
  margin: 0 auto 0 auto;
  height: var(--topbar-height);
  max-width: var(--page-width);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  position: relative;
}

.site-header-inner-group {
  display: flex;
    align-items: center;
}

.site-header>*,
.site-header svg.icon use {
  color: var(--topnav-color);
  fill: var(--topnav-color);
}

.site-header svg {
  opacity: .7;
}

.site-header svg:hover {
  opacity: 1 !important;
}


/* main nav */
.mainnav {
  margin-left: 2rem;
}

.mainnav ul {
  display: flex;
  flex-direction: row;
}

.mainnav>ul>li {
  position: relative;
  cursor: pointer;
}

.mainnav ul li ul {
  display: flex;
  visibility: hidden;
  flex-direction: column;
  position: absolute;
  background: #050505;
  opacity: 0;
  transition: all 0.5s;
  transform: translateY(15px);
  z-index: 100;
  border: 1px solid var(--border-color);
  min-width: 180px;
  max-width: 250px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  white-space: nowrap;
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

html[data-theme=light] .mainnav ul li ul {
  background-color: #ededed;
}


.mainnav ul li>ul li:not(:last-of-type) {
  border-bottom: 1px solid var(--border-color);
}

.mainnav li {
  padding: 5px 15px;
}


.mainnav a {
  width: 100%;
}

.mainnav li>a,
.mainnav li>span {
  position: relative;
  display: flex;
  align-items: baseline;
  font-size: 1rem;
  font-weight: 400;
}

html[data-theme=dark] header img[src$=".svg"] {
  filter: drop-shadow(0 0 4px #0004);
}

@media (max-width: 1150px) {
  .mainnav li {
    padding: 5px 10px;
  }
}

.mainnav li>span:after {
  position: relative;
  margin-right: 5px;
  vertical-align: center;
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  content: "";
  display: inline-block;
  height: 0.45em;
  width: 0.45em;
  left: 0.45em;
  top: -0.25em;
  transform: rotate(135deg);
}

/* Top logo */
.toplogo-container {
  color: var(--topnav-color);
  cursor: pointer;
  max-width: 500px;
  display: flex;
  align-items: center;
  transition: transform 300ms ease;
  text-shadow: 0 0 5px var(--background);
}

.toplogo-container img {
  margin: auto 1em;
  border-radius: 32px;
  border: 1px solid #fff7;
  transition: transform 300ms ease;
}

.toplogo-container:hover {
  transform: scale(1.05, 1.05);
}

.toplogo-container a p:first-child {
  line-height: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* --- End header --- */


/* Bottom bar
  ------------------------------------------------------------ */
.bottombar {
  background: var(--bottombar-background);
  padding: 5px 10px;
}

.bottombar div {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  text-align: center;
  background: var(--bottombar-background);
  color: var(--bottombar-color);
  justify-content: space-between;
}

@media screen and (max-width:991px) {
  .bottombar div {
    flex-direction: column;
  }
}

.bottombar li {
  display: inline-block;
}

.bottombar li:not(:last-child)::after {
  content: "|";
  vertical-align: 2px;
  margin-left: 10px;
  margin-right: 5px;
}


/* --- End bottom bar --- */



/* Cover
  ------------------------------------------------------------ */
/* rename to cover */
header.section {
  text-align: center;
}

header.section h1 {
  display: block;
  width: fit-content;
  color: white;
  background: var(--gradient-primary);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  margin: 0.5rem auto 0.7em auto;
  font-size: 1.5rem;
}

header.section p {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* --- End cover --- */


/* --- ICONS --- */
.signal-icon {
  height: 0.9rem;
  width: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.signal-icon .signal-bar {
  width: 20%;
  opacity: 30%;
}

.signal-icon.easy .signal-bar {
  background: #00c853;
}

.signal-icon.medium .signal-bar {
  background: #e6a308;
}

.signal-icon.hard .signal-bar {
  background: #e30062
}

.signal-icon .signal-bar:nth-child(1) {
  height: 30%;
}

.signal-icon .signal-bar:nth-child(2) {
  height: 65%;
}

.signal-icon .signal-bar:nth-child(3) {
  height: 100%;
}

.signal-icon.easy .signal-bar:nth-child(1),
.signal-icon.easy .signal-bar:nth-child(2),
.signal-icon.medium .signal-bar:nth-child(1),
.signal-icon.medium .signal-bar:nth-child(2),
.signal-icon.hard .signal-bar:nth-child(1),
.signal-icon.hard .signal-bar:nth-child(2),
.signal-icon.hard .signal-bar:nth-child(3) {
  opacity: 100%;
}

/* --- End icons --- */


/* --- Lenguaje selector --- */
.language-selector {
  position: relative;
  cursor: pointer;
}

.language-selector>span {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.language-selector>ul {
  position: absolute;
  top: 2rem;
  width: 100%;
  right: 0;
  min-width: 100px;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  background: var(--background);
  box-shadow: var(--shadow);
  border-radius: 8px;
  transition: all 0.3s;
  transform: translateY(15px);
  border: 1px solid var(--border-color);
  z-index: 100;
}

.language-selector>ul a {
  padding: 12px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--text-color);
}

/* --- End Lenguaje selector --- */


/* --- Hamburguer mobile button --- */
.mobile-button {
  height: 48px;
  width: 48px;
  display: none;
  position: relative;
  background: transparent;
  border: 0;
  transform: scale(0.8);
}

.mobile-buttonspan,
.mobile-buttonspan:before,
.mobile-buttonspan:after {
  height: 3px;
  width: 26px;
  display: block;
  position: relative;
  margin: auto;
  background: var(--topnav-color);
  border-radius: 3px;
  transform: rotateZ(180deg);
  transition: all 0.5s ease;
}

.mobile-buttonspan:before,
.mobile-buttonspan:after {
  content: " ";
  position: absolute;
  left: 0;
  top: -8px;
  transform: rotateZ(0deg);
  transform-origin: 5px 2px;
}

.mobile-buttonspan:after {
  top: 8px;
}

/* --- End hamburguer mobile icon --- */


/* Generic
  ------------------------------------------------------------ */
.centered {
  margin-left: auto !important;
  margin-right: auto !important;
}

.grid {
  display: grid;
}

.g-c2 {
  grid-template-columns: repeat(2, 1fr);
}

.g-c3 {
  grid-template-columns: repeat(3, 1fr);
}

.g-c4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.g-c5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem
}

.g-c6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem
}

.g-c8 {
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem
}

@media screen and (max-width:991px) {

  .g-c2,
  .g-c3 {
    grid-template-columns: 100%
  }

  .g-c4,
  .g-c5,
  .g-c6,
  .g-c8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.f-c1>* {
  flex: 100%;
}

.f-c2>* {
  flex: 50%;
}

.f-c3>* {
  flex: 33%;
}

.f-c4>* {
  flex: 25%;
}

.f-c5>* {
  flex: 20%;
}

@media screen and (max-width:991px) {

  .f-c2>*,
  .f-c3>*,
  .f-c4>*,
  .f-c5>* {
    flex: 100%;
  }
}

.s-only,
.m-only {
  display: none;
}

.l-only {
  display: inline-block;
}

@media screen and (max-width:1350px) {

  .s-only,
  .l-only {
    display: none;
  }

  .m-only {
    display: inline-block;
  }
}

@media screen and (max-width:991px) {

  .m-only,
  .l-only {
    display: none;
  }

  .s-only {
    display: inline-block;
  }
}

p.big {
  font-size: 1.6rem;
  font-weight: 500;
}

p.intro {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 1rem auto;
}

.m-t1 {
  margin-top: 1rem !important;
}

.m-t3 {
  margin-top: 3rem !important;
}

.m-t6 {
  margin-top: 6rem !important;
}

.m-b1 {
  margin-bottom: 1rem !important;
}

.m-b3 {
  margin-bottom: 3rem !important;
}

.p-a1 {
  padding: 1rem !important;
}

.lll_btn {
  color: white !important;
  margin: auto;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  vertical-align: middle;
  user-select: none;
  padding: 0 2rem;
  height: 40px;
  line-height: 40px;
  border-radius: 99px;
  border: none;
  background-image: var(--gradient-primary);
  color: var(--white);
  transition: all .25s;
  align-items: center;
  opacity: 1;
  cursor: pointer;
}

.lll_btn:hover {
  text-decoration: underline !important;
}

.icon-item {
  --icon-size: 1.25em;
  --icon-color: var(--text-color-light);
  width: var(--icon-size);
  height: var(--icon-size);
  background: var(--icon-color);
  flex: 0 0 var(--icon-size);
  mask: var(--icon) no-repeat center;
  mask-size: var(--icon-size);
}

/* --- End generics --- */

/* --- View transition --- */
@view-transition {
  navigation: auto;
}

.articlecontent {
  view-transition-name: articletransition
}

::view-transition-old(articletransition) {
  animation: .15s linear forwards transitionanimation
}

::view-transition-new(articletransition) {
  animation: .15s linear reverse transitionanimation
}

@keyframes transitionanimation {
  0% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* --- End view transition --- */

.search-button {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
  background-color: rgba(120, 120, 120, 0.148);
  border: none;
  border: var(--card-border);
  color: var(--text-color);
  border-radius: 8px;
  padding: .3rem .5rem;
  cursor: pointer;
  width: 450px;
  z-index: 2;
  margin: auto;
}

:root[data-theme=light] .search-button {
  background-color: rgba(184, 184, 184, 0.5);
}

.search-button:hover {
  background-color: rgba(31, 31, 31, 0.565);
  outline: none !important;
  color: white !important;
  box-shadow: 0 0 4px #719ECE;
}

.search-button span {
  font-size: 0.8rem;
  opacity: 0.4;
}

.search-button svg {
  margin: 0 !important;
  opacity: .6;
  padding: 0;
  top: 0;
  width: 20px;
  height: 20px;
}

.site-header--inner .search-button {
  display: none
}

/* Breadcumbs
  ------------------------------------------------------------ */
.breadcumbs {
  width: 100%;
  /* Asegura que el contenedor ocupe el 100% del ancho */
  overflow-x: auto;
  /* Permite el desplazamiento horizontal */
}

.rowcontent.narrow .breadcumbs {
  padding-top: .7rem;
}

.breadcumbs ul {
  display: flex;
  overflow: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.breadcumbs ul li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.breadcumbs ul li+li:before {
  content: '';
  margin: 0.2rem .3rem 0.12rem .3rem;
  display: inline-flex;
  border-bottom: 2px solid var(--text-selectable);
  border-right: 2px solid var(--text-selectable);
  height: 0.4rem;
  width: 0.4rem;
  transform: rotate(-45deg);
  opacity: 0.6;
}

.breadcumbs ul li a {
  display: flex;
  place-items: center;
  color: var(--text-selectable);
  font-size: 1rem;
  border-radius: 50px;
  padding: 0.1rem 0.3rem;
}

.breadcumbs ul li a:hover {
  color: var(--text-color-dark);
}

.breadcumbs svg {
  width: 1.1rem;
  height: 1.1rem;
  opacity: .8;
  margin-right: 0.3rem;
  margin-left: 0;
}

.breadcumbs svg use {
  fill: currentColor;
}

@media (max-width: 991px) {
  .breadcumbs ul {
    margin-top: 0rem;
  }
}

/* --- End breadcumbs --- */
hr {
  border: 0;
  margin: 0;
  border-top: 1px solid var(--divider-color-lighter);
}

.header-image {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.top-social {
  border-left: 1px solid #9999;
  display: flex;
}

.top-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  width: 32px;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.top-social .social-icon svg {
  height: 18px;
  width: 18px;
}


@media (max-width: 1350px) {
  .search-button {
    width: 350px;
  }
}


@media screen and (max-width: 1100px) {
  .toplogo-container a p:first-child {
    line-height: 1.6rem;
    font-size: 1.4rem;
  }

  .toplogo-container img {
    width: 32px;
    height: 32px;
  }
}


@media (max-width: 1250px) {
 .search-button {
    width: 32px !important;
    background: transparent;
    border: none;
    padding: .2rem;
    opacity: 1;
  } 

  .site-header-inner-group {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .mainnav ul {
    justify-content: flex-end;
    margin-right: 8px;
  }
  .topbar-settings {
    display: none;
  }

  .top-social {
    display: none;
  }

  .search-button {
    flex: 0 1 32px;
    order: 2;
  }

  .search-button span {
    display: none;
  }

  .search-button svg {
    opacity: 1;
    height: 24px;
    width: 24px;
    stroke: 4px;
  }

  .site-header--inner .search-button {
    display: inline-block;
  }

  .topbar {
    gap: 4px;
  }

  .topbar .topbar-inner {
    gap: 0;
  } 
}


@media (max-width: 991px) {
  .mobile-button {
    display: block;
  }

  .search-button {
      transform: scale(0.85);
  }

  .site-header-inner {
     grid-template-columns: 1fr auto auto auto;
  }

  .topbar .topbar-inner {
    display: none;
  }  

  .top-social {
    display: none;
  } 


  body[data-pos="mid"] .site-header,
  body[data-pos="bottom"] .site-header {
    --topnav-color: #fafafa;
    background: transparent
  } 

  body[data-scroll="down"] .site-header {
    transform: translateY(-50px);
  }
}

@media screen and (max-width: 800px) {
  .mainnav {
    display: none;
  }
}
