@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #f8c0b7;
    --secondary: #a2c6c0;
    --tertiary: #1e325c;
    --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);
    --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: rgb(248, 192, 183) !important;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 20%, var(--secondary) 80%, var(--secondary) 100%) !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: white;
    border-radius: 40px;
    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: var(--primary);
    color: var(--tertiary);
    border-radius: 5px;
    text-transform: uppercase;
    font-family: Montserrat;
    font-weight: 900;
    margin: 10px auto 0;
    width: 100%;
    float: unset;
    display: block;
    transition: .3s ease-in-out;
    border: 0px;
    padding: 5px 12px;
}

.submit>input[type=submit]#wp-submit:hover {
    box-shadow: var(--shadow_subtle);
}

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

#user_login,
#user_pass {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 21px;
    background: var(--secondary);
    border: 2px solid transparent;
    transition: .3s ease-in-out;
    color: white;
}

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

p#nav {
    text-align: center;
    font-family: Montserrat;
    font-weight: 700;
    width: fit-content;
    margin: 24px auto 0 !important;
    background: white;
    border-radius: 100px;
    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;
}

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

.login .message {
    width: fit-content;
    display: block;
    margin: 0 auto 12px;
    margin-left: auto !important;
    border-radius: 7px;
    font-family: 'Montserrat';
    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: white;
        background-image: url(/wp-content/uploads/login_bg.png);
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 40px;
        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;
    }
}