﻿body, html {
    height: 100%;
    margin: 0;
}

body {
    background-image: url("../images/mesh.svg");   
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: cornflowerblue;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22rem;
    padding: 2rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0.625rem;
}

    .box h2 {
        color: #fff;
        text-align: left;
        vertical-align: central;
    }

    .box .input-form label {
        top: 0;
        left: 0;
        padding: 0.525rem 0;
        font-size: 1rem;
        color: #fff;
        pointer-events: none;
        transition: 0.5s;
    }

    .box .form-check label {

        font-size: 1rem;
        color: #fff;
        pointer-events: none;
        transition: 0.5s;
    }

    .box .input-form input {
        width: 100%;
        background: rgb(255, 255, 255, 0.6);
        border: none;
        margin-bottom: 1.5rem;
        outline: none;
    }

        .box .input-form input:focus ~ label,
        .box .input-form input:valid ~ label,
        .box .input-form input:not([value=""]) ~ label {
            top: -1.125rem;
            left: 0;
            color: #03a9f4;
            font-size: 0.75rem;
        }

    .box img {
        margin-top: 10px;
        height: 90px;
        width: auto;
    }


    .box .form-button {
        margin-top: 50px;
    }

        .box .btn-primary input[type="submit"] {
            border: none;
            outline: none;
            color: #fff;
            background-color: #4800ff;
            padding: 0.625rem 1.25rem;
            cursor: pointer;
            border-radius: 0.312rem;
            font-size: 1rem;
        }

        .box input[type="submit"]:hover {
            background-color: #1cb1f5;
        }

.vertical-center {
    display: flex;
    align-items: center;
    height: 100%;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}