@charset "utf-8";
* {
	margin-block-start: 0;
	margin-block-end: 0;
  padding: 0;
  margin: 0;
	border: 0;
	box-sizing: border-box;
	position: relative;
}
body {
	background-color: #000000;
}
#container {
	margin: auto;
  background-color: #ffffff;
	max-width: 2000px;
}
header {
	text-align: center;
	color: #ffffff;
	height: 500px;
}
header img {
	object-fit: cover;
	width: 100%;
	height: 500px;
}
#tmnslogo {
	position: absolute;
	z-index: 1;
	width: 150px;
	height: 144px;
	top: 35px;
	left: 35px;
}
header h1 {
	font-family: 'Bai Jamjuree', sans-serif;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 6em;
	line-height: 1.3em;
	text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
	font-weight: 600;
}
nav {
	background-color: #333333;
	height: 80px;
}
nav ul {
	list-style-type: none;
	text-align: center;
}
nav ul a {
	float: left;
	padding-top: 27px;
	font-family: Roboto, sans-serif;
	color: #ffffff;
	text-decoration: none;
	font-size: 1.4em;
	height: 80px;
	width: 140px;
}
nav ul a:hover {
	background-color: #DFDFDF;
	color: #000000;
}
nav ul #active {
	background-color: #DFDFDF;
	color: #000000;
}
nav ul #active:hover {
	background-color: #D6D6D6;
	color: #000000;
}
#dropdown-button {
	display: none;
}
main {
	padding-top: 45px;
	padding-bottom: 40px;
	padding-right: 40px;
	padding-left: 10px;
	padding-right: 40px;
}
main p {
	font-family: Roboto, sans-serif;
	font-size: 1.3em;
	line-height: 1.5em;
	color: #000000;
	padding-left: 30px;
	padding-bottom: 15px;
	max-width: 1200px;
	margin: auto;
	text-align: center;
}
.row {
	display: flex;
	flex-wrap: wrap;
}
.column {
	flex: 50%;
	padding-left: 30px;
}
.terrabox {
	margin-top: 30px;
	background-color: #DFDFDF;
}
.terrabox:hover {
	background-color: #D3D3D3;
}
.column img {
	width: 100%;
	display: block;
}
.column p {
	padding: 20px 20px;
	font-family: Roboto, sans-serif;
	font-size: 1.5em;
	font-weight: 500;
	color: #000000;
}
.trigger_popup {
    cursor: pointer;
}
.hover_bg {
  background:rgba(0,0,0,.4);
  display:none;
  height:100%;
  position:fixed;
  text-align:center;
  top:0;
  z-index: 2;
	cursor: pointer;
	width: 100%;
	max-width: 2000px;
}
.hover_bg .helper{
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.hover_bg > div {
  background-color: #ffffff;
  box-shadow: 10px 10px 60px #555555;
  display: inline-block;
  height: 90%;
  vertical-align: middle;
  width: 90%;
  position: relative;
  padding: 40px 40px;
	cursor: default;
	overflow-y: scroll;
	overflow-x: hidden;
}
.hover_bg > div img {
	width: 100%;
	display: block;
}
.hover_bg > div h2 {
	padding-bottom: 30px;
	font-family: Roboto, sans-serif;
	font-size: 2.3em;
	font-weight: 500;
	color: #000000;
}
.hover_bg > div p {
	font-family: Roboto, sans-serif;
	font-size: 1.3em;
	line-height: 1.5em;
	color: #000000;
	padding-top: 30px;
	max-width: 1200px;
	margin: auto;
}
.closeWrap {
	position: absolute;
	top: 10px;
	right: 50px;
	z-index: 1;
}
.closeButton {
	color: #333333;
  background-color: #ffffff;
  border: 3px solid #333333;
  border-radius: 50px;
  cursor: pointer;
  position: fixed;
  font-size: 1.7em;
  width: 40px;
  height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 1px;
}
.closeButton:hover {
    background-color: #dfdfdf;
}
footer {
	background-color: #333333;
	padding: 40px 40px 40px 0px;
	color: #ffffff;
}
footer h2 {
	font-size: 3em;
	font-family: 'Bai Jamjuree', sans-serif;
	font-weight: 300;
	padding-left: 175px;
}
footer h2 a {
	text-decoration: none;
	color: #ffffff; 
}
footer p {
	padding: 60px 0px 0px 40px;
	font-family: Roboto, sans-serif;
	font-size: 1em;
}
#footlogo {
	position: absolute;
	width: 100px;
	height: 96px;
	top: 35px;
	left: 35px;
}
#btn {
	position: fixed;
	bottom: 40px;
	right: 40px;
	z-index: 2;
	border: none;
	outline: none;
	background-color: #000000;
	color: #ffffff;
	padding: 16px;
	border-radius: 20px;
	font-size: 1em;
}
#btn:hover {
	background-color: #212121;
	color: #ffffff;
}
@media screen and (max-width: 1080px) {
	header h1 {
		font-size: 5.5em;
	}
}
@media screen and (max-width: 1000px) {
	#tmnslogo {
		display: none;
	}
}
@media screen and (max-width: 941px) {
	#footlogo {
		top: 50px;
	}
	footer p {
		padding-top: 30px;
	}
}
@media screen and (max-width: 840px) {
	header {
		height: 400px;
	}
	header img {
		height: 400px;
	}
	header h1 {
		font-size: 5em;
	}
	nav {
		display: none;
	}
	#dropdown-button {
		display: block;
		height: 88px;
		background-color: #333333;
	}
	#hamburger {
		float: right;
		padding-top: 20px;
		padding-right: 40px;
		color: #ffffff;
		cursor: pointer;
		background: none;
		font-size: 2.5em;
		outline: none;
	}
	#hamburger:hover {
		color: #DFDFDF;
	}
	#cross:hover {
		color: #DFDFDF;
	}
	#cross {
		position: absolute;
		top: 20px;
		right: 40px;
		color: #ffffff;
		cursor: pointer;
		z-index: 2;
		background: none;
		font-size: 2.5em;
		outline: none;
	}
	#mobile-dropdown {
		width: 100%;
		height: 2000px;
		position: absolute;
		background-color: #333333;
		text-align: center;
		z-index: 1;
		padding-top: 30px;
	}
	#mobile-dropdown ul {
		margin: auto;
		list-style-type: none;
	}
	#mobile-dropdown ul a {
		color: #ffffff;
		font-size: 2.8em;
		font-family: Roboto, sans-serif;
		text-decoration: none;
		padding-top: 20px;
		padding-bottom: 20px;
		display: inline-block;
		width: 220px;
	}
	#mobile-dropdown ul a:hover {
		color:#000000;
		background-color: #DFDFDF;
	}
}
@media screen and (max-width: 760px) {
	header {
		height: 350px;
	}
	header img {
		height: 350px;
	}
	header h1 {
		font-size: 4em;
	}
	.row {
		display: block;
	}
	.hover_bg > div {
		height: 100%;
		width: 100%;
		position: fixed;
	}
	.hover_bg {
		text-align: left;
	}
}
@media screen and (max-width: 590px) {
	#footlogo {
		display: none;
	}
	footer h2 {
		padding-left: 40px;
	}
}
