* {
    margin: 0;
    padding: 0;
}

body {
    background: #0f3d13; /* Old browsers */
    /*background: -moz-radial-gradient(center, ellipse cover, #8be284 1%, #0f3d13 100%); !* FF3.6+ *!*/
    /*background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%, #8be284), color-stop(100%, #0f3d13)); !* Chrome,Safari4+ *!*/
    /*background: -webkit-radial-gradient(center, ellipse cover, #8be284 1%, #0f3d13 100%); !* Chrome10+,Safari5.1+ *!*/
    /*background: -o-radial-gradient(center, ellipse cover, #8be284 1%, #0f3d13 100%); !* Opera 12+ *!*/
    /*background: -ms-radial-gradient(center, ellipse cover, #8be284 1%, #0f3d13 100%); !* IE10+ *!*/
    background: radial-gradient(ellipse at center, #8be284 1%, #0f3d13 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0264d6', endColorstr='#1c2b5a', GradientType=1); /* IE6-9 fallback on horizontal gradient */
    height: calc(100vh);
    width: 100%;
    /*background: #2E3740;*/
    /*color: #435160;*/
    font-family: "Open Sans", sans-serif;
}

h2 {
    color: #0F3D13FF;
    font-family: "Sofia", cursive;
    /*font-size: 15px;*/
    font-weight: bold;
    font-size: 3.6em;
    text-align: center;
    margin-bottom: 20px;
}

a {
    color: #0F3D13FF;
    text-decoration: none;
}

.login {
    width: 30%;
    position: absolute;
    top: 15%;
    left: 35%;
    /*margin-left: -175px;*/
    border: 1px solid whitesmoke;
    padding: 30px;
    background: white;
}

.register {
    width: 40%;
    position: absolute;
    top: 10%;
    left: 30%;
    /*margin-left: -175px;*/
    border: 1px solid whitesmoke;
    padding: 30px;
    background: white;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #435160;
    outline: none;
    color: #6D7781;
    font-size: 14px;
}


/*
.reg_txt_input {
    width: 230px !important;
}
*/


input[type=checkbox] {
    display: none;
}

/*label {
    display: block;
    institution: absolute;
    margin-right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    content: "";
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 3px solid #435160;
}*/

#agree:checked ~ label[for=agree] {
    background: #435160;
}

input[type="submit"] {
    background: #0F3D13FF;
    border: 0;
    width: 100%;
    height: 40px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

input[type="submit"]:hover {
    background: #0F3D13FF;
    animation-name: shake;
}

.forgot {
    margin-top: 30px;
    display: block;
    font-size: 11px;
    text-align: center;
    font-weight: bold;
}


.forgot:hover {
    margin-top: 30px;
    display: block;
    font-size: 11px;
    text-align: center;
    font-weight: bold;
    color: #0F3D13FF;
}

.error_msg {
    margin-top: 10px !important;
    display: block;
    font-size: 11px;
    text-align: center;
    font-weight: bold;
    color: red !important;
    font-style: italic;
}


.agree {
    padding: 30px 0;
    font-size: 12px;
    text-indent: 25px;
    line-height: 15px;
}

::-webkit-input-placeholder {
    color: #435160;
    font-size: 12px;
}

.animated {
    animation-fill-mode: both;
    animation-duration: 1s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}
