/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Añadir transiciones y ajustar el posicionamiento */
/* Estilos para el encabezado y el menú */
body {
  font-family: "Inter", sans-serif;
  background: #0e0b17;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: inherit;
}

.touch-button a {
  width: 100%;
  display: block;
}

.touch-button:active {
  transform: scale(0.98);
  outline: none;
}

@media (hover: none) {
  .touch-button {
    touch-action: manipulation;
    outline: none;
  }
}

.dimensions a {
  display: block;
  width: 100%;
  padding: 30px 30px 30px 20px;
}

*:focus {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  height: 100px;
  top: 30px;
  width: 100%;
  z-index: 1000;
  background-color: #f4f4f400;
}

.logo {
  font-size: 50px;
  font-weight: bold;
  color: #e058dd;
  /* transition: width 0.3s ease; */
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.2s;
  z-index: 9999;
}
.logo a {
  color: #e058dd;
  transition: all 0.2s;
}
.logo a:hover {
  letter-spacing: 10px;
  transition: all 0.2s;
  outline: none;
}

.plus-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.plus-btn:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%;
  background-position: top, bottom, left, right;
  background-repeat: no-repeat;
}

.plus-btn span {
  position: absolute;
  margin: 45% 10%;
  width: 80%;
  height: 13%;
  background: #e058dd;
  pointer-events: inherit;
  transition: transform 0.3s;
}

.plus-btn span:first-child {
  transform: rotate(0deg);
}
.plus-btn span:last-child {
  transform: rotate(90deg);
}

.parent.active .plus-btn span:first-child {
  transform: rotate(-45deg);
}
.parent.active .plus-btn span:last-child {
  transform: rotate(45deg);
}

#menuContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

.menu {
  position: fixed;
  max-height: 100vh;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #7fff00;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 140px 50px 50px 50px;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 999;
  outline: none;
}

.menu.show {
  max-height: 100vh;
  opacity: 1;
  visibility: visible;
  padding: 140px 50px 50px 50px;
  z-index: 998;
}

/* This class will hide the menu by moving it up */
.hide-menu {
  transform: translateY(-100%);
}

/* Show the menu again by resetting its position */
.show-menu {
  transform: translateY(0);
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu li {
  padding: 8px 0;
}

.menu a {
  font-weight: bold;
  font-size: 32px;
  line-height: 1;
  color: #0e0b17;
  transition: all 0.2s;
}
.menu a:hover {
  color: #803fff;
  font-size: 2rem;
  transition: all 0.2s;
}

.elastic-header {
  font-weight: bold;
  margin-bottom: 10px;
}

/* ////// */

/* FOOTER */
footer {
  background-color: #7bff57; /* Color de fondo del footer */
  padding: 50px 20px;
  color: #0e0b17;
  text-align: left;
}

footer a {
  color: #0e0b17 !important;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.footer-links ul li {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-policy a {
  color: #0e0b17;
  text-decoration: none;
  font-size: 16px;
}

.footer-policy a:hover {
  text-decoration: underline;
}

.footer-info {
  font-size: 12px;
  line-height: 1.5;
}

footer#site-footer {
  visibility: hidden;
  height: 0px;
  padding: 0px;
}

/* Media Queries */
@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  .footer-links ul li {
    font-size: 16px;
  }

  .footer-policy,
  .footer-info {
    font-size: 10px;
  }

  header {
    padding: 10px 20px;
    height: 64px;
    top: 0;
  }
}

/* Funcionalidad MENU */

.fixed-menu {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
}
