@keyframes fadeInSlideUp {
    from {
        top: 20px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

body {
    background-color: #1A1A1A;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #E5E5E5;
}

section {
    height: 100vh;
    width: 100%;
}

main:not(.settings) {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.settings { 
    margin: 0 auto 100px auto; 
    padding-top: 15vh;
}

.settings h3 { font-weight: lighter; }
.settings form { text-align: center; }

.danger-zone {
    border: 2px solid #ca0000;
    padding: 20px;
    border-radius: 6px;
    animation: fadeInSlideUp 0.6s ease-in-out 0.2s forwards;
    margin-top: 30px;
}

.danger-zone h4 {
    margin: 0;
    color: #ca0000;
}

.danger-zone p {
    margin-bottom: 0;
}

.danger-zone p:first-of-type {
    margin: 0 0 1em 0;
}

.danger {
    border: 1px solid #ca0000;
    border-radius: 4px;
    padding: 8px 14px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: transparent;
    color: #ca0000;
    margin-top: 30px;
    transition: 0.1s;
    cursor: pointer;
}

.danger:hover {
    background-color: #ca0000;
    color: #fff;
}

#passv {
    border-radius: 0 0 5px 5px;
}

img {
    height: 100px;
    display: block;
    margin: 0 auto 5px auto;
}

.email {
    color: #5eff1b;
}

h1 {
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 20px;
}

.top p { margin: 1em auto; }
.top p:last-of-type, .forgot { margin: 5px auto 35px auto; }

.forgot { 
    text-align: center; 
    animation: fadeInSlideUp 0.6s ease-in-out 0.2s forwards;
}

a.gray {
    text-decoration: none;
    color: #808080;
}

a.gray:hover {
    color: #a2a0a0;
}

.top, form:not(#danger-verify), .forgot, .danger-zone {
    position: relative;
    top: 20px;
    opacity: 0;
}

.top {
    text-align: center;
    animation: fadeInSlideUp 0.6s ease-in-out forwards;
}

form:not(#danger-verify) {
    animation: fadeInSlideUp 0.6s ease-in-out 0.1s forwards;
}

.top p {
    width: 80%;
}

input:not([type=submit]):focus {
    outline: 1px solid #4A4A4A;
}

input:not([type=submit]) {
    background-color: #E5E5E5;
}

input[type=password] {
    border-top: 1px solid #adacac;
}

input, button.go {
    border: none;
    padding: 15px;
}

form input {
    width: 100%;
}

.confirm {
    margin-top: 1em;   
}

input:first-of-type { border-radius: 5px 5px 0 0; }
.confirm input { border-radius: 5px 0 0 5px; }
button.go { border-radius: 0 5px 5px 0; }
input[type=submit] { border-radius: 0 0 5px 5px; }

input[type=submit], button.go {
    color: #E5E5E5;
    cursor: pointer;
    outline: none;
    background-color: #000000;
    transition: 0.1s;
}

input[type=submit]:hover, button.go:hover {
    background-color: #131313;
    color: #cacaca;
}

#error, #danger-error {
    font-size: 13px;
    margin: 5px auto 0 auto;
}

.red {
    color: #DE0101;
}

.green {
    color: #04b904;
}

@media only screen and (max-width: 643px) {
    footer .inner {
        width: 85%;
    }

    footer img {
        display: block;
        margin: 0 auto;
    }

    footer .inner > div {
        width: 100%;
        text-align: center;
    }

    main {
        width: 90%;
    }
}

@media only screen and (min-width: 644px) {
    footer .inner {
        width: 50%;
    }

    footer img {
        display: inline-block;
        vertical-align: top;
        margin-right: 25px;
    }

    footer .inner > div {
        display: inline-block;
        width: calc(100% - 100px);
    }
}

@media only screen and (min-width: 644px) {
    main {
        width: 500px;
    }
}

footer {
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    padding: 30px 0;
    background-color: #000;
}

footer .inner {
    color: #E5E5E5;
    margin: 0 auto;
    font-weight: 100;
    font-size: 13px;
}