﻿*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #222222;
    background-color: #f2f2f0;
    background-color: #56385a;
    background-image: url("../images/cover.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    overflow-x: hidden;
}

body,
input,
button {
    font-family: 'Muli', sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    outline: none;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
}

a {
    color: inherit;
    outline: none;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.form-container {
    max-width: 450px;
    margin: 0 auto;
}

.form-body {
    background-color: #4a304d;
    padding: 50px;
    color: #ffffff;
    border-radius: 3px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media only screen and (max-width: 500px) {
    .form-body {
        padding: 50px 40px;
    }
}

@media only screen and (max-width: 455px) {
    .form-body {
        padding: 45px 30px;
    }
}

@media only screen and (max-width: 340px) {
    .form-body {
        padding: 30px 20px;
    }
}

.form-body .title {
    margin: 0;
    text-align: center;
    font-weight: normal;
}

.social-login ul {
    list-style-type: none;
    margin: 30px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

    .social-login ul li {
        flex: 1 auto;
    }

        .social-login ul li a {
            background-color: #56385a;
            border-radius: 3px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            padding: 15px;
            color: #e6e6e6;
            font-weight: bold;
            text-decoration: none;
            transition: background-color .3s;
        }

            .social-login ul li a::before {
                content: '';
                width: 30px;
                height: 30px;
                background-repeat: no-repeat;
                background-position: center;
                background-size: 30px;
                margin-right: 5px;
            }

            .social-login ul li a:hover {
                background-color: #fff199;
                color: #0e090e;
                box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            }

li.google {
    margin-right: 10px;
}

    li.google a::before {
        background-image: url("../images/google.png");
    }

li.fb {
    margin-left: 10px;
}

    li.fb a::before {
        margin: 0;
        background-image: url("../images/fb.png");
    }


.ait a::before {
    margin: 0;
    background-image: url("../images/AIT LOGO-final-2.png");
}

@media only screen and (max-width: 400px) {
    .social-login ul {
        flex-direction: column;
    }

    li.google,
    li.fb {
        margin: 0;
    }

    li.google {
        margin-bottom: 10px;
    }
}

._or {
    text-align: center;
    margin-bottom: 20px;
    color: #d9d9d9;
}

.the-form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

    .the-form label {
        margin-bottom: 5px;
        color: #e6e6e6;
        font-weight: bold;
    }

    .the-form [id="userid"],
    .the-form [id="password"] {
        padding: 15px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        margin-bottom: 15px;
        transition: background .3s;
        color: #e6e6e6;
    }

        .the-form [id="userid"]::placeholder,
        .the-form [id="password"]::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .the-form [id="userid"]:hover,
        .the-form [id="password"]:hover {
            background: rgba(0, 0, 0, 0.1);
        }

        .the-form [id="userid"]:focus,
        .the-form [id="password"]:focus {
            background: #ffffff;
            box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
            border-color: #4a304d;
            color: #222222;
        }

            .the-form [id="userid"]:focus::placeholder,
            .the-form [id="password"]:focus::placeholder {
                color: #666666;
            }

    .the-form [id="submit"] {
        background: #ffb37b;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 18px;
        font-size: 20px;
        border-radius: 3px;
        cursor: pointer;
        margin-top: 20px;
        color: black;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

        .the-form [id="submit"]:hover {
            opacity: .9;
        }

.form-footer div {
    text-align: center;
    padding: 25px 20px;
    font-size: 10px;
    color: #e6e6e6;
}

    .form-footer div a {
        color: #ffb37b;
    }
