@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
:root{
    --primary-color:#0077c0;
    --secanday-color:#55D6D0;
    --light-color:#f1efef;
}
/*============== Style for all pages ==============*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    overflow: hidden;
}
section{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle, #0077c0 0%, #006fb4 100%);
}
.box{
    position: relative;
}
.box .square{
    position: absolute;
    backdrop-filter: blur(5pc);
    box-shadow: 0 25px 25px rgb(0, 0, 0 , 0.1);
    border-right: 1px solid rgba(225, 225, 225, 0.2);
    border-bottom: 1px solid rgba(225, 225, 225, 0.2);
    background: rgba(225, 225, 225, 0.1);
    border-radius: 1rem;
    animation: animate 10s linear infinite;
    animation-delay: calc(2s * var(--i));
}
@keyframes animate {
    0%,100%{
        transform: translateX(-40px);
    }
    50%{
        transform: translateY(40px);
    }
    70%{
        transform: translateX(-40px);
    }
}
.box .square:nth-child(1){
    border-radius: 50%;
    top: -50px;
    right: -60px;
    width: 100px;
    height: 100px;
}
.box .square:nth-child(2){
    border-radius: 50%;
    top: 150px;
    left: -100px;
    width: 150px;
    height: 150px;
}
.box .square:nth-child(3){
    bottom: 50px;
    right: -60px;
    width: 80px;
    height: 80px;
}
.box .square:nth-child(4){
    bottom: -80px;
    left: 100px;
    width: 50px;
    height: 50px;
}
.box .square:nth-child(5){
    border-radius: 50%;
    top: -80px;
    left: 100px;
    width: 70px;
    height: 70px;
}
.form-login{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    background: rgb(225, 225, 225 ,0.1);
    border-radius: 1.2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}
.form{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px;
}
.form form {
    display: grid;
    gap: 20px;
}
.form .img{
    width: 50%;
    margin: auto;
}
.form h2{
    color: var(--light-color);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 40px;

    text-align: center;
}

.form .inputBox{
    position: relative;
    width: 100%;
}
.inputBox i.fi {
    position: absolute;
    font-size: 1.3rem;
    color: var(--light-color);
    top: 20px;
    left: 23px;
  }
.form .inputBox input{
    width: 100%;
    background: rgb(225, 225, 225, 0.2);
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 20px 60px;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.btnLogin{
    font-weight: 600;
}
.form .inputBox input::placeholder{
    color: #f3f3f3;
    font-size: 14px;
}
.form .login-row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}
.signup {
    text-align: center;
    padding: 0.4rem;
    color: var(--light-color);
}
.forget a, .signup a{
    color: var(--light-color);
    text-decoration: none;
}
.form .login-row .inputBox input,
input.btnLogin{
    cursor: pointer;
}
.form .login-row .inputBox input[type="submit"]:hover,
.form .inputBox input[type="submit"]:hover{
    background-color: var(--primary-color);
    transition: 0.3s all ease-in-out;
}
@media only screen and (max-width: 700px) {
    .form-login{
        margin: auto;
        width: 90%;
    }
    .form {
        padding: 30px;
    }
    .inputBox i.fi {
      font-size: 0.9rem;
      top: 13px;
      left: 14px;
    }
    .form .inputBox input {
        border-radius: 10px;
        padding: 10px 40px;
        font-size: 12px;
    }
    .box .square:nth-child(1){
        right: 20px;
        width: 100px;
        height: 100px;
    }
    .box .square:nth-child(3){
        right: 20px;
    }
    .box .square:nth-child(5) {
        top: 50px;
        width: 80px;
        height: 80px;
    }
    .box .square:nth-child(2) {
        top: 300px;
        left: 70px;
        width: 100px;
        height: 100px;
    }
    .box .square:nth-child(4) {
        bottom: 200px;
        right: 43px;
        width: 50px;
        height: 50px;
    }
}
