﻿body, html {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
}

body {
    background: rgb(25,121,198);
    background: linear-gradient(135deg, rgba(25,121,198,1) 0%, rgba(73,138,204,1) 100%);
    padding: 60px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.background {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 1100px;
    z-index: 1;
    background: url(../img/bg.svg);
    background-position: bottom -5px right -5px;
    background-repeat: no-repeat;
    background-size: 80%;
}

main {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 5px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    box-sizing: border-box;
    z-index: 2;
}

    main .logo {
        display: block;
    }

        main .logo img {
            width: 100%;
            max-width: 250px;
            margin-bottom: 50px;
        }

    main h1 {
        color: #555;
        font-size: 26px;
        margin-top: 0;
        margin-bottom: 20px;
        font-weight: 600;
    }

#powered-by {
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    align-items: center;
    text-decoration: none;
    margin-top: 40px;
}

    #powered-by .powered-by-text {
        color: white;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    #powered-by img {
        width: 100%;
        max-width: 180px;
    }

.description {
    color: #666;
    font-size: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group > *:not(:last-child) {
        margin-bottom: 5px;
    }

.simple-form {
    display: flex;
    flex-direction: column;
}

    .simple-form .form-group {
        margin-bottom: 10px;
    }

    .simple-form button {
        margin-top: 10px;
    }

button {
    appearance: none;
    background-color: #1979c6;
    color: white;
    border-radius: 4px;
    border: 0;
    font-size: 15px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

    button:hover {
        background-color: #498acc;
    }

label {
    font-size: 15px;
    color: #333;
}

input[type='text'], input[type='email'], input[type='password'] {
    appearance: none;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #aaa;
    font-size: 14px;
}


.validation-summary-errors {
    margin-bottom: 20px;
}

    .validation-summary-errors ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .validation-summary-errors ul li {
            color: #721c24;
            background-color: #f8d7da;
            border-color: #f5c6cb;
            font-size: 14px;
            border-radius: 4px;
            padding: 10px 12px;
            margin: 0;
        }

        .validation-summary-errors ul li:not(:last-child) {
            margin-bottom: 10px;
        }