@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

#login-area * {
    box-sizing: border-box;
}

#login-page {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background:linear-gradient(-45deg, red, purple, yellow, green,blue);
    background-size: 400% 400%;
    animation:  gradient 13s cubic-bezier(0.21, 0.34, 0.51, 0.54) infinite;
    overflow: hidden;
}

#login-area h1 {
    font-weight: bold;
    margin: 0;
}

#login-area p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: .5px;
    margin: 20px 0 30px;
}

#login-area span {
    font-size: 12px;
}

#login-area a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

#login-area.container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}

#login-area .form-container form {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding:  0 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#login-area .social-container {
    margin: 20px 0;
}

#login-area .social-container a {
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}

#login-area .form-container input {
    background: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

#login-area button {
    border-radius: 20px;
    border: 1px solid #696cb9;
    background: #4b50b7;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

#login-area .k-icon {
    display: none !important;
}

#login-area button:active {
    transform: scale(.95);
}

#login-area button:focus {
    outline: none;
}

#login-area button.ghost {
    background: transparent;
    border-color: #fff;
}

#login-area .form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all .6s ease-in-out;
}

#login-area .sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

#login-area .sign-up-container {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}

#login-area .overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform .6s ease-in-out;
    z-index: 100;
}

#login-area .overlay {
    background: #ff416c;
    background: linear-gradient(to right, #2980b9, #3498db) no-repeat 0 0 / cover;
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
    background: #4b50b7;
}

#login-area .overlay-panel {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    width: 50%;
    text-align: center;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}

#login-area .overlay-right {
    right: 0;
    transform: translateY(0);
}

#login-area .overlay-left {
    transform: translateY(-20%);
}

/* Move signin to right */
#login-area .container.right-panel-active .sign-in-container {
    transform: translateY(100%);
}

/* Move overlay to left */
#login-area .container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

/* Bring signup over signin */
#login-area .container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

/* Move overlay back to right */
#login-area .container.right-panel-active .overlay {
    transform: translateX(50%);
}

/* Bring back the text to center */
#login-area .container.right-panel-active .overlay-left {
    transform: translateY(0);
}

/* Same effect for right */
#login-area .container.right-panel-active .overlay-right {
    transform: translateY(20%);
}


object {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 1000%;
}
.path {
    animation: draw 20s infinite;
    animation-timing-function: linear;
}
.path-01 {
    animation-delay: 0s;
}
.path-02 {
    animation-delay: 1s;
}
.path-03 {
    animation-delay: 2s;
}
.path-04 {
    animation-delay: 3s;
}
.path-05 {
    animation-delay: 4s;
}
 
@keyframes draw {
    0% {
    }
    100% {
        stroke-dashoffset: 0;
        stroke-opacity: 1;
    }
}



@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 992px) 
{ 
    #login-area .overlay-container {
        display: none;
    }
    #login-area .sign-in-container {
        width: 100%;
    }
    #login-area .form-container form { 
        padding: 0 30px;
    }
    #login-page { 
        justify-content: start; 
        background: white !important;
    }
    #login-area.container { 
        box-shadow: none;
    }
}
