#gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  --gradient-color-1: #FB548A;
  --gradient-color-2: #704d9f; 
  --gradient-color-3: #FB548A;
  --gradient-color-4: #704d9f;
  /* --gradient-color-4: #54cbe8; */
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0% 90%);
}

p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
}

/* Contenido encima del WebGL */
.contenido-inicio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.inicio-texto {
  flex: 1;
  max-width: 50%;
  color: white;
}

.inicio-texto h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.resaltado {
  display: inline-block;
  background: linear-gradient(to left, #FB548A, #704d9f, #FB548A, #704d9f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgb(rgba(255, 255, 255, 0.066));
}

.inicio-texto p {
  font-size: 1.2rem;
  color: #f3f4f6;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.formulario-email {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.formulario-email input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  outline: none;
  flex: 1;
  min-width: 240px;
  /* border: 1px solid black; */
  box-shadow: 10px 10px 5px 0px rgba(49, 49, 49, 0.52);
-webkit-box-shadow: 10px 10px 5px 0px rgba(21, 20, 20, 0.52);
-moz-box-shadow: 10px 10px 5px 0px rgba(163,163,163,0.52);
}

.formulario-email button {
  background-color: #111827;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario-email button:hover {
  background-color: black;
}

.inicio-imagen {
  flex: 1;
  max-width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inicio-imagen img {
  width: 100%;
  max-width: 770px;
  height: 100%;
  border-radius: 1.5rem;
  object-fit: contain;
  /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); */
}

/* Responsive */

/* @media (max-width: 500px) {
  .inicio-imagen img {
    width: 0px;
    height: 0px;
  }
} */

@media (max-width: 1024px) {
  #gradient-canvas {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);}
  .contenido-inicio {
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
  }

  .inicio-texto {
    padding-top: 30px;
  }

  .inicio-texto, .inicio-imagen {
    max-width: 100%;
  }

  .inicio-texto h1 {
    font-size: 2.2rem;
  }

  .inicio-texto p {
    font-size: 1.1rem;
    margin: 1rem auto;
  }

  .formulario-email {
    flex-direction: column;
  }

  .formulario-email input,
  .formulario-email button {
    width: 100%;
  }

  .inicio-imagen img {
    margin-top: 2rem;
  }
}


@media (max-width: 1024px) {
  #gradient-canvas {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  .contenido-inicio {
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    padding-top: 100px;
  }

  .inicio-texto {
    padding-top: 20px;
    max-width: 100%;
  }

  .inicio-texto h1 {
    font-size: 2.2rem;
  }

  .inicio-texto p {
    font-size: 1.1rem;
    margin: 1rem auto;
  }

  .formulario-email {
    flex-direction: column;
    align-items: center;
  }

  .formulario-email input,
  .formulario-email button {
    width: 100%;
  }

  .formulario-email input {
    margin-bottom: 1rem;
  }

  /* Ocultar la imagen en tablets y móviles */
  .inicio-imagen {
    width: 0;
    height: 0;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
    /* Asegurarse de que la imagen siga oculta y la sección de texto ocupe todo el ancho */
    .inicio-texto {
        max-width: 100%;
    }
    .inicio-imagen {
        display: none;
    }
}

/* Media query para móviles pequeños, por debajo de 500px */
@media (max-width: 500px) {
  .contenido-inicio {
    padding: 2rem 1rem;
    padding-top: 100px;
  }

  .inicio-texto h1 {
    font-size: 1.8rem;
  }

  .inicio-texto p {
    font-size: 1rem;
  }
}