/*
    Lockscreen Style Sheet
    nirixan.neocities.org
*/

/* -------------------------------------- */

/* Fonts */
@font-face {
    font-family: "FreePixel";
    src: url('../Fonts/free_pixel/FreePixel.ttf') format("truetype");
}

.FreePixel {
    font-family: FreePixel, Tahoma;
    font-optical-sizing: auto;
    font-style: normal;
}

/* -------------------------------------- */

/* HTML Styles */
html {
    text-shadow: -1px 0 0 rgba(155, 63, 17, 0.2), 1px 0 0 rgba(49, 122, 176, 0.2);
}

/* -------------------------------------- */

/* Body Styles */
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    user-select: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: scroll;
    font-family: Tahoma;
}

/* -------------------------------------- */

/* Main Styles */
main {
    height: 70vh;
    background: radial-gradient(16% 40% at 6% 13%, #92B2EF 10%, #5A7EDC 100%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* -------------------------------------- */

/* Logo Styles */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    position: relative;
    margin-right: 30px;
    margin-top: 20px
}

    .logo-container p {
        margin-top: 30px;
        margin-right: 26px;
        color: white;
        font-size: 1.8em;
    }

.logo {
    height: 130px;
}

/* -------------------------------------- */

/* Center Line Styles */
.center-line {
    height: 100%;
    width: 2px;
    margin: 0 36px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.4), transparent);
}

/* -------------------------------------- */

/* User Container Styles */
.user-container {
    display: flex;
    height: 100px;
    width: 400px;
    align-items: center;
    border-radius: 10px;
    padding: 1px 0.5px;
    background: linear-gradient(to right, #1242A6, #5A7EDC), linear-gradient(to right, #9CB2EA, #5A7EDC);
    background-origin: border-box;
    background-clip: content-box, border-box;
    gap: 16px;
    box-sizing: border-box;
}

.user-icon {
    height: 64px;
    width: 64px;
    margin-left: 16px;
    border: 2px solid #FFEE00;
    outline: 1px solid #FFB600;
    border-radius: 6px;
    background: url("/Images/Admin_Icon.png") no-repeat center center;
    background-size: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex-grow: 1;
}

.username {
    font-weight: bold;
    color: white;
    font-size: 1em;
}

.password-label {
    color: white;
    font-size: 1em;
    font-family: FreePixel;
    word-spacing: -4px;
}

.password-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -30px;
}

    .password-input-row input {
        height: 40px;
        border-radius: 4px;
        border: none;
        box-shadow: 1px 2px 2px #1242A6;
        padding-left: 6px;
        width: 200px;
    }

        .password-input-row input:disabled {
            background: white;
            color: black;
        }

.login-button {
    background: none;
    border: none;
    padding: 0;
    cursor: default;
}

    .login-button img {
        height: 32px;
        box-shadow: 3px 3px 2px #1242A6;
    }

/* -------------------------------------- */

/* Header Styles */
header {
    position: sticky;
    height: 15vh;
    background-color: #00309C;
    top: 0;
}

    header::before {
        content: "";
        width: 100%;
        height: 3px;
        position: absolute;
        margin-top: 15vh;
        background: linear-gradient(270deg, #084DA3 -30%, #084DA3 0%, #FFFFFF 70%, #084DA3 95%, #084DA3 120%);
    }

/* -------------------------------------- */

/* Footer Styles */
footer {
    position: sticky;
    height: 15vh;
    bottom: 0;
    background: linear-gradient(to right, #3934AD, #00309C);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    footer::before {
        content: "";
        width: 100%;
        height: 3px;
        position: absolute;
        align-self: flex-start;
        background: linear-gradient(270deg, #084DA3 -30%, #084DA3 0%, #FF9933 70%, #084DA3 95%, #084DA3 120%);
    }

/* -------------------------------------- */

/* Footer Info Text Styles */
.footer-info-text {
    margin-right: 100px;
    margin-bottom: 36px;
    color: #fff;
    font-size: 1.1em;
    font-family: FreePixel;
    line-height: 0em;
    letter-spacing: 0px;
    word-spacing: -4px;
}

/* -------------------------------------- */

/* Shutdown Styles */
.shutdown-container {
    display: flex;
    padding-bottom: 16px;
    margin-left: 50px;
    margin-bottom: 36px;
    justify-content: center;
    align-items: center;
    text-underline-offset: 2px;
}

    .shutdown-container:hover {
        text-decoration: underline;
        text-decoration-thickness: 2px;
        color: white;
        cursor: pointer;
    }

.shutdown-button {
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.shutdown-text {
    color: white;
    padding-left: 8px;
    font-size: 1.4em;
}

.shutdown-button img {
    height: 34px;
    background-size: cover;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}