@import "fontello.css";
@import url('https://fonts.googleapis.com/css?family=Baloo+2&display=swap');

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

/*CUSTOM VARIABLES FOR COLORS*/

:root {

  --blue-clr: #005EB5;
  --red-clr: #EA1C28;
  --black-clr: #000;
  --secondary-clr-light: #554971;
  --linear-grad: linear-gradient(135deg, #ea1c28 0%,#dfea10 100%);
}

body *{
	font-family: 'Baloo 2', cursive;

}

.container{
	min-height: 100vh;
	min-width: 300px;
    background: transparent url(../img/bg-movil.jpg) no-repeat center center / cover;
    background-color: rgb(82, 174, 202);
    display:flex;
    justify-content: center;
	align-items: center;

}

.form{

	max-width: 80vw;
	width: 90%;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	/*outline: 1px solid black;*/
	padding: 2em;
	/*opacity: 0.75;*/
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow:  2px 4px 10px 5px #333;
	transition: background 1s ease-in-out;
}

.brand{
	margin: 0 auto;
	width: 100%;
	height: 4em;
}
/**/
.logo{
	text-indent: -3000px;
	display: block;  /*Si no esta no hace el text indent, */
	background: transparent url(../img/logo.svg) no-repeat center center;
	width: 100%;
	height: 100%;

}

.form-title{
	margin: 0.5rem 0;;
	font-size: 2em;
	color: var(--blue-clr);
	line-height: 1.2em;
	text-align: center;
}



.dotted-box{
	font-size: 1.2rem;
	outline: 1px dashed black;
	color: var(--black-clr);
	margin: 0.3rem 0;
	width: 100%;
	text-align: center;
}


.oferta-codigo{
	margin-top: 1rem;
	color: var(--black-clr);
	font-size: 1.5rem;
	font-weight: 600;
}


input{
	width: 100%;
}

label{
	width: 100%;
	text-align: left;
	margin-top: 0.8rem;
	color: var(--blue-clr);
	font-weight: 600;
	text-shadow: 0.5px 0.2px #131111;
}

.btn{
	align-self: center;
	border: 0;
}

.enviar-btn{
	background: var(--red-clr);
	width: 100%;
	height: 3rem;
	padding: 0 .8em;
	outline: none;
	border: none;
	border-radius: 35px;
	color: white;
	margin: 0.8em 0;
	font-size: 1.7rem;
	text-decoration: none;
	letter-spacing: 1px;
	transition: background 2s ease-in-out;
}

.enviar-btn:hover{
	cursor: pointer;
	background: linear-gradient(135deg, #ea1c28 0%,#f7a611 70%,#fcf400 100%);
}




/*TABLET*/

@media (min-width: 700px) and (max-width:991px){
	.container{
		background: transparent url(../img/bg-tablet.jpg) no-repeat center center / cover;
		display:grid;
		grid-template-columns: 3fr 1fr 1fr;
		grid-template-rows: 1fr 4fr 1fr;
		grid-template-areas: ". . ."
							"offer .  ."
							". . .";
		align-items: center;
		grid-gap: 5vw;
		max-height: 100vh;
	}

	.form{
		grid-area: offer; 
		justify-self: right;
	
		/*align-self: right; Esta propiedad no me funciona  */
		padding: 1.5em;
		min-width: 30vw;
		max-width: 45vw;
		min-height: 60vh;	
		
	}
}

/*DESKTOP*/

@media (min-width: 992px) {
  	.container{
		background: transparent url(../img/bg-desktop.jpg) no-repeat center center / cover;
		display:grid;
		grid-template-columns: 4fr 2fr 2fr;
		grid-template-rows: 1fr 6fr 1fr;
		grid-template-areas: ". . ."
							"offer . ."
							". . .";
		align-items: center;
			
		grid-gap: 5vw;
		max-height: 100vh;
	}
	
	.form{
		grid-area: offer; 
		padding: 1.2em;
		justify-self: right;
		width: 70%;
		min-height: 60vh;	
		min-width: 20vw;
		max-width: 400px;
		transition: background-color 0.8s ease-in-out;
	}

	.form:hover{
		background-color: rgba(255, 255, 255, 0.7);
		box-shadow:  5px 10px 25px 9px #000;
	}

}


    

