* {
    box-sizing: border-box;
    font-family: sans-serif;
}

/*Background Color Animation*/

@keyframes colorAnimate {
    0% {
        background: rgb(46, 46, 46);
    }

    25% {
        background: rgb(41, 90, 131);
    }

    50% {
        background: rgb(20, 100, 153);
    }

    75% {
        background: rgb(62, 46, 100);
    }

    100% {
        background: rgb(46, 46, 46);
    }
}

@-webkit-keyframes colorAnimate

/* Safari and Chrome - necessary duplicate */
    {
    0% {
        background: rgb(46, 46, 46);
    }

    25% {
        background: rgb(41, 90, 131);
    }

    50% {
        background: rgb(20, 100, 153);
    }

    75% {
        background: rgb(62, 46, 100);
    }

    100% {
        background: rgb(46, 46, 46);
    }
}

html,
body {
    font-family: sans-serif;
    font-size: 100%;
}

html,
body,
.wrapper,
.b2ui {
    margin: 0;
}

a {
    text-decoration: none;
    color: rgb(22, 185, 185);
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    color: #2d2d2d;
}

input:active,
input:focus,
input:visited,
input:hover {
    outline: none;
}

input[type="text"],
input[type="username"],
input[type="email"],
input[type="number"],
input[type="password"] {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid rgb(212, 212, 212);
    font-family: sans-serif;
    font-weight: 600;
    color: rgb(78, 78, 78);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 1rem;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

input[type="submit"] {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    padding: 0.9rem;
    background: rgb(30, 108, 172);
    border: 1px solid rgb(212, 212, 212);
    font-family: sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(247, 247, 247);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 1rem;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

input[type="submit"]:active,
input[type="submit"]:focus,
input[type="submit"]:visited,
input[type="submit"]:hover {
    background: rgb(34, 156, 255);
}

button,
input[type="submit"] {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

form>h3 {
    margin: 1.2rem;
    text-align: center;
}

.forgot-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "centerLeft centerRight";

    height: 100vh;
    margin: 0;
}

.b2ui {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    grid-area: centerLeft;
    background-color: #f5f3f3;

}

.brand>h3 {
    padding: .75rem;
    font-weight: 800;
    outline: 3px solid #fff;
    color: #fff;
}

.login {
    grid-area: centerRight;
    background-color: #055c9e;
    animation: colorAnimate 30s;
    -webkit-animation: colorAnimate 30s;
    animation-iteration-count: infinite;
    -webkit-iteration-count: infinite;
}

.login>form>h3 {
    font-weight: 600;
    color: #fff;
}

.login>form {
    width: 400px;
    margin: 10px 0 3rem 0;
}

/*Checkbox*/

.control {
    font-family: arial;
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    padding-top: 3px;
    cursor: pointer;
    font-size: 16px;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control_indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border: 0px solid #000000;
}

.control:hover input~.control_indicator,
.control input:focus~.control_indicator {
    background: #cccccc;
}

.control input:checked~.control_indicator {
    background: #2aa1c0;
}

.control:hover input:not([disabled]):checked~.control_indicator,
.control input:checked:focus~.control_indicator {
    background: #0e6647d;
}

.control input:disabled~.control_indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}

.control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;
}

.control input:checked~.control_indicator:after {
    display: block;
}

.control-checkbox .control_indicator:after {
    left: 8px;
    top: 4px;
    width: 3px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.control-checkbox input:disabled~.control_indicator:after {
    border-color: #7b7b7b;
}

/*Social Sign Up*/

.social-sign {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}

.social-sign a {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 2rem;
}

.social-sign>a:nth-child(2) {
    margin: 0 .5rem;
}

.fa-hand-o-down {
    margin-top: .5rem;
}

.is-hidden {
    display: none !important;
}

#error-login {
    width: 100%;
    height: 18px;
    padding: 8px;
    text-align: center;
    color: red;
}

@media only screen and (max-width: 768px) {
    .wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(30%, 65vmax);
        grid-template-areas:
            "centerLeft"
            "centerRight";

        height: 100vh;
    }

    .login>form {
        width: 100%;
        margin: 0 2rem;
    }
    
}