*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: black;
}
.register-box{
    position: relative;
    height: 80vh;
    aspect-ratio: 8/9;
    background: white;
    border-radius: 5%;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  h2{
    color: black;
    margin-left: 30%;
    font-size: 5vh;
  }
  .input-box{
    position: relative;
    width: 55vh;
    margin: 5vh 0;
    border-bottom: 2px solid black;
  }
  .input-box label{
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    font-size: 3vh;
    color: black;
    pointer-events: none;
    transition: 0.5s;
  }
  .input-box input:focus~label, 
  .input-box input:valid~label{
    top: -5%;
  }
  .input-box input{
    width: 100%;
    height: 9vh;
    background: transparent;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-size: 2.5vh;
    color: black;
    padding: 0 13% 0 2%;
  }
  .input-box .icon-email{
    position: absolute;
    right: 2%;
    font-size: 7vh;
    color: black;
  }
.register-box form{
    width: 70%;
    position: absolute;
    top: 20%;
    left: 10%;  
    transition: 0.5s; 
}
p{
  font-size: 2.8vh;
  margin-left: 20%;
    text-align: center;
    color: black;
}
.button-box{
    display: flex;
    width: 100%;
    margin: 20% auto;
    text-align: center;
}
form button{
    width: 80%;
    height: 8vh;
    margin-left: 17.5%;
    font-size: 2.8vh;
    background: black;
    border-radius: 50% / 250%;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
}
.step-row{
    width: 100%;
    height: 9%;
    top: 0;
    display: flex;
    align-items: center;
    font-size: 3vh;
    box-shadow: 0 -1px 5px black;
    position: relative;
}
.step-col{
    width: 50%;
    text-align: center;
    color: rgb(18, 181, 236);
    position: relative;
}
#progress{
    position: absolute;
    height: 100%;
    width: 50%;
    background: black;
    transition: 0.5s;
}
#progress::after{
    content: "";
    height: 0;
    width: 0;
    border-top: 3.6vh solid transparent;
    border-bottom: 3.6vh solid transparent;
    position: absolute;
    right: -3.5vh;
    top: 0;
    border-left: 3.6vh solid black;
}
.login-link{
  width: 100%;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 7.5%;
  font-size: 3vh;
  margin-top: 45%;
}
.login-link h5 a{
  color: blue;
  text-decoration: none;
}
.login-link h5 a:hover{
  text-decoration: underline;
}
@media (max-width: 500px){
    .login-box{
      width: 100%;
      height: 100vh;
      border-radius: 0;
    }
  }