@charset utf-8;

body {
	background-color: #0082C8;
	color:#fff;
}
.container {
	width: 500px;
	max-width: 100%;
	margin: auto;
}

h1 {
	text-align: center;
}
.message {
	margin-bottom: 40px;
	text-align: center;
}

#uploadBtn {
	display:block;
	width: 100%;
	height: 60px;
	line-height: 60px;
	border: 1px solid #666;
	border-radius: 30px;
	font-size: 18px;
	margin-top: 60px;
	background-color:#CCE6F4;
	cursor: pointer;
}
#uploadBtn:hover {
	background-color:#edd;
}
label {
	display: block;
	position: relative;
}
input[type=file] {
	width:100%;
	height: 120px;
	border: 3px dashed #fcc;
	line-height: 120px;
}
input[type=file]::file-selector-button {
	width: 100%;
	height: 100%;
	font-weight: bold;
	font-size: 16px;
	border:none;
	text-align: center;
	display:block;
}
input[type=file].active::file-selector-button {
	background-color:#eee;
}
.filename {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	color:#666;
	width: 100%;
	text-align: center;
}
#progressContainer {
	display: none;
	position: relative;
	margin-top: 20px;
	width: 100%;
	height: 30px;
	background-color:#00a2e8;
	border-radius: 8px;
}
#progressBar {
	position: absolute;
	top: 0;
	left: 0;
	width: 0%;
	background-color:#0cf;
	height: 30px;
	text-align: center;
	border-radius: 8px;
}
#progressTxt {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	line-height: 30px;
	text-align: center;
	color:#000;
}

footer {
	position: fixed;
	text-align: center;
	border-top: 1px solid #ccc;
	bottom: 0;
	width: 100%;
}

@media only screen and (max-width: 1000px) {
	body {
		font-size: 30px;
	}
	.container {
		width: 90%;
		margin: auto;
	}
	.message {
		margin-bottom: 100px;
	}
        input[type=file] {
		height: 250px;
		line-height: 250px;
        }
	input[type=file]::file-selector-button {
		font-size: 40px;
	}
	#uploadBtn {
		margin: 100px 0;
		height: 140px;
		line-height: 140px;
		font-size: 40px;
	}
	#progressContainer {
		height: 50px;
	}
	#progressBar {
		height: 50px;
	}
	#progressTxt {
		height: 50px;
		line-height: 50px;
	}
}
@media only screen and (max-width: 850px) {
	body {
		font-size: 20px;
	}
}
@media only screen and (max-width: 600px) {
	body {
		font-size: 16px;
	}
	h1 {
		font-size: 20px;
	}
	.message {
		margin-bottom: 20px;
	}
	input[type=file] {
		height: 80px;
		line-height: 80px;
	}
        input[type=file]::file-selector-button {
		font-size:20px;
	}
	#uploadBtn {
		margin: 20px 0;
		height: 60px;
		line-height: 60px;
		font-size: 20px;
	}
	.filename {
		bottom: 3px;
		font-size: 14px;
	}
}
