@import url('https://fonts.googleapis.com/css?family=Poppins:300&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css');

* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    max-width: 100vw;
    min-height: 100vh;
    background-image: url('../images/bg-min.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Poppins", sans-serif;
    background-repeat: no-repeat;
    background-color: #000;
    font-weight: 300;
}

body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .85);
    z-index: -1;
}

header {
    width: 100%;
    height: 80px;
    /*background: rgba(0, 0, 0, .8);*/
    /*box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .2);*/
    display: flex;
    align-items: center;
    justify-content: center;
}

header nav {
    width: 100%;
    max-width: 1024px;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav ul {
    display: flex;
}

header nav ul li {
    list-style-type: none;
    margin: 0 .2em;
}

header nav ul li:last-child {
    margin-right: 0;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    background: unset;
    text-transform: uppercase;
    font-size: .9em;
    display: flex;
    padding: .5em .7em;
    border-radius: 2px;
    /*background: rgba(255, 255, 255, .1);*/
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, .2);
}

.logo {
    width: auto;
    height: 50px;
}

h1 {
    font-weight: 300;
    font-size: 1.2em;
}


.content {
    width: 100%;
    max-width: 1024px;
    display: flex;
    margin: auto;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1em;
}

.market {
    width: 350px;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: space-between;
    /* background: #000; */
}

.market .item {
    position: relative;
    padding-left: 3em;
}

.market i {
    position: absolute;
    left: 0;
    top: 5px;
}

.market h5 {
    font-size: 1.3em;
    font-weight: 300;
}

.market p {
    margin-top: .5em;
    font-weight: 300;
    color: rgba(255, 255, 255, .7);
}

.form {
    width: 450px;
    background: #fff;
    padding: 1.5em 2em;
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .2);
    align-items: center;
}

@media screen and (max-width: 850px) {

    header {
        background: unset;
        padding-top: 1em;
    }

    header nav {
        justify-content: center;
    }

    header nav ul {
        display: none;
    }

    .content {
        /*width: 90%;*/
        justify-content: center;
    }

    .market {
        display: none;
    }
}

.form * {
    margin: .3em 0;
}

.input-icon {
    width: 100%;
    position: relative;
}

.input-icon::before {
    font-family: "Material Icons";
    content: attr(data-icon);
    position: absolute;
    left: .5em;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-icon input, .input-icon select, .input-icon-any {
    width: 100%;
    border: 1px solid #e3e3e3;
    box-shadow: inset 0 0 3px #e3e3e3;
    padding: 1em 1em 1em 2.5em;
    border-radius: 6px;
}
.input-icon select {
	font-size: 13.3333px;
    color: #424141;
    font-family: Arial;
	padding-left:50px;
    -webkit-appearance: none !important;
}
.input-icon select option {
	font-size: 15px;
}
input.err {
    border-color: red !important;
    box-shadow: inset 0 0 3px red !important;
}

/* Termos e condicoes */

label {
    font-size: .85em;
    color: #333;
    display: flex;
    align-items: center;
}

label::before {
    font-family: "Material Icons";
    content: "check_box_outline_blank";
    font-size: 1.3em;
    color: #333;
    margin-right: .5em;
    cursor: pointer;
}

.form input[type=checkbox] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.form input[type=checkbox]:checked + label::before {
    content: "check_box";
    color: green;
}

.group {
    width: 100%;
}

/* Botão criar conta e input login */

button.btn, input.btn {
    width: 100%;
    padding: .7em 1em;
    border: 0;
    background: #2d055c;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 2px 2px 0 rgba(156, 39, 176, .14), 0 3px 1px -2px rgba(156, 39, 176, .2), 0 1px 5px 0 rgba(156, 39, 176, .12);
    border-radius: 3px;
    cursor: pointer;
    height: 38px;
    margin-top: 1em;
}

button.btn[disabled] {
    opacity: .5;
    cursor: unset;
}

/* div com o nome do input */
div.group div:first-child { font-size: .85em; }

/* se houver erro de validação */
div.group div.err:first-child { color: red;}

/* Esqueceu sua senha? */
a.forgot {
    margin-top: .8em;
    display: flex;
    align-items: center;
}

a.forgot p, a.forgot i {
    color: #555;
    font-size: .9em;
    margin: 0 3px;
}

/* Mensagem de erro */

.message {
    position: absolute;
    border-radius: 3px;
    color: #fff;
    max-width: 310px;
    width: 100%;
    background: rgb(200, 0, 0);
    padding: .7em 1em;
    box-shadow: 0 0 3px rgba(150, 0, 0, .8);
    text-align: center;
    top: 80px;
    font-size: .8em;
    /* display: none; */
}
