﻿body {
    background: url('../imagenes/d90cc12e-637a-47ad-8281-3d207d655b21.png');
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-size: cover;
    background-position: bottom;
    font-family: Arial;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-container {
    background: grey;
    position: relative;
    border-radius: 30px;
    display: flex;
    width: 70vw;
    height: 65vh;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.07);
    box-shadow: 12px 12px 30px -12px rgba(0, 0, 0, 0.35);
}

.login#login-form {
    width: 50%;
    display: block;
    padding: 15px;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 20px;
}

.login#login-bg {
    width: 50%;
    display: inline-flex;
    background: url('../imagenes/LogoMagna.png') 1000px 1000px no-repeat;
    background-position: center center;
    float: right;
    border-radius: 0 30px 30px 0;
}

.form-title {
    position: absolute;
    top: 11%;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 25px;
    line-height: 1.4;
    margin-top: -60px;
}

    .form-title hr {
        width: 75%;
        border: 2px solid #dedede1f;
        border-radius: 10px;
        margin-top: 20px;
    }



.form-container {
    padding: 25px 10px;
    border-radius: 5px;
    width: 80%;
    text-align: left;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 10px;
    margin-left: -10px;
    padding: 16px 20px;
    border-radius: 26px;
    border: 2px solid rgba(10, 73, 124, 0.73);
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 80%;
    color: rgba(10, 73, 124, 0.73);
    box-shadow: 0px 2px 2px rgba(10, 73, 124, 0.73);
    cursor: pointer;
    transition: .2s;
}

    .login__submit:active,
    .login__submit:focus,
    .login__submit:hover {
        background-color: rgba(10, 73, 124, 0.73);
        box-shadow: 0px 15px 20px rgba(10, 73, 124, 0.73);
        border: 0;
        color: #fff;
        transform: translateY(-7px);
    }

.button__icon {
    font-size: 24px;
    margin-left: auto;
    color: rgba(10, 73, 124, 0.73);
}

.login__field {
    padding: 20px 0px;
    position: relative;
}

.login__icon {
    position: absolute;
    top: 30px;
    color: rgba(10, 73, 124, 0.73);
}

.login__input {
    border: none;
    border-bottom: 2px solid #D1D1D4;
    background: grey;
    padding: 10px;
    padding-left: 24px;
    font-weight: 700;
    color: white;
    width: 75%;
}

login__input::after {
    background: grey;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
    border-bottom-color: rgba(10, 73, 124, 0.73);
}

@media (max-width:933px) {
    .login#login-bg {
        width: 0;
    }

    .login#login-form, .register {
        width: 100%;
    }

    input {
        width: 100%;
    }
}
