* {
    margin: 0;
    padding: 0;
}

body {
    background: rgb(34, 35, 36);
    color: #5f6d7c;
    font-family: "Open Sans", sans-serif;
}

h2 {
    color: rgb(246, 246, 246);
    font-family: "Sofia", cursive;
    font-size: 15px;
    font-weight: bold;
    font-size: 3.6em;
    text-align: center;
    margin-bottom: 20px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

.login {
    width: 350px;
    position: absolute;
    top: 10%;
    left: 50%;
    margin-left: -175px;
}

input[type="text"],
input[type="password"] {
    width: 350px;
    padding: 20px 0px;
    background: none;
    color: #ffffff;
    border: 0;
    border-bottom: 1px solid #435160;
    outline: none;
    font-size: 16px;
}

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

label {
    display: block;
    position: 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: #ffffff;
}

input[type="submit"] {
    background: #1FCE6D;
    border: 0;
    width: 350px;
    height: 40px;
    border-radius: 3px;
    color: rgb(10, 9, 9);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

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

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

.forgot:hover {
    margin-top: 30px;
    display: block;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    color: #6D7781;
    /* background: #fff; */
}

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

}

::-webkit-input-placeholder {
    color: #f5f8fa;
    font-size: 14px;
}

.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);
    }
}

.white-color {
    color: #fff;
}

input:-webkit-autofill {
    -webkit-text-fill-color: rgb(250, 250, 247) !important;
    transition: background-color 5000s ease-in-out 0s;
}