/* This is for login and signup*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@700&family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}


.logoName
{
    cursor: pointer;
    width: 200px;
    margin: 0 auto;
    padding-top: 20px;
}

body{
  margin: 0;
  padding: 0;
  background-size: cover;
  background-image: url("../images/uta.jfif");
  background-position: 50% 50%;
  background-attachment: fixed;
  height: 100vh;
  overflow: hidden;
}

.bigField{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  background: lightgrey;
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0,0,0,0.05);
}

.bigField h1{
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid silver;
}

.bigField form{
  padding: 0 40px;
  box-sizing: border-box;
}

form .info{
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 30px 0;
}

.info input{
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 14px;
  border: none;
  background: none;
  outline: none;
}

.info label{
  position: absolute;
  top: 50%;
  left: 5px;
  color: #909090	;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  transition: .5s;
}

.info span::before{
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(120deg,#2980b9, #8e44ad);
  transition: .5s;
}
.info input:focus ~ label,
.info input:valid ~ label{
  top: -5px;
  color: #2691d9;
}
.info input:focus ~ span::before,
.info input:valid ~ span::before{
  width: 100%;
}

.authenication{
  margin: -5px 0 20px 5px;
  color: #2691d9;
  cursor: pointer;
}

.authenication:hover{
  color: #8e44ad;
  text-decoration: underline;
}

input[type="submit"]{
  width: 100%;
  height: 50px;
  border: 1px solid;
  background: linear-gradient(120deg,#2980b9, #8e44ad);
  border-radius: 25px;
  font-size: 18px;
  color: #e9f4fb;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
input[type="submit"]:hover{
  border-color: #2691d9;
  background-position: right;
  background: linear-gradient(240deg,#2980b9, #8e44ad);
  transition: .5s;
}

.link_for_signup{
  margin: 30px 0;
  text-align: center;
  font-size: 16px;
  color: #666666;
}
.link_for_signup a{
  color: #2691d9;
  text-decoration: none;
}
.link_for_signup a:hover{
  color: #8e44ad;
  text-decoration: underline;
}

.show
{
  position: absolute;
  top: 20px;
  right: 60px;
  width: 0%;
  font-size: 12px;
  color: #2691d9;
  cursor: pointer;
  display: none;
}
.pass-key:valid ~ .show{
  display: block;
}

.remember
{
  margin: -5px 0 20px 5px;
  font-size: 14px;
}
.user-pw
{
  margin-top:0;
}

@media (max-width: 600px) {
  body{
    background-position: center;
    background-size: 200% 100%;
    background-repeat: no-repeat;
  }
  .bigField{
  width: 300px;
}
}
