.wrapper {
    display: flex; /* use flexbox */
    height: 100vh; /* set container height to full viewport height */
}
.left, .right {
    flex: 1;
    height: 100%;
    display: flex; /* use flexbox to center content */
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
    flex-direction: column;
}
.left {
    color: #2C81FF;
}

.left p {
    margin-top: 60px;
    text-align: center;
}

.right p {
    width: 100%;
    text-align: left;
}

.left h4 {
    font-weight: 700;
}

.right {
    background-color: #2C81FF;
    text-align: center;
}

form {
    flex-direction: column;
}

.form-wrap {
    width: 100%;
    padding: 0 60px;
}

.login-title {
    font-weight: bold;
    color: white;
}

.login {
    color: white;
    margin-bottom: 5px;
}

.login a {
    color: white;
    font-weight: bolder;
}

.left img {
    max-width: 80%; /* make sure the image does not overflow the left div */
    max-height: 80%; /* make sure the image does not overflow the left div */
    display: block; /* remove any extra white space around the image */
    margin: auto; /* center the image */
}

.logo {
    max-width: 150px;
    margin-bottom: 40px;
}

input[type=text],
input[type=password] {
    font-size: 16px;
    line-height: 20px;
    padding: 6px 25px;
    margin-bottom: 20px;
    width: 100%;
    color: var(--blue);
    border-radius: 10px;
    border: 0px solid #707070;
    outline: none;
    transition: border .5s, color .5s;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=text].input--half {
    width: 48%;
}

input[type=text]::placeholder,
input[type=password]::placeholder {
    color: #707070;
}

input[type=text]:not(:placeholder-shown),
input[type=password]:not(:placeholder-shown) {
    border-color: var(--blue);
}

input.wrong,
textarea.wrong,
input[type=text]:not(:placeholder-shown).wrong,
input[type=password]:not(:placeholder-shown).wrong {
    border: 1px solid red;
    color: red;
}

#warning {
    display: none;
    color: red;
    font-size: 15px;
    margin-bottom: 5px;
}

#warning.active {
    display: block;
}

input[type=button] {
    background: #123FA3;
    border: 0px solid var(--blue);
    padding: 12px 45px;
    border-radius: 25px;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    outline: none;
    transition: background .5s, color .5s;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    margin: 20px 0;
}

input[type=button]:hover {
    color: var(--blue);
}
