a {
    text-decoration: none;
}
.mag {
    margin-top: 54px;
    margin-bottom: 116px;
}
.loginbox {
    display: flex;
    justify-content: center;
    align-items: center;
}
.box{
    position: relative;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    background:transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1{
    color: black;
    text-align: center;
}

.inputbox{
    position:relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 1px solid #333;
}

.inputbox label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: black;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}

input:focus ~ label,
input:valid ~ label{
    top: -5px;
}

.inputbox input{
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: black;
}

.inputbox ion-icon{
    position: absolute;
    right: 8px;
    color: #333;
    font-size: 1.2em;
    top: 20px;
}

.forget{
    margin: 15px 0 15px 0;
    font-size: .9em;
    color: #333;
    display: flex;
    justify-content: space-around;
}

.forget a, .forget label{
    cursor: pointer;
    color: #333;
    text-decoration: none;
}

.forget a:hover{
    text-decoration: underline;
}
/* register */
.regbox {
    display: flex;
    justify-content: center;
    align-items: center;
}
.butt {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background: #333;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    line-height: 40px;
}
.but:hover {
    background-color: #74a9cd;
    border: #74a9cd;
    color: white;
}
.message {
    color: red;
    font-size: 15px;
}