.menu-estraperlo {
  transition: .3s ease;
  position: fixed;
  width: 100%;
  top: 0;
  background-color: color-mix(in srgb, var(--color-page) 70%, transparent);
  height: 60px;
  z-index: 99;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.ghost-header {
  height: 60px;
}
  
.menu-top {
  display: flex;
  height: 60px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.menu-estraperlo .dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 60px;
  height: 100dvh;
  padding-bottom: 60px; /* Compensa los 60px del menu-top para centrar más arriba */
}

.menu-estraperlo .gtranslate_wrapper * {
  color: var(--color-text);
}

.menu-estraperlo .gtranslate_wrapper {
  display: flex;
  gap: 20px;
}

.menu-estraperlo .dropdown ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu-estraperlo .dropdown ul li,
.menu-estraperlo .dropdown ul li a {
  font-size: 40px;
  color: var(--color-text);
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
}


.menu-estraperlo .right {
  display: flex;
  gap: 10px;
  padding-right: 20px;
}

@media (max-width: 1000px) {
  .menu-estraperlo .right {
    display: none;
  }

.menu-estraperlo .dropdown ul li a {
  font-size: 30px;
}

}

.menu-estraperlo .right button {
  color: var(--color-text);
  font-size: 16px;
  font-weight: bold;
}

.logo {
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  margin: auto;
  width: fit-content;
}

.menu-opened {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
}


.active.menu-estraperlo {
  height: 100dvh;
  max-height: 1000px;
  
}


.burger {
  position: relative;
  width: 25px;   /* ancho de las barras */
  height: 18px;  /* altura del botón un poco más ajustada */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 20px;
}

.burger span {
  display: block;
  height: 2px;            /* grosor de las barras */
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateZ(0); /* Fuerza renderizado por GPU para evitar inconsistencias de píxeles */
}

/* Estado activo: cruza las barras equitativamente */
.active .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.active .burger span:nth-child(2) {
  opacity: 0;
}

.active .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 1000px) {
  .menu-estraperlo {
    transition: none !important;
  }
  .ghost-header {
    height: 0;
  }
  .active.menu-estraperlo {
    transition: none !important;
  }
}
