@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

section {    
 display: flex;
 justify-content: center;
 align-items: center;
  min-height: 100vh;
  background: url("../img/luces.jpg") no-repeat;
  background-size:cover;
  background-position: center;
  animation: fondoAnimado 5s linear infinite;

}

.logo img{
    width: 200px;
}
@keyframes fondoAnimado {
  100% {
    filter: hue-rotate(360deg);
  }
}
.cont-login {
  position: relative;
  width: 400px;
  height: 450px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
}

.cont-input {
  position: relative;
  width: 310px;
  margin: 30px 0;
  border-bottom: 2px solid #fff;
}

.cont-input label {
  position: absolute;
  top: 40%;
  left: 5px;
  transform: translateY(-25%);
  font-size: 1rem;
  color: #ffffff;
  pointer-events: none;
  transition: 0.5s;
}

.cont-input input:focus ~ label,
.cont-input input:valid ~ label {
  top: 1px;
}

.cont-input input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #ca870b;
  padding: 0 35px 0 5px;
}

.cont-input .icono {
  position: absolute;
  right: 8px;
  color: #fff;
  font-size: 1.2em;
  line-height: 57px;
}

button {
  width: 100%;
  height: 40px;
  background: #fff;
  border: none;
  outline: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1em;
  color: #000;
  font-weight: 500;

  transition: 0.5s;
}

button:hover {
  transform: scale(0.9);
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.registro {
  font-size: 0.9em;
  color: #fff;
  text-align: center;
  margin: 25px 0 10px;
}

.registro p a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.registro p a:hover {
  text-decoration: underline;
}

@media (max-width: 360px) {
  .cont-login {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 0;
  }

  .cont-input {
    width: 290px;
  }
}
