* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: linear-gradient(to bottom, #af0b0b, #000000);
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
}

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 400px;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.login-logo-div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-logo-div img {
  position: relative;
  /* height: 60px; */
  max-width: 150px;
  padding: 30px 0;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;

  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
}
.use {
  margin-bottom: 30px;
}
.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #ffff;
  pointer-events: none;
  transition: 0.5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -20px;
  left: 0;
  color: #ffff;
  font-size: 12px;
}

.login-btn-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box form .login {
  position: relative;
  display: inline-block;
  padding: 5px 20px;
  color: #ffff;
  font-size: 16px;
  text-decoration: none;
  /* text-transform: uppercase; */
  
  overflow: hidden;
  transition: 0.5s;
  margin-top: 10px;
  /* margin-left: 100px; */
  /* letter-spacing: 4px; */
  border: 2px solid #af0b0b;
}

.login-hov:hover {
  background-color: #af0b0b;
  color: #fff;
  outline: none;
}

.login-box a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #03e9f4);
  animation: btn-anim1 1s linear infinite;
}
/* forgot */
.forgot a {
  width: 100%;
  font-size: 13px;
  color: #5a5a5a;
  transition: 0.2s ease-in-out;
  border: none;
  text-decoration: none;
  background: transparent;
}

.forgot a:hover {
  color: #ffffff;
}
/* registration comment */
.reg {
  width: 100%;
  font-size: 13px;
  color: #fff;
  margin-bottom: 10px;
  border: none;
  font-weight: lighter;
  word-spacing: 2px;
  padding: 30px 0;
  background: transparent;
  border-radius: 10px;
}
/* registration Now  button */
.reg a {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #af0b0b;
  margin-bottom: 10px;
  border: none;
  word-spacing: 2px;
  /* background: transparent; */
  text-decoration: none;
  padding-left: 10px;
  border-radius: 10px;
}
.re:hover {
  color: #a89f9f;
}

.pass {
  margin-bottom: 0px;
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.login-box a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #03e9f4);
  animation: btn-anim2 1s linear infinite;
  animation-delay: 0.25s;
}

@keyframes btn-anim2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}

.login-box a span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #03e9f4);
  animation: btn-anim3 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes btn-anim3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.login-box a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #03e9f4);
  animation: btn-anim4 1s linear infinite;
  animation-delay: 0.75s;
 
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

@media only screen and (max-width: 500px) {
  .login-box {
    min-width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    /* min-width: 400px; */
    padding: 40px;
  }
}

