* {
    margin: o;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

section {

    display: flex;
    justify-content: center;
    align-items: center;
    height:100vh ;
    background: url('Bg2.jpg') ;
    background-size: cover;
    background-position: center center;
    animation: gradientBg 5s ease infinite;

}
/* @keyframes gradientBg{
    0%{background-position: 0% 50%;}
    50%{background-position: 100% 50%;}
    100%{background-position: 0% 50%;}
} */

.login-box {
    position: relative;
    width: 400px;
    height: 450px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}

h2 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
}

.input-box {
    position: relative;
    width: 310px;
    margin: 30px 0;
    border-bottom: 2px solid #fff;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #fff;
    pointer-events: none;
    transition: 0.5s;
}

.input-box :focus~label,
.input-box :valid~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 50px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1rem;

    color: #fff;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 5px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 57px;
    top: 13px;
}

.remembered-forgot {
    display: flex;
    margin: -15px 0 15px;
    font-size: .9rem;
    color: #fff;
    justify-content: space-between;
}

.remembered-forgot label input {
    margin-right: 10px;
}

.remembered-forgot a {
    color: #fff;
    text-decoration: none;
}

.remembered-forgot a:hover {
    text-decoration: underline;
    color: blue;
}

button {
    width: 100%;
    height: 40px;
    background-color: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    font-size: 1.3rem;
    color: #000;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
}

.register-link {
    font-size: .9rem;
    text-align: center;
    color: #fff;
    margin: 25px 0 10px;
}

.register-link p a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
    color: blue;
}

@media (max-width:600px) {
    .login-box {
        width: 100%;
        height: 100vh;
        border: solid rgb(121, 117, 117) 2px;
        border-radius: 5px;
        border-color: rgb(218, 137, 32);
        padding: 20px;
    }

    .input-box {
        width: 290p;
    }
}