@charset "utf-8";

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-align: center;
    position: relative;
    user-select: none;
    -ms-user-select: none;
    font-size: 18px;
}
    body main {
        height: 19em;
        width: 21em;
        max-width: calc(100% - 6em - 62px);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        padding: 3em;
        border: 15px solid;
        border-color: var(--color-main);
        box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
        font-size: 18px;
    }

        body main form {
            height: 100%;
            width: 100%;
            position: relative;
        }

            body main form .content-logo {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 0 0 1em 0;
            }

                body main form .content-logo img.parts-logo {
                    width: 90px;
                    height: 90px;
                    margin-right: 1em;
                }

                body main form .content-logo p.parts-title {
                    font-size: 26px;
                    font-weight: bold;
                    margin: 0;
                    line-height: 1.2;
                    color: #66CDAA;
                }

                body main form .content-logo .parts-title-wrap {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                }

                body main form .content-logo p.parts-subtitle {
                    font-size: 13px;
                    font-weight: bold;
                    letter-spacing: 0.08em;
                    margin: 0 0 0.25em 0;
                    line-height: 1.2;
                    color: #d3d3d3;
                }

            body main form .content-form {
                width: 100%;
            }

                body main form .content-form input[type="text"],
                body main form .content-form input[type="password"] {
                    height: 2.5em;
                    width: 100%;
                    box-sizing: border-box;
                    font-size: 18px;
                    border-top: none;
                    border-right: none;
                    border-left: none;
                    border-bottom: 1px solid;
                    border-color: var(--color-main);
                }

                body main form .content-form p.parts-password {
                    position: relative;
                }

                    body main form .content-form p.parts-password #buttonEye {
                        position: absolute;
                        top: 0;
                        right: 0;
                        padding-top: 15px;
                        transform: translate(-10px);
                    }

            body main form .parts-error {
                width: 100%;
                color: var(--color-error);
                text-align: center;
                font-weight: bold;
                margin:0;
            }

            body main form input[type="submit"] {
                width: 270px;
                max-width: 100%;
                box-sizing: border-box;
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translate(-50%);
                font-size: 18px;
            }

@media screen and (max-width: 480px) {
    body main {
        max-width: calc(100% - 4em - 52px);
        padding: 2em;
        border-width: 10px;
    }

        body main form .content-logo {
            margin-bottom: 0.75em;
        }

            body main form .content-logo img.parts-logo {
                width: 72px;
                height: 72px;
                margin-right: 0.75em;
            }

            body main form .content-logo p.parts-title {
                font-size: 22px;
            }
}

