*{
    box-sizing: border-box;
}

.form-col{
    background-color: radial-gradient(rgb(232,22,0),rgb(23,22,0),rgb(3,88,66));
}
.wrapper{
    z-index: 100;
    position: fixed;
    left: 50%;
    top: 15%;
    translate:-50%;
    
    /* top: 30%;
    left: 35%; */
    width: 400px;
    height: 480px;
    max-width: 90%;
    background: rgba(128, 128, 128,.6);
    border-radius: 20px;
    justify-content:center;
    align-items: center;
    backdrop-filter: blur(40px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    /* margin: 0; */
    
    transform: scale(0%);
    transition: .5s;
}
.wrapper.active-popup{
    transform: scale(1);
    max-width: 80%;
}
.wrapper.active{
    height: 520px;
}
.wrapper .form-box{
    width: 100%;
    padding: 30px;
}
.wrapper .form-box.login{
    transition: transform .18s ease;
    transform: translateX(0);
}
.wrapper.active .form-box.login{
    transition: none;
    transform: translateX(-500px);
}
.wrapper .form-box.register{
    position: absolute;
    transition: none;
    transform: translateX(500px);
}
.wrapper.active .form-box.register{
    transition: transform .18s ease;
    transform: translateX(0);
}
/* .wrapper.active-popup.active{
    position: absolute;
    top: 0;
} */
.mylogo{
    position: absolute;
    scale: 0;
 
}


@media (max-width: 700px){
    .wrapper{
        scale: 90%;
        position: fixed;
        top: 20%;
        /* position: absolute;
        top: 10%;
        left: 20%; */
        
    }
    #input-box div{
        margin-top: 30px;
    }
    
    /* .log-row #input:active{
        transform: translateX(10px);

    } */
    .wrapper p{
        position: relative;
        top: -50px;
        padding: 10% 5%;
        margin: auto;
    }
    .box.r input{
        width: 100%;
        font-size: medium;
    }
    /* side bar  */
    nav{
        position: fixed;
        right: 0;
        z-index: 1;

    }
    .mylogo{
        width: 90%;
        scale: 1;
        border-radius: 30%;
        border-bottom-right-radius: 5%;
        position: relative;
        margin-left: 5%;
        transform: translateY(100%);

       
    }

}
@media (max-width: 700px){
    .wrapper{
        scale: 80%;
        /* position: absolute;
        top: 10%;
        left: -4%; */
        
    }
}

.wrapper{
    margin-bottom: 30px;
   justify-content: space-between;
}
.wrapper h2{
    
    text-align: center;
    transform: translateY(-100%);
    font-size: 2em;
}
.form-box{
    margin-top:50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    
}
/* .form-box label{
    position: absolute;
    left: 0%;
    transform: translate(95px,10px);

} */
#input-box{
    margin-bottom: 20px;
    position: relative;
    transition: 1s;
    margin: 0;
    font-size: 1.1em;
    z-index: 1;
}
#input-box input{
    border-left: 2px solid white;
    border-radius: 30px 15px 20px 30px;
    font-weight: 500;
    font-size: 1.5em;
    width: 100%;

}
#input-box .fa-solid{
    position: absolute;
    right: 0;
    bottom: 60%;
    font-size: medium;
}
/* .wrapper p{
    position: relative;
    top: -40px;
    padding: 10px 80px;
} */
.form-box #lib{
    position: absolute;
    transform: translateY(20px);
    left: 0;
    font-weight: bold;
    z-index: 2;
    /* top: 15%; */
}
#input-box label{
    position: absolute;
    z-index: 1;
    top: -45%;
    



 
}

/* .box.r input:valid~label
{
    transform:translate(50%);
    background-color: whitesmoke;
  
} */

.form-box input{
    margin-bottom: 40px;
    padding: 10px 15px;
   outline: none;
   background: transparent;
   border: none;
   border-bottom: 3px solid aquamarine;
}
.wrapper h2{
    font-size: xx-large;
    position: relative;
    top: 0;
}
.wrapper .close{
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.158);
    background-color: rgb(29, 46, 46);
    font-size: 45px;

    border-bottom-left-radius: 40%;
}
#input-box #password{
    margin-bottom: 20px;
}
#input-box#check label{
    width: 100%;
    margin-left: 0%;
     
}
#input-box#check input{
    /* position: absolute; */
    margin-bottom: 0px;
    max-width: fit-content;
    /* transform: translateX(-100%); */
}
.lbtn{
    width: 100%;
    position: relative;
    transform: translate(0,-20px);
}
.log-inbtn.bt{
    width: 100%;

}

.loginlink{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    text-align: center;
    /* transform: translate(0,40px); */
}
.loginlink p{
    color: rgb(241, 224, 224);
    width: 80%;
}
.loginlink a{
    text-decoration: none;
    font-weight: 600;
    font-style: oblique;
    color: rgb(108, 197, 197);

}
.loginlink a:hover{
    text-decoration: underline;
}
/* #remember#reg .block{
    position: absolute;
   content: "";
   display: block;
   width: 100px;
   height: 9px;
   color: red;
   
} */

/* #input-box#check#log{
    display: flex;
} */
.regbox{
    color: rgb(241, 244, 244);
}
.signbox{
    color: rgb(241, 244, 244);
    /* position: relative;
    transform: translate(-30px,0); */
    display: flex;
    flex-direction: row;
    width: 80%;
    margin:5% auto;

}
.signbox label{
    margin-left: 5px;
}


.forgot{
    text-decoration: none;
    position: relative;
    transform: translateX(60%);
    font-style: oblique;
    color: rgb(129, 231, 231);
}
.forgot:hover{
    text-decoration: underline;
}

/* The show of errors and sucesses */

.form-error{
    color: red;
    text-align: center;
    position: relative;
    transform: translateY(-50%);
}
.form-sucess{
    color: green;
    text-align: center;
    position: relative;
    transform: translateY(-100%);
}

@media(max-width:700px){
    .loginlink{
        width: 100%;
        transform: translate(0,40px);
    }

}