:root {
    --primary-color:#354156;
	--sombra: rgba(255,255,255,.4);
    --secondary-color: #262650;
    --font-size:1em;
}

*{
   box-sizing: border-box;
}

.seccionbg{
background:url(../images/fondoLogin2.webp) center center no-repeat;
background-size:100% 100%;
height:100vh;
}

#preloader{
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: rgba(255,255,255,0.2);
z-index: 55;
}

.sk-three-bounce {
margin: 0;
width: 100%;
height: 100%;
text-align: center;
background-color: white; }

.sk-three-bounce .sk-child {
position: relative;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
background-color: #593bdb;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
animation: sk-three-bounce 1.4s ease-in-out 0s infinite both; }

.sk-three-bounce .sk-bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s; }

.sk-three-bounce .sk-bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s; }

@-webkit-keyframes sk-three-bounce {
0%,
80%,
100% {
	-webkit-transform: scale(0);
	transform: scale(0); }
40% {
	-webkit-transform: scale(1);
	transform: scale(1); } }

@keyframes sk-three-bounce {
0%,
80%,
100% {
	-webkit-transform: scale(0);
	transform: scale(0); }
40% {
	-webkit-transform: scale(1);
	transform: scale(1); } }

.row{
display:block;
clear:both;
}

.main-content{
	width: 50%;
	border-radius: 20px;
	box-shadow:0 4px 15px rgba(255, 255, 255, 0.2);
	display: flex;
	top: 50%;
	position: absolute;
	left: 50%;
	transform: translate(-50%,-50%);
}

h2{
width: 100%;
text-align:center;
margin-top:1em;
color:var(--secondary-color);
}

form{
width:100%;
}

.company__logo{
background:url(../images/logo-myg320.webp) center center no-repeat;
background-size:30%;
display: block;
width: 100%;
min-height: 100px;
}

.company__info{
	background-color:var(--primary-color);
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #fff;
}

@media screen and (max-width: 640px) {
	.main-content{
		width: 90%;
		transform:translate(-45%,-50%);
	}
	.company__info{
		display: none;
	}
	.login_form{
		border-top-left-radius:20px;
		border-bottom-left-radius:20px;
	}
	.coldcha{
		height:130px;
		position:relative;
		background: url(../images/logo-azul.webp) center 10px no-repeat;
		background-size:90px;
	}
	.coldcha h2{
		position:absolute;
		bottom:0;
		font-size:1.3em;
		margin-bottom:0;
	}
}
@media screen and (min-width: 642px) and (max-width:800px){
	.main-content{width: 70%;}
}
.row > h2{
	color:var(--secondary-color);
}
.login_form{
	background-color: #efefef;
	border-top-right-radius:20px;
	border-bottom-right-radius:20px;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
}
form{
	padding: 0 2em;
}
.form__input{
	width: 100%;
	border:0px solid transparent;
	border-radius: 0;
	border-bottom: 1px solid #aaa;
	padding: 1em .5em .5em;
	padding-left: 2em;
	outline:none;
	margin:1.5em auto;
	transition: all .5s ease;
}
.form__input:focus{
	border-bottom-color:var(--primary-color);
	box-shadow: 0 0 5px var(--sombra); 
	border-radius: 4px;
}
.btn{
	transition: all .5s ease;
	width: 70%;
	border-radius: 30px;
	color:var(--primary-color);
	font-weight: 600;
	background-color: #fff;
	border: 1px solid var(--primary-color);
	margin:1.5em auto 1em auto;
}
.btn:hover, .btn:focus{
	background-color:var(--primary-color);
	color:#fff;
}