@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary: #003324;
    --secondary: #f9f6ee;
    --tertiary: #f5f1e7;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.07),
        0 2px 4px rgba(70, 39, 39, 0.07),
        0 4px 8px rgba(0, 0, 0, 0.07),
        0 8px 16px rgba(0, 0, 0, 0.07),
        0 16px 32px rgba(0, 0, 0, 0.07),
        0 32px 64px rgba(0, 0, 0, 0.07);
    --shadow_subtle: 0 1px 2px rgba(0, 0, 0, 0.035),
        0 2px 4px rgba(0, 0, 0, 0.035),
        0 4px 8px rgba(0, 0, 0, 0.035),
        0 8px 16px rgba(0, 0, 0, 0.035),
        0 16px 32px rgba(0, 0, 0, 0.035),
        0 32px 64px rgba(0, 0, 0, 0.035);
}

body {
    background: var(--primary) !important;
}

.language-switcher,
#backtoblog {
    display: none;
}

#login h1 a {
    display:none;
}

#login h1::after {
    content: '';
    background: url(/wp-content/uploads/bureauet-logo-neg.svg);
    height: 80px;
    width: 280px;
    display: block;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
}

div#login {
    height: 100vh;
    padding: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form#loginform {
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--secondary);
    border-radius: 0px;
    border: 0px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.07),
        0 2px 4px rgba(0, 0, 0, 0.07),
        0 4px 8px rgba(0, 0, 0, 0.07),
        0 8px 16px rgba(0, 0, 0, 0.07),
        0 16px 32px rgba(0, 0, 0, 0.07),
        0 32px 64px rgba(0, 0, 0, 0.07);
}

.submit>input[type=submit]#wp-submit {
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    border:2px solid var(--primary);
    text-transform: uppercase;
    font-family: Inter;
    font-weight: 900;
    margin: 10px auto 0;
    width: 100%;
    float: unset;
    display: block;
    transition: .3s ease-in-out;
    padding: 5px 12px;
}

.submit>input[type=submit]#wp-submit:hover {
    background: var(--primary);
    color: var(--secondary);
}

label[for="user_login"],
label[for="user_pass"],
label[for="rememberme"] {
    font-family: Inter;
    font-weight: 700;
}

label[for="rememberme"] {
    font-size: 0 !important;
}
label[for="rememberme"]::before {
    content: 'Forbliv logget ind';
    font-size: 14px !important;
}

input#rememberme {
    border-color: var(--primary);
}

#user_login,
#user_pass {
    font-family: Inter;
    font-weight: 700;
    font-size: 21px;
    background: var(--tertiary);
    border: 2px solid transparent;
    transition: .3s ease-in-out;
    color: var(--primary);
    border-radius: 0 !important;
}

#user_login:focus,
#user_pass:focus {
    background: var(--tertiary);
    border: 2px solid var(--primary);
    box-shadow: unset !important;
    outline: 0 !important;
    color: var(--primary);
}

p#nav {
    text-align: center;
    font-family: Inter;
    font-weight: 700;
    width: fit-content;
    margin: 24px auto 0 !important;
    background: transparent;
    border-radius: 0px;
    padding: 7px 0px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0);
    transition: .3s ease-in-out;
}

p#nav a {
    padding: 7px 14px !important;
    background: transparent;
    color: var(--secondary) !important;
    border-radius: 50px;
    border:2px solid var(--secondary);
}

p#nav:hover {
    box-shadow: var(--shadow);
}

.login .message {
    width: fit-content;
    display: block;
    margin: 0 auto 12px;
    margin-left: auto !important;
    border-radius: 0px;
    font-family: 'Inter';
    font-weight: 700;
    border-left: 4px solid var(--tertiary) !important;
    max-width: 580px;
}

@media only screen and (min-width:980px) {
    form#loginform,
    form#lostpasswordform {
        height: 524px;
        padding: 26px 44px 34px 500px;
        width: 380px;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: var(--secondary);
        background-image: url(/wp-content/uploads/Johnsen-flag-img.jpg);
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 0px;
        border: 0px;
        box-shadow:
            0 1px 2px rgba(0, 0, 0, 0.07),
            0 2px 4px rgba(0, 0, 0, 0.07),
            0 4px 8px rgba(0, 0, 0, 0.07),
            0 8px 16px rgba(0, 0, 0, 0.07),
            0 16px 32px rgba(0, 0, 0, 0.07),
            0 32px 64px rgba(0, 0, 0, 0.07);
    }

    #login>h1 {
        display: none;
    }

    #login h1::after {
        display:none;
    }
}