/* Backgrounds */
body {
    background-color: rgb(45 45 45);
    background-image: url("../../assets/img/monkeyvision.png");
    background-size: cover;
    background-blend-mode: hard-light;
    background-position: center;
}

body::before {
    content: " ";
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    animation: bg-move 60s linear infinite;
    background-image: url("../../assets/img/Mist.png");
}

@keyframes bg-move {
    0% {
        background-position: 0;
    }

    100% {
        background-position: 1906px;
    }
}

a.custom-logo-link,
#login,
.language-switcher,
.login form,
.theme-by {
    background-color: #dfdfdf;
    display: block;
    position: relative;
}

#login::after {
    content: " ";
    width: 110%;
    height: 150%;
    display: block;
    position: absolute;
    z-index: -1;
    background: rgb(255 255 255 / 65%);
    top: -25%;
    left: -5%;
    filter: blur(50px);
}

#login_error {
	margin-top: 30px;
	margin-bottom: 10px;
	color: white;
}

/* Text colors */
body,
.login #backtoblog a, 
.login #nav a,
.theme-by a:not(:hover) {
    color: rgb(45 45 45);
}

/* Content width */
a.custom-logo-link,
.language-switcher {
    width: 320px;
    margin: 0 auto;
}

/* Spacing */
body {
    display: grid;
    justify-content: center;
    align-content: center;
}

#login {
    margin: 0 auto;
    padding: 0;
}

.language-switcher {
    padding: 0 0 16px;
}

.theme-by {
    padding: 0 0 24px;
    text-align: center;
}

@media screen and (max-height: 550px) {
    body {
        align-content: stretch;
    }
}

/* Hide WP logo */
.login h1 {
    display: none;
}

/* Site logo */
a.custom-logo-link {
    justify-content: center;
    padding: 24px 0 0 0;
}

a.custom-logo-link img {
    width: calc(100% - 48px);
    padding: 0 24px;
    height: 100%;
    object-fit: contain;
    max-height: 80px;
}

/* Forms */
.login form {
    margin: 0;
    border: none;
    box-shadow: none;
    padding: 26px 24px 16px 24px;
}

#wp-submit {
    background: rgb(45 45 45);
    border-color: rgb(45 45 45);
}

#wp-submit:hover {
    background: #135e96;
    border-color: #135e96;
}

/* Remember me */
.forgetmenot {
    line-height: 32px;
}

/* Wordpress messages */ 
.login .message, .login .notice, .login .success {
    background-color: rgb(35 35 35);
    box-shadow: none;
}
