/* From Uiverse.io by bociKond */
.form {
    --bg-light: #efefef;
    --bg-dark: #707070;
    --clr: #58bc82;
    --clr-alpha: #9c9c9c60;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin-left: 40px;
  }

  .form .input-span {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .form input[type="email"],
  .form input[type="password"] {
    border-radius: 0.5rem;
    padding: 1rem 0.75rem;
    width: 100%;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--clr-alpha);
    outline: 2px solid var(--bg-dark);
    font-size: large;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: antiquewhite;
  }

  .form input[type="email"]:focus,
  .form input[type="password"]:focus {
    outline: 2px solid var(--clr);
  }

  .label {
    align-self: flex-start;
    color: var(--clr);
    font-weight: 600;
  }

  .form .submit {
    padding: 1rem 0.75rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 3rem;
    background-color: var(--bg-dark);
    color: var(--bg-light);
    border: none;
    cursor: pointer;
    transition: all 300ms;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .form .submit:hover {
    background-color: var(--clr);
    color: var(--bg-dark);
  }

  .span {
    text-decoration: none;
    color: var(--bg-dark);
  }

  .span a {
    color: var(--clr);
  }


  @media (min-width: 800px) {
	.margenN1 {
		margin-left: 20%;
		margin-right: 20%;
	}
}

@media (max-width: 800px) {
	.margenN1 {
		margin-left: 5%;
		margin-right: 5%;
	}
}

.textoCentro{

    width: 100%;
  }

  .contenedorAmedida{
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    border: #58bc82;
    border-width: 2px;

  }

  .contenedorancho{
    width: 400px;
  }

  .formMargin{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }

  .tituloMta{
    text-align: center;
    padding-left: 25%;
    padding-right: 25%;
    color: aqua;
    font-size: xx-large;
    box-shadow: 0px 0px 1px rgb(255, 255, 255); 
    border-radius: 5px;
    text-shadow: -3px -3px 15px rgb(0, 255, 255);
    justify-content: center;
  }
  .canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Ocupa todo el ancho */
    height: 100%; /* Ocupa todo el alto */
    z-index: -1; /* Envía el canvas al fondo */
    opacity: 0.3;
}

#contenido {
  position: relative; /* Asegura que el contenido se superponga correctamente */
  z-index: 1; /* Se coloca encima del canvas */
  color: black; /* Ajusta el color del texto para contraste */
  text-align: center;
  margin-top: 50px;
}

#loading-container {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Asegura que esté encima de todo */
}

#loading {
  width: 20vw; /* Ajusta el tamaño según necesites */
  border-radius: 15px;
  max-width: 200px;
  opacity: 80%;
}


.movie-card {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  width: 300px;
  text-align: center;
  background-color: #f9f9f9;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.movie-card img {
  width: 100%;
  border-radius: 10px;
}

.movie-card h2 {
  font-size: 18px;
  margin: 10px 0;
}

.movie-card p {
  font-size: 14px;
  margin: 5px 0;
}

.close-btn {
  /* position: absolute; */
  top: 5px;
  right: 5px;
  background: rgb(221, 163, 163);
  color: white;
  border: none;
  font-size: 16px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}
.close-btn:hover {
  background: darkred;
}

.wrapper{
  height: 100dvh;
}