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

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fff;
}

.grid {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.order__left,
.order__right {
    flex: 1;
}

.order__right {
    overflow: hidden;
}

.order__right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}
.order__left {
    order: 1;
    padding: 40px;
}
.order__right {
    order: 2;
}
.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
.no__overflow {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.form {
    max-width: 500px;
}
.logo {
    margin-bottom: 12px;
}
h4 {
    color: #867992;
    text-align: left;
    margin-bottom: 30px;
    letter-spacing: 0.2px;
    line-height: 20px;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    margin: 16px 0;
    display: block;
    border: 1px solid #c8c3cf;
    border-radius: 15px;
    box-sizing: border-box;
    background-color: #f6f5f7;
    font-size: 16px;
    color: #4f4659;
    outline: none;
    transition: box-shadow 0.25s ease-in-out, background-image 0.25s;
}
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #a26ed4;
    background: #faf8fd;
    background: #fdfcfe;
    box-shadow: 0 0 0 0.25rem #ebd6ff;
}
::-webkit-input-placeholder {
    color: #a29ca8;
}
:-ms-input-placeholder {
    color: #a29ca8;
}
::placeholder {
    color: #a29ca8;
}
.justify__space_between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 26px 0;
}
input[type="checkbox"],
label {
    margin-right: 4px;
    cursor: pointer;
    outline-color: #b595d4;
}
.remember_me,
.signup {
    color: #867992;
}
.forgot__password {
    color: #551a8b;
    text-align: left;
    outline-color: #b595d4;
}
.forgot__password:active {
    color: #867992;
}
.login__button {
    outline-color: #734e96;
    width: 100%;
    border: none;
    background-color: #623e84;
    padding: 13px 17px;
    color: #fff;
    border-radius: 16px;
    font-size: 16px;
    cursor: pointer;
    transition: box-shadow 0.25s ease-in-out, background-color 0.3s;
}
.login__button:hover {
    box-shadow: 0 0 0 0.25rem #dac5ee;
}
.login__button:active {
    background-color: #874dbf;
    box-shadow: 0 0 0 0.35rem #dac5ee;
}
.signup {
    font-size: 14px;
    text-align: center;
    margin-top: 32px;
}
.img {
    height: 100%;
    object-fit: cover;
    max-width: auto;
}
@media only screen and (max-width: 800px) {
    .grid {
        grid-template-columns: auto;
    }
    .order__left {
        order: 2;
        padding: 20px;
    }
    .order__right {
        order: 1;
    }
    .centered {
        align-items: flex-start;
    }
    .no__overflow {
        align-items: flex-start;
    }
    h4 {
        text-align: center;
    }
    .img {
        width: 100vw;
    }
}
@media only screen and (max-height: 600px) {
    .img {
        width: 120%;
    }
}
