/*############################################ Import ############################################*/
@import url('main.css');

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


body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #fff;
  gap: 2rem;
}

/**Logo**/
#box_body{
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;

  padding-top: 4px;
  padding-left: 4px;
  padding-right: 1px;
  padding-bottom: 4px;
}

.avatar{
  display: flex;
  position: relative; 
  justify-content: center;
  align-items: center;
}

.avatar_box{
  display: flex;
  position: relative;
  cursor: pointer;
  width: 350px;
  height: 300px;
  background-color: transparent;
}

.avatar:active .avatar_box{
  box-shadow: none;
}

#avatar_img{
  display: inline-block;
}

#avatar_img img {
  height: auto;
  width: auto;
  max-width: 65%;
  /*max-width: 80%;*/
  margin-top: -20px;
  /*margin-left: 90px;*/
}

#avatar_img .img1 img{
  height: auto;
  width: auto;
  max-height: 70px;
  max-width: 500px;
}


/*##### Font ####*/
#Formbox{
  height: 100%;
}

#boxInputName{
  display: block;
  transform: translateY(-210px);
  opacity: 0;
}

#boxInputPass{
  display: block;
  transform: translateY(210px);
  opacity: 0;
}

#boxInputName .InputName,
#boxInputPass .InputPass{
  position: relative;
  width: 300px;
  margin-left: -280px;
}

.name,
.pass{
  width: 100%;
  padding: 0px;
  border: none;
  border-bottom: 2px solid #93268f;
  outline: none;
  background: transparent;
  color: #828282;
  font-size: 1.8rem;
}

.name-label,
.pass-label{
  position: absolute;
  left: 0;
  position: 10px 5px;
  color: #828282;
  font-size: 22px;
  letter-spacing: 2px;
  pointer-events: none;
  transition: 0.5s;
}

.name:valid ~ label,
.name:focus ~ label,
.pass:valid ~ label,
.pass:focus ~ label{
  transform: translateY(-1.5rem);
  color: #751e72;
  letter-spacing: 2px;
  font-size: 22px;
}