
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --header-height: 3.5rem;
  --header-height2: 4.5rem;
  --first-color: #86ff05;
  --color-grisclaro: #ecebed;
  --first-color-lighten: hsl(0, 0%, 11%);
  --text-color1: hsl(0, 0%, 100%);
  --text-color2: hsl(0, 0%, 0%);
  --body-color: #ffffff;
  --body-font: "Poppins", sans-serif;
  --normal-font-size: 1.150rem;
  --small-font-size: 1.150rem;
  --smaller-font-size: .75rem;
  --font-medium: 600;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 1000;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1.25rem;
    --small-font-size: 1.050rem;
    --smaller-font-size: .850rem;
  }
}


* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  color: var(--text-color1);
  background: #000000;

}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* HEADER Inicio*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(0, 0%, 8%, 0.552);
  background: transparent;
  background: #0c0c0cd3;
  backdrop-filter: blur(8.85px);
  z-index: var(--z-fixed);
}

/* NAV */
.nav {
  height: var(--header-height);
}

.nav__list{
  font-size: 1.050rem;
  font-family: "Poppins",sans-serif;
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 100px;
}

.nav__logo {
  width: 150px; /* Mantener el ancho original */
  height: auto;
  display: block;
  margin-left: 85px;
  position: relative;
}

.logo-containerr {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: -25px;
  margin-left: -350px;
}

.logo-containerrr {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: -25px;
  margin-left: -85px;
}

.logo-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  /* Efecto visual opcional */
  filter: drop-shadow(0 0 2px rgba(34, 34, 31, 0.5));
  transition: transform 0.35s ease-out;
}

/* Efecto hover opcional */
.nav__logo:hover .logo-image {
  transform: scale(1.05);
}


.nav__logo {
  width: 150px; /* Ajusta el ancho según tus necesidades */
  height: auto; /* Permitirá mantener la relación de aspecto */
  object-fit: contain; /* Ajusta el objeto dentro del contenedor */
  display: block; /* Evita espacios innecesarios alrededor del logo */
  margin-left: 85px;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__toggle-menu, .nav__toggle-close {
  font-size: 1.25rem;
  color: var(--text-color1);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
  opacity: 0;
}

@media screen and (max-width: 1118px) {
  .nav__menu {
    background: transparent;
    background: #050505cd;
    backdrop-filter: blur(8.85px);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }

  .nav__menu::-webkit-scrollbar-thumb {
    background-color: #86ff05;
  }
}

.nav__link {
  color: var(--text-color1);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s ease-out;
  text-decoration: none;
}

.nav__link:is(:hover, :focus-visible) { 
  color: #ffffff;
  transform: translateY(-3px);
  text-decoration: none;
}

.nav__link:hover::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--first-color);
  color: #eff0f3;
  position: absolute;
  bottom: 30px;
  left: 0;
  transition: width 0.25s ease-out;
}

/* Asegurarse de que la línea desaparezca al dejar de hacer hover en .nav__link */
.nav__link::after {
  content: "";
  display: block;
  height: 3px;
  width: 0; /* Inicialmente oculta la línea */
  background: linear-gradient(90deg, #86ff05, #ffee00);
  position: absolute;
  bottom: 30px;
  left: 0;
  transition: width 0.25s ease-out;
}

.nav__link:hover::after {
  width: 100%; /* Muestra la línea al hacer hover en .dropdown__title */
}

.nav__buscador {
  color: var(--text-color1);
  font-weight: var(--font-semi-bold);
  padding: 1.5rem -5rem;
  left: -85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  transition: color 0.25s ease, transform 0.25s ease-out;
}

.nav__buscador:hover {
  color: var(--first-color);
  transform: translateY(-2px);
}

/* Monstrar menu drop */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Mostrar iconos */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/*DROPDOWN*/
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: all 0.4s ease-in-out;
  color: #86ff05;
}

.dropdown__content, .dropdown__group, .dropdown__list {
  display: grid;
}

.dropdown__container {
  background: transparent;
  background: #000000f1;
  backdrop-filter: blur(8.85px);
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.dropdown__content {
  row-gap: 1.75rem;
}

.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}

.dropdown__group:first-child {
  margin-top: 1.25rem;
}

.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__icon i {
  font-size: 1.85rem;
  color: var(--first-color);
  background-color: var(--first-color-lighten);
}

.dropdown__title {
  font-size: 1.750rem;
  font-weight: var(--font-semi-bold);
  color: #ffffff;
}

.dropdown__list {
  row-gap: 0.25rem;
}

.dropdown__link {
  font-size: 1.250rem;
  font-weight: var(--font-normal);
  color: var(--text-color1);
  transition: all 0.35s ease-out;
  list-style: none;
}

.dropdown__link:is(:hover, :focus-visible) { 
  color: #05fe16;
  transform: translateY(-3px);
  text-decoration: none;
}

.dropdown__link:hover::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #86ff05, #ffee00);
  color: #eff0f3;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.25s ease-out;
}

/* Asegurarse de que la línea desaparezca al dejar de hacer hover en .dropdown__link */
.dropdown__link::after {
  content: "";
  display: block;
  height: 3px;
  width: 0; /* Inicialmente oculta la línea */
  background-color: var(--body-color);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.25s ease-out;
}

.dropdown__link:hover::after {
  width: 100%; /* Muestra la línea al hacer hover en .dropdown__title */
}

/* Rotacion  dropdown de iconos */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}


@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}

@media screen and (min-width: 1118px) {
  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2.25rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__logo{
    width: 10rem;
    object-fit: cover;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }

  .nav li {
    display: flex;
  }

  .nav__link {
    padding: 0;
  }

  .nav__link:hover {
    background-color: initial;
  }

  .nav__buscador{
    padding: 0;
  }

  .nav__buscador:hover {
    background-color: initial;
  }

  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }
  
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background: transparent;
    background: #000000d5;
    backdrop-filter: blur(8.85px);;
    box-shadow: 0 6px 8px hsla(0, 0%, 0%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s ease-in-out;
  }

  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }

  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }

  .dropdown__group:first-child, .dropdown__group:last-child {
    margin: 0;
  }

  .dropdown__list {
    row-gap: 0.75rem;
  }

  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }

  .dropdown__icon i {
    font-size: 2rem;
  }

  .dropdown__title {
    font-size: var(--normal-font-size);
  }

  .dropdown__link {
    font-size: var(--small-font-size);
  }

  .dropdown__link:hover {
    color: var(--color-grisclaro);
  }

  .dropdown__item {
    cursor: pointer;
  }

  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}

@media (max-width: 992px) {

  .nav__data{
    height: 30px;
  }

  .nav__toggle {
    font-size: 1.55rem;
    color: var(--text-color1);
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
    margin-left: 360px;
    margin-top: 6px;
  }

  .nav__buscador {
    color: var(--text-color1);
    font-weight: var(--font-semi-bold);
    padding: 1.5rem -5rem;
    margin-left: 175px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    transition: color 0.25s ease, transform 0.25s ease-out;
}

  .nav__logo {
    margin-left: -135px;
    margin-top: 32.5px;
  }

  .logo-containerrr {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: -25px;
    margin-left: 60px;
  }

  .nav__link {
    color: var(--text-color1);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.35s ease-out;
    text-decoration: none;
  }
  
  .nav__link:is(:hover, :focus-visible) { 
    color: #ffffff;
    transform: translateY(-3px);
    text-decoration: none;
  }
  
  .nav__link:hover::after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--first-color);
    color: #eff0f3;
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: width 0.25s ease-out;
  }
  
  /* Asegurarse de que la línea desaparezca al dejar de hacer hover en .nav__link */
  .nav__link::after {
    content: "";
    display: block;
    height: 3px;
    width: 0; /* Inicialmente oculta la línea */
    background-color: var(--body-color);
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: width 0.25s ease-out;
  }
  
  .nav__link:hover::after {
    width: 100%; /* Muestra la línea al hacer hover en .dropdown__title */
  }
}

@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}

element.style {
  height: 294.849px;
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 9.49091, 0, 1);
}

