@import "https://fonts.googleapis.com/css?family=Livvic:300,400,500,600,700";

* {
    font-family: 'Livvic', sans-serif;
}

:root {
    /*#47748b*/
    /*#40697a*/
    --primary: #ff7e02;
    --secondary: #fcb503;
}

body {
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    height: 100vh;
    /*background: #40697a;*/
    /*background: -webkit-linear-gradient(to right, #47748b, #40697a);*/
    /*background: linear-gradient(to right, #47748b, #40697a);*/
    overflow: hidden;
    width: 100%;
    background: url('../images/background.png') no-repeat;
    background-position: center;
    background-size: cover;
}

.textures {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .1);
    width: 5em;
    height: 10em;
    transform: rotate(45deg);
    margin: 1em;
    margin-top: 5px;
    margin-bottom: 0;
    float: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.login-container {
    background-color: #fff;
    display: flex;
    border-radius: 10px;
    width: 600px;
    -webkit-box-shadow: 6px 6px 15px -3px #444;
    box-shadow: 6px 6px 15px -3px #444;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0px;
}

.left .logo {
    width: 70%;
    height: auto;
}

.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0px;
    text-align: center;
}

.right h3 {
    font-weight: 500;
    color: white;
    background-color: var(--primary);
    padding: 8px;
    margin-bottom: 30px;
}

.right input[type=text],
input[type=password] {
    width: 100%;
    border: none;
    background-color: #eee;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 25px;
    padding-left: 35px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 500;
    color: var(--primary);
    outline: none;
}

.right input[type=submit] {
    width: 100%;
    border: none;
    background-color: var(--primary);
    height: 40px;
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    outline: none;
}

.right input[type=submit]:hover {
    background-color: var(--secondary);
}

.right a {
    text-decoration: none;
    color: #7e7e7e;
    font-size: 13px;
}

.input-icons {
    flex: 1;
}

.input-icons .icon {
    position: absolute;
    padding: 12px 10px;
    color: var(--primary);
}

.alert-erro {
    font-size: 14px;
    background-color: rgba(255, 0, 0, 0.4);
    padding: 5px;
    color: white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .login-container {
        background-color: #fff;
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        width: 300px;
    }

    .left {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px;
        margin-top: 40px;
    }

    .left .logo {
        width: auto;
        height: 200px;
    }

    .right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px;
        text-align: center;
        margin-top: 0;
        margin-bottom: 50px;
    }
}

@media (max-width: 400px) {
    body {
        overflow: hidden;
    }

    .login-container {
        height: 100%;
        width: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        box-sizing: border-box;
    }

    .left {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px;
        margin-top: 30px;
    }

    .right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px;
        text-align: center;
        margin-top: 0;
        margin-bottom: 50px;
    }

    .left .logo {
        width: auto;
        height: 200px;
    }
}