@charset "utf-8";
/* CSS Document */
@import url("header.css");
@import url("footer.css");
@import url("font.css");

* {
	margin: 0;
	padding: 0;
	
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}

html {
	height: 100%;
	margin: 0;
}

body {
	height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	background: rgba(229, 229, 229, 1);
}

::-moz-selection {
	color: #FFF;
	background: #003D5B;
}

::selection {
	color: #FFF;
	background: #003D5B;
}

.wrapper {
	flex: 1;
}

footer a {
	display: none;
}

main {
	position: relative;
	margin-top: 10vh;
	height: 84vh;
}
	
.box_img {
	display: none;
}

.box_text {
	width: 80%;
	margin: auto;
	height: 100%;
	box-sizing: border-box;
	padding: 10vh;
	line-height: 2em;
	color: #002333;
	background: rgba(255, 255, 255, .5);
	text-align: center;
}


.line {
	width: 100%;
	height: 4px;
	background: #002333;
	margin: 1.5vh 0 3vh;
}

.box_info {
	width: 100%;
	display: flex;
	align-content: flex-start;
	align-items: flex-start;
}

.box_info > a {
	flex: 1;
	padding: 0 5% 0 0;
	align-content: center;
	align-items: center;
}
	
.box_info > a:last-child {
	flex: 1;
	padding: 0;
	align-content: center;
	align-items: center;
}

.box_info > img {
	width: 50px;
}

/* For tablets */
@media only screen and (min-width: 768px) {
	
	main {
		margin-top: 17vh;
		height: 77vh;
	}

	.line {
		width: 75%;
	}
	
	.box_text {
		position: relative;
		float: right;
		width: 50%;
		height: 100%;
		box-sizing: border-box;
		padding: 10vh;
		line-height: 2em;
		color: #002333;
		background: rgba(255, 255, 255, .5);
		text-align: justify;
	}
	
	.box_img {
		display: inherit;
		position: relative;
		float: left;
		width: 50%;
		height: 100%;
		overflow: hidden;
	}
	
	
	.box_info > a {
		flex: 1;
		padding: 0 1vw 0 0;
		align-content: center;
		align-items: center;
	}

	.box_img img {
		position: absolute;
		height: 100%;
		bottom: 0;
		right: 0;
	}
	
	
	.box_info {
		width: 75%;
	}
	
}

/* For desktop */
@media only screen and (min-width: 1200px) {
	
	main {
		margin-top: 8vh;
		height: 86vh;
	}
}