@import url('https://fonts.cdnfonts.com/css/montserrat');

body {
    font-family: 'Montserrat', sans-serif;
    font-size: small;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    margin:0 ;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}
.content {
    display: flex;
    flex: 1;
    background-color: #FF3CAC;
    background-image: linear-gradient(225deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%);

    &.register {
        background: #2193b0;  /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #6dd5ed, #2193b0);  /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    }

    flex-direction: column;
    align-items: center;
    justify-content: center;

    .form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        justify-content: center;
        gap: 1ch;
        background: rgba(255,255,255,0.75);
        border-radius: 1ch;
        padding: 1ch 4ch;
        min-width: 200pt;

        .field {
            display: flex;
            justify-content: center;
            input[type="text"] {
                padding: 1ch 1.5ch;
                border-width: 0;
                border-radius: .5ch;
                text-align: center;
                outline: none;
                &::placeholder {
                    color: #c0c0c0;
                }
            }


        }
        .buttons {
            display: flex;
            gap: 1ch;
            justify-content: center;
            border-top: 1px dashed #E0E0E0;
            padding-top: 1ch;
            button {
                text-transform: uppercase;
                font-size: 9pt;
                padding: 1ch 2ch;
                border-width: 0;
                background: rgba(0,0,0,0.1);
                border-radius: .5ch;
                &:hover {
                    background: rgba(0,0,0,0.25);
                }


            }
        }
    }

    .results {
        font-size: 90%;
        display: flex;
        flex-direction: column;
        padding-top: 1em;
        min-height: 2lh;
        .error {
            text-align: center;
            color: deeppink;
        }
        .success {
            text-align: center;
            color: darkslateblue;
        }
        .result {
            &:empty {
                display: none
            }
            margin-top: 1ch;
            border: 1px dashed #bbb;
            padding: .5ch;
            white-space: pre;
            text-align: left;
            max-width: 250pt;
            min-height: 50pt;
            overflow: hidden;
            user-select: all;
        }
    }
}




