/* --- RESET CSS --- */

@import url('https://fonts.googleapis.com/css?family=Lato|Oswald');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; 
}

html, body{
	height: 100%; 
	
}

nav{
	display: inline-block;
	position: relative;
	top:0;
	left:0;
	z-index: 888;
	width:100%;
	color:white;
}

#title{
	display:none;
	text-align: center;
}

#lang{
	float: right;
}

#lang:hover{
	font-style: italic;
	cursor: pointer;
}

#wrapper{
	background:#1E90FF;
	width: 100%;
	padding: 20px;
	color:white;
}

#inputlbl{
	font-size: 16px;
}

#resultBox{
	padding: 5px 2px 5px 2px;
	width: 100%;
}

.result{
	display: block;
	position:relative;
	color:white;
}

.result label{
	align:left;
	width:50%;
}
.result span{
	align:right;
	text-decoration: bold;
	width:50%;
}

header, nav, section, article, aside {
	margin-bottom: 20px;
}

section, article, aside {
	width:100%;
	float:none;
}

/* ==== BIGGER PHONES LAYOUT ==== */

@media only screen and (min-width: 410px) {
	#title{
		display: inline;
		font-size: 18px;
		padding-left: 5px;
	}

}


/* ==== TABLET LAYOUT ==== */
/* 481px to 768px. Inherits styles from mobile layout */

@media only screen and (min-width: 540px) {
	#wrapper {
		width: 90%;
		margin: 0 auto;
	}

	#resultBox{
		padding: 10px 5px 10px 5px;
		width: 60%;
	}

	#title{
		font-size: 22px;
		padding-left: 10px;
	}

}

/* ==== DESKTOP LAYOUT ==== */
/* 769px to max of 1200px. Inherits styles from mobile layout and Tablet Layout */

@media only screen and (min-width: 900px) {
	#wrapper {
		width: 80%;
		max-width: 1200px;
	}

	#resultBox{
		padding: 20px 5px 20px 5px;
		width: 40%;
	}

	#title{
		font-size: 28px;
		padding-left: 20px;
	}

}
