@import url('https://fonts.googleapis.com/css?family=Roboto:400,900|Poppins&display=swap');
body{
	font-family: 'Roboto', sans-serif;
	font-size: 1.3em;
	line-height: 1.6;
	color: #333;
	background: #186BBB;
	background-size: cover;
	background-position: center;
}
@media (max-width: 768px) {
  body{
		font-family: 'Roboto', sans-serif;
		font-size: 1.3em;
		line-height: 1.3;
		color: #333;
		background: #186BBB;
		background-size: cover;
		background-position: top ;
	}
}
#section_welcome{
	width: 100%; height: 100vh;
}
.welcome{
	width: 440px;
	background-color: #ecedef;
	padding:20px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0px 10px 10px rgba(0,0,0,0.2); 
	border-radius: 12px;

}
body.vendedor{
	background: orange;
}
h1, h2,h3{
	font-family: 'Poppins', cursive;
	line-height: 1.6;
}
.logo{
	position: absolute;
	margin: -100px 0 0 -230px;
	padding:30px;
	background: #D4D4D4;
	border-radius: 12px; 
	box-shadow: 0 0px 10px 10px rgba(0,0,0,0.2); 
	z-index: -1;
}
footer a:link, footer a:visited{
	color: #000;
}

/* Portada */
body.portada{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 0;
	height: 100vh;
}
.portada-login{
	min-height: 400px;
	width: 820px;
	background: #fff;
	display: flex;
	justify-content: space-between;
	box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
	border-radius: .25rem;

}

.portada-logo{
	
	display: flex;
	align-items: center;
	justify-content:center;
	padding: 20px;
	background: #D4D4D4;
	border-radius: .25rem 0 0 .25rem;
}
.portada-logo img{
	width: 100%;
	background: #D4D4D4;
}
.portada-form{
	display: flex;
	flex-direction: column;
	align-items: left;
	justify-content:center;
	padding: 20px;
}
@media (max-width: 768px) {
	.portada-form{
		border-radius: 12px;
	}
	.portada-logo img{
		width: 50%;
	}
	.portada-form{
		text-align: center;
	}
}
.portada-form h1{
	font-size: 30px;
}
.portada-form h2{
	font-size: 18px;
}
.txtb{
	border: 1px solid #adadad;
	border-bottom: 2px solid #adadad;
	position: relative;
	margin: 30px 0;
}
.txtb input{
	font-size: 16px;
	font-weight: bold;
	color: #000;
	border: none;
	width: 100%;
	outline: none;
	background: none;
	padding: 0 5px;
	height: 40px;
}
.txtb span::before{
	content: attr(data-placeholder);
	position: absolute;
	top: 50%;
	left: 5px;
	color: #716B6B;
	transform: translateY(-50%);
	z-index: -1;
	transition: .5s;
}
.txtb span::after{
	content: '';
	position: absolute;
	width: 0%;
	top: 100%; left: 0;
	height: 2px;
	background: linear-gradient(120deg, #3498db, #8e44ad);
	transition: .5s;
}
.focus + span::before{
	top: -7px;
}
.focus + span::after{
	width: 100%;
}

.logbtn{
	display: block;
	width: 100%;
	height: 50px;
	border:none;
	background: linear-gradient(120deg, #3498db, #8e44ad);
	background-size: 200%;
	color: #fff;
	outline: none;
	cursor: pointer;
	transition: .5s; 
	border-radius: 4px;
}
.logbtn:hover{
	background-position: right;
}
.bottom-text{
	margin-top: 60px;
	text-align: center;
	font-size: 13px;
}
.error{
	width: 100%;
	margin:10px 0;
	color: #e74c3c;
	border: 2px solid #e74c3c;
	padding: 10px;
	text-align: center;
}
