/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap'); */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #e7f0dc;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.wrapper {
    position: relative;
    width: 750px;
    height: 450px;
    background: transparent;
    box-shadow: 5px 5px 150px  #1a5319;
    overflow: hidden;
    transition: transform 450ms;
    border-radius: 180PX;
}

.wrapper:hover{
    transform: scale(1.08);
}

.wrapper .form-box {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wrapper .form-box.login {
    left: 0;
    padding: 0 60px 0 40px;
}

.form-box h2 {
    font-size: 32px;
    color: #80af81;
    text-align: center;
}

.form-box .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 25px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 2px solid #80af81;
    padding-right: 23px;
    font-size: 16px;
    color: #80af81;
    font-weight: 500;
    transition: .5s;
}

.input-box input:focus,
.input-box input:valid{
    border-bottom-color: #1a5319;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #80af81;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
    color: #1a5319;
}

.input-box i {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px;
    color: #80af81;
    transition: .5s;
}

.input-box input:focus~i,
.input-box input:valid~i {
    color: #1a5319;
}

.btn {
    position: relative;
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid #1a5319;
    box-shadow: 2px 2px 8px #1a5319;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    color: #d6efd8;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;
} 

.btn::before{
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(#1a5319, #80af81, #1a5319, #80af81);
    z-index: -1;
    transition: .5s;
}

.btn:hover::before{
    top: 0;
}

.wrapper .info-text{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wrapper .info-text.login{
    right: 0;
    text-align: center;
    padding: 0 40px 60px 120px;
}



.info-text h2{
    font-size: 36px;
    color: #e7f0dc;
    line-height: 1.3;
    text-transform: uppercase;
}

.wrapper .bg-animate{
    position: absolute;
    top: -4px;
    right: 0;
    width: 850px;
    height: 600px;
    background: linear-gradient(45deg, #80af81, #1a5319);
    border-bottom: 3px solid #1a5319;
    transform: rotate(10deg) skewY(40deg);
    /* transform: rotate(0) skewY(0); */
    transform-origin: bottom right;
    transition: 1.5s ease;
    transition-delay: 1.6s;
}

