* {
    padding: 0px;
    margin: 0px;
}

body {
    font-family: sans-serif;
    overflow: hidden;
    filter: unset !important;
}

.container-form {
    height: 60vh;
    position: relative;
    top: 25px;
    width: 58%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    /* box-shadow: 8px 10px gray;     */
    background-color: rgba(0, 0, 0, .7);
    /* background:#003640;  */
}

.container-form .box {
    width: 50%;
    padding: 40px;
}

.box>h2 {
    margin: 0 0 30px 0;
    color: #fff;
    text-align: left;
}

.box .inputBox {
    position: relative;
}

.box .inputBox input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 30px;
    border: 0;
    border-bottom: 2px solid #fff;
    outline: none;
    background: none;
    height: 45px;
    filter: unset !important;
}

/* Remove color effect filter on autofilled fields */

:-moz-autofill {
    filter: unset !important;
}

.box .inputBox label {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s ease-out;
    ;
}

.box .inputBox input:focus~label,
.box .inputBox input:valid~label {
    top: -25px;
    left: 0px;
    color: #03a9f4;
    outline: none;
    height: 50px;
}

.box .inputBox span {
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 0px;
    height: 2px;
    background-color: #03a9f4;
    transition: 0.8s ease-out;
}

.box .inputBox input:focus~span,
.box .inputBox input:valid~span {
    width: 100%;
}

.box input[type="submit"] {
    background: transparent;
    border: none;
    outline: #fff;
    background: #03a9f4;
    padding: 15px 40px;
    color: #fff;
    cursor: pointer;
    display: table;
    outline: none;
}

.box input[type="submit"]:hover {
    background: #ff5064;
}

/* The following code we use to remove outline red border in firefox */

:-moz-ui-invalid {
    box-shadow: none;
}

.container-form .imgBx {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.imgBx:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff5064;
    transform-origin: bottom;
    transform: skewX(-25deg) translateX(10%);
}

.imgBx img {
    position: absolute;
    bottom: 0;
    max-width: 74%;
}

@media(max-width: 700px) {
    .container-form {
        width: 100%;
        position: relative;
        top: 5px;
    }
    .container-form .box {
        width: 100%;
        padding: 0 50px;
    }
    .container-form .imgBx {
        display: none;
    }
    .box>h2 {
        margin: 0 0 30px 0;
        color: #fff;
        text-align: left;
        font-size: 15px;
    }
}