@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-ExtraLight.ttf);
    font-weight: 200;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Light.ttf);
    font-weight: 300;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-SemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-ExtraBold.ttf);
    font-weight: 800;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Black.ttf);
    font-weight: 900;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

section {
    position: relative;
    min-height: 100vh;
    background: #F0F0F0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

section .container {
    position: relative;
    width: 900px;
    height: 500px;
    background: #ffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

section .container .user {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

section .container .user .imgBx {
    position: relative;
    width: 50%;
    height: 100%;
    background: #2d2a32;
    transition: 0.5s;
}

section .container .user .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section .container .user .formBx {
    position: relative;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: 0.5s;
}

section .container .user .formBx form .imgMRSMBx {
    position: relative;
    margin: auto;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

section .container .user .formBx form .imgMRSMBx .mrsm {
    width: 70px;
}

section .container .user .formBx form .imgMRSMBx .mara {
    padding-left: 20px;
    width: 70px;
}

section .container .singinBx .formBx form .namaMRSM {
    position: relative;
    margin: auto;
    width: 70%;
    height: 10%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 10px 0px;
    transition: 0.5s;
}

section .container .singinBx .formBx form .namaMRSM h5 {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    color: #555;
}

section .container .singinBx .formBx form .namaSistem {
    position: relative;
    margin: auto;
    width: 70%;
    height: 10%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px 0px 0px;
    transition: 0.5s;
}

section .container .singupBx .formBx form .namaMRSM {
    position: relative;
    margin: auto;
    width: 70%;
    height: 10%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 10px 0px;
    transition: 0.5s;
}

section .container .singupBx .formBx form .namaMRSM h5 {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    color: #555;
}

section .container .singupBx .formBx form .namaSistem {
    position: relative;
    margin: auto;
    width: 70%;
    height: 10%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px 0px 0px;
    transition: 0.5s;
}

section .container .user .formBx form .namaSistem h5 {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    color: #555;
}

section .container .user .formBx form h2 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    color: #555;
}

section .container .user .formBx form input {
    position: relative;
    width: 100%;
    padding: 10px;
    background: #f5f5f5;
    color: #333;
    border: none;
    outline: none;
    box-shadow: none;
    margin: 8px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

section .container .user .formBx form input[type="submit"] {
    max-width: 100px;
    background: #677eff;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.5s;
}

section .container .user .formBx form .signup {
    position: relative;
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    font-weight: 300;
}

section .container .user .formBx form .signup a {
    font-weight: 600;
    text-decoration: none;
    color: #667eff;
}

section .container .user .formBx form span {
    position: relative;
    margin-top: 20px;
    font-size: 8px;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    font-weight: 300;
}

section .container .user .formBx form span a {
    font-weight: 600;
    text-decoration: none;
    color: #667eff;
}

section .container .singupBx {
    pointer-events: none;
}

section .container.active .singupBx {
    pointer-events: initial;
}

section .container .singupBx .formBx {
    left: 100%;
}

section .container.active .singupBx .formBx {
    left: 0;
}

section .container .singupBx .imgBx {
    left: -100%;
}

section .container.active .singupBx .imgBx {
    left: 0;
}

section .container .singinBx .formBx {
    left: 0;
}

section .container.active .singinBx .formBx {
    left: 100%;
}

section .container .singinBx .imgBx {
    left: 0;
}

section .container.active .singinBx .imgBx {
    left: -100%;
}

@media (max-width: 991px) {
    section .container {
        max-width: 400px;
    }
    section .container .imgBx {
        display: none;
    }
    section .container .user .formBx {
        width: 100%;
    }
    section .container .user .formBx form span {
        display: none;
    }
}