html,body{
	margin:0;
	font-family:'Niramit', sans-serif;
	overflow-x: hidden;
	padding:0px;
}

#first_section {
	background:url('images/FINAL.jpg');
	background-size: cover;
	background-position:center;	
	height:90vh;
	color:white;
	text-align: center;
}

.header_text {
	color:#F5AE32;
	text-shadow: 2px 2px 4px #000000;
}

.header_text, #third_header {
	padding-bottom:30px;
}

.header_text , #first_header {
	margin-top:0;
	padding-top:20px;
}

#content_text {
	display : block;
}

.text {
	display:inline-block;
	width:20%;
	font-size: 1.3em;
	font-family: 'Bai Jamjuree', sans-serif;
	font-style: oblique;
	padding:50px;
}

#text1 {
	transform: translateY(-80px);
}

#text2 {
	transform: translateY(-90px);
}

#text3 {

}



#second_section {
	text-align: center;
}

#second_section h1{
	color:#F5AE32;
	text-shadow: 2px 2px 4px #000000;
	font-size : 2.2em;
}

#subheader h2 {
	font-size: 1.9em;
	font-family: 'Bai Jamjuree', sans-serif;
}

#subheader h4{
	font-family: 'Bai Jamjuree', sans-serif;
	font-size: 1.3em;
}

#second_section_content{
	display:block;
	margin-top:100px;
	margin-bottom: 100px;
    font-weight: bolder;
    font-size:1.2em;
}

.ssc {
	display: inline-block;
	width: 100%;
	color:black;
	font-family: 'Bai Jamjuree', sans-serif;
}

#ssc1 {
	border:1px solid #F5AE32;
	padding:0px;
	width:250px;
	border-radius:25px;
	transform: translateX(-120px);
	background-color: #F5AE32;
	text-align: left;
}

#ssc2 {
	border:1px solid #F5AE32;
	padding:0px;
	width:250px;
	border-radius:25px;
	transform: translateX(120px);
	background-color: #F5AE32;
}


#last_section{
	text-align: center;
}

#last_section h2 {
	color:#D68D0C;
	font-size: 2em;
	font-style: oblique;
	text-shadow: 1px 1px 2px #000000;

}


#footer{
	text-align: center;
	background-color:#dedede;
	margin-top: 50px;
}

#footer p{
	margin:0;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1131px){
	.text{
		width:100%;
		font-size:1.1em;
		padding: 0px;

	}

	#text1{
		transform:none;
		margin-top:-20px;
	}

	#text2 {
		transform:none;
	}

	#text2 p{
		margin-top:40px;
	}

	#text3 p{
		margin-top:40px;;
	}
}


@media screen and (max-height:812px){
	.header_text{
		font-size:0.8em;
	}
}

@media (max-width:500px) and (max-height:680px){
	#content_text {
    display: block;
    font-size: 0.8em;
	}
}

@media(max-width:360px) and (max-height:641px){
	.header_text{
		font-size:0.6em;
	}
}

@media(max-width:320px) and (max-height:570px){
	.text {
		font-size:0.9em !important;
	}
}

@media screen and (max-width:756px){
	.ssc {
	display:block;
	width: 100%;
	}

	#ssc1 {
		transform: none;
		margin-left: auto;
		margin-right: auto;
		margin-bottom:20px;
	}

	#ssc2 {
		border:1px solid #F5AE32;
		transform: none;
		margin-left: auto;
		margin-right:auto;
	}
}

@media screen and (min-width:768px){
	#first_header {
		font-size:2.7em;
	}
}