* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", "serif";
}

:root {
  --menu-bg-color: #ffffff;
  /* Color por defecto */
  --menu-text-color: #000000;
  /* Color por defecto */


}

body {

  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  color: var(--menu-text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--menu-text-color);

}

body.loading main {
  display: none;

}

.logoEstudio {
  padding-top: 2rem;
  width: 40%;

}

h1 {
  color: #98C93A;
  font-size: 3.5rem;
  text-align: center;
}

.tituloMenu {
  color: var(--menu-text-color);
  margin: 30px;
  font-size: 4rem;
  text-align: center;

  font-weight: 400;

}

.totalBody {


  max-width: 720px;

  background-color: var(--menu-bg-color);

  display: flex;
  flex-direction: column;

}

#pantalla-carga {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  transition: opacity 0.4s ease;
}

.sectionTotal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.imagenTotal {
  width: 100%;
}

.imagen_1 {
  width: 100%;

}

.imagen_2 {
  width: 100%;
  margin-bottom: 2rem;
}

.imagen_3 {
  width: 100%;
  margin-bottom: 0.5rem;
}

nav {
  background-color: var(--menu-bg-color);
}

nav a {
  all: unset;
  display: inline-block;
  /* Permite aplicar altura */
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--menu-bg-color);
  background-color: var(--menu-text-color);
  border-radius: 10px;
  padding: 2px 14px 3px 14px;


}




nav a:active {
  transform: scale(1.2);
  background-color: rgb(216, 52, 52);

}

header {


  width: 100%;

  /* Ajusta el color si es necesario */




}

nav {

  padding: 10px 10px;
  position: sticky;
  top: 35px;


  overflow: hidden;
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-shadow: 0px 12px 6px 1px rgb(0 0 0 / 20%);


}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-around;
}



.contenedor_h2 {
  display: flex;
  justify-content: center;

}

.boton-subir {
  border: 2px solid var(--menu-text-color);
  position: fixed;

  bottom: 40px;
  right: 35px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--menu-bg-color);
  color: var(--menu-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 0 11px 7px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.boton-subir.visible {
  opacity: 1;
  pointer-events: auto;
}

.visible:active {
  background-color: #00502f;
  scale: 1.2;
}

.contFlecha {

  opacity: 0;

  position: fixed;
  bottom: 20px;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--menu-bg-color);
  color: var(--menu-text-color);
  border: 2px solid var(--menu-text-color);
  box-shadow: 5px 3px 6px rgb(37, 36, 36);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;

  cursor: pointer;
  z-index: 1000;
}

.flecha {
  opacity: 0;
  display: none;
  font-family: sans-serif;
  font-size: 2.5rem;
  all: unset;

}




h2 {
  font-size: 3rem;
  font-weight: 800;

  text-align: center;




  color: var(--menu-text-color);


}

.linea {
  height: 1px;
  background-color: #000000;

  margin: 0 0.5rem;

}

.linea_1 {

  margin: 0 20px 10px 20px;
  border-bottom: 2px dotted var(--menu-text-color);
}

.linea_2 {

  margin: 0 50px;
  border-bottom: 1px solid color-mix(in srgb, var(--menu-text-color) 30%, transparent);

}

.contDatos {
  display: flex;
  width: 100%;
  gap: 1rem;
}

.datos {
  flex: 0 0 65%;
  max-width: 65%;
  padding-left: 16px;
  display: flex;
  flex-direction: column;

}

.datos p {
  padding-top: 10px;
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
}

.datos h3 {
  font-size: 26px;
  padding-bottom: 3px;
  font-weight: 800;
}

.precio {
  flex: 1;


  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
}

h5 {
  font-size: 20px;
  font-weight: 500;

}

.data {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.foto {
  width: 110px;
  height: 110px;
  border: 4px solid var(--menu-text-color);
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--menu-text-color);
  box-shadow: 3px 3px 15px rgb(129, 129, 129);






}

/*------------Footer---------------*/

footer {

  color: var(--menu-text-color);
  padding: 20px 10px;
  margin-top: 2rem;


}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}


.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;


}

.footer-info p {
  font-size: 16px;
}

.ico {
  font-size: 1.3rem;
}

.footer-container h3 {
  font-size: 2.2rem;
  text-align: center;
  font-weight: 400;
  color: var(--menu-text-color);
  border: 1px solid var(--menu-bg-color);
  padding: 2px 10px 2px 10px;
  border-radius: 10px
}

.copy {
  margin-top: 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}


.redes {
  padding-top: 0.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;


}

.redes a {
  font-size: 2rem;
}


.footer-container a {

  color: var(--menu-text-color);
  text-decoration: none;

}

.footer-container a:active {
  transform: scale(1.2);
  color: rgb(216, 52, 52);

}

.footer-copy {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.7;
  text-align: center;
}

.copy a {

  text-decoration: none;

}

.pulse-elegante {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--menu-text-color);
  animation: pulse 3s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}


.copy a:active {

  transform: scale(1.2);
  color: #00502f;

}

.contwifi {
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;

  align-items: center;
}

#wifiInfo {
  margin-top: 20px;
  padding: 20px;


  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.contInfoWifi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

canvas {
  margin-top: 15px;
}

.botonWifi {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background: var(--menu-text-color);
  color: var(--menu-bg-color);
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: var(--menu-bg-color);
  color: var(--menu-text-color);
  box-shadow: 5px 5px 5px rgb(68, 68, 68);
}

.botonWifi:active {
  background-color: rgb(216, 52, 52);
  
}


@media (max-width: 500px) {
  .foto {
    width: 90px;
    height: 90px;
  }
}