* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-width: 100%;
    min-height: 100vh;
    display: flex;
    background: #132030;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    flex-direction: column;
}

.main-login {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

    & .messages {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        & .msg {
            display: flex;
            margin: 1rem 0;
            border-bottom: 1px solid #2F3339;
            align-items: center;
            
            & button {
                cursor: pointer;
                margin-left: 5rem;
            }
        }
    }

    & .wrapper {
        width: 60%;
        display: flex;

        & .info {
            width: 50%;
            display: flex;
            border: 1px solid #2F3339;
            padding: 1rem;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            border-top-left-radius: 2rem;
            border-bottom-left-radius: 2rem;

            & a {
                width: 100%;

                & img {
                    max-width: 80%;
                    height: auto;
                }

            }
        }

        & .login-form {
            width: 50%;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            border: 1px solid #2F3339;
            justify-content: center;
            align-items: center;
            border-top-right-radius: 2rem;
            border-bottom-right-radius: 2rem;

            & input {
                outline: none;
                border: none;
                border-bottom: 1px solid #2F3339;
                color: white;
                background: none;
                width: 60%;
                margin: 1rem 0;
                padding: .2rem;
                text-align: center;
            }

            & button {
                margin-top: 2rem;
            }

            & .reset {
                text-decoration: underline;
                margin-top: 3rem;
                cursor: pointer;
            }
        }
    }
}

.reset-pw {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.233);
    backdrop-filter: blur(10px);

    & .inner-container {
        width: 50%;
        background: #132030;
        border: 1px solid #2F3339;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;

        & input {
            width: 80%;
            margin: 1rem 0;
        }

        & button {
            margin-top: 2rem;
            cursor: pointer;
        }
    }
}




footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #1a2b41;
    border-top: 1px solid #2F3339;

    & a {
        color: white;
    }

    & .legal {
        display: flex;
        flex-direction: column;
    }
}


@media screen and (max-width: 900px) {
    .main-login {
        padding: 5rem 0;

        .wrapper {
            flex-direction: column;
            width: 60%;

            & .info {
                width: 100%;
                border-radius: 0;
                border-top-right-radius: 2rem;
                border-top-left-radius: 2rem;

                & a {
                    width: 50%;
                }
            }

            & .login-form {
                width: 100%;
                border-radius: 0;
                border-bottom-left-radius: 2rem;
                border-bottom-right-radius: 2rem;
                padding: 5rem 0;
            }
        }
    }

    & footer {
        flex-direction: column;
        align-items: center;

        & .legal {
            text-align: center;
            margin-bottom: 2rem;
        }
    }
}

.main-reset {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding-top: 2rem;

    & img {
        width: 15%;
    }

    & form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 3rem;
        width: 25%;

        & input {
            margin: 1rem 0;
            width: 100%;
        }

        & button {
            margin: 0 auto;
            margin-top: 3rem;
            cursor: pointer;
        }
    }
}