@charset "utf-8";
* {
	margin-block-start: 0;
  margin-block-end: 0;
  margin: 0;
  padding: 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;
	white-space: nowrap;
	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: 500;
}
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: 40px;
	padding-left: 40px;
	padding-right: 40px;
	text-align: center;
}
main h2 {
	font-family: 'Bai Jamjuree', sans-serif;
	padding-bottom: 20px;
	font-size: 2.3em;
	color: #000000;
	font-weight: 500;
}
main p {
	font-family: Roboto, sans-serif;
	font-size: 1.3em;
	line-height: 1.5em;
	color: #000000;
	padding-bottom: 20px;
	padding-bottom: 40px;
	max-width: 1200px;
	margin: auto;
}
.flip-card {
	margin: 0px auto 30px;
	height: 500px;
	max-width: 1269px;
}
main .flip-card:nth-child(3) {
	margin-bottom: 40px;
}
.flip-card-inner {
	transition: transform 0.8s;
	transform-style: preserve-3d;
	display: flex;
	justify-content: center;
}
.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
	position: absolute;
	backface-visibility: hidden;
}
.flip-card-back {
	transform: rotateY(180deg);
}
main img {
	display: block;
	max-width: 100%;
}
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: 830px) {
	.flip-card {
		height: 450px;
	}	
}
@media screen and (max-width: 760px) {
	header {
		height: 350px;
	}
	header img {
		height: 350px;
	}
	header h1 {
		font-size: 4em;
	}
}
@media screen and (max-width: 740px) {
	.flip-card {
		height: 400px;
	}	
}
@media screen and (max-width: 660px) {
	.flip-card {
		height: 350px;
	}	
}
@media screen and (max-width: 590px) {
	#footlogo {
		display: none;
	}
	footer h2 {
		padding-left: 40px;
	}
}
@media screen and (max-width: 580px) {
	.flip-card {
		height: 300px;
	}	
}
@media screen and (max-width: 480px) {
	.flip-card {
		height: 250px;
	}	
}