html {
	overflow-x: hidden;
}

html * {
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


div {
	margin: 0;
}

.main {
	max-width: 1600px;
	margin: auto;
	overflow: hidden;
	box-shadow: 20px;
}

.logo {
	width: 800px;
	max-width: 80%;
}

body {
	text-align: center;
	background-color: black;
	font-family: 'IBM Plex Sans Thai', sans-serif;
	color: white;
	font-size: 12pt;
	font-weight: 200;
	padding: 0px;
	margin: 0;
}

p {
	text-align: left;
	padding-bottom: 20px;
}

div.gradient-box, div.char-box {
	width: 100%;
	padding: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}

div.gradient-box {
	background: rgb(252, 190, 10);
	background: linear-gradient(180deg, rgba(252, 190, 10, 1) 0%, rgba(192, 32, 214, 1) 100%);
}

.gradient-box p {
	color: black;
	font-weight: 600;
	max-width: 600px;
	margin: 0;
	text-align: justify;
}

ul.elements {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	width: 95%;
	list-style: none;
	margin: auto;
	padding: 0px;
}

ul.elements li {
	float: left;
	text-align: center;
	padding: 20px;
}


@media (max-width: 600px) {
	ul.elements li {
		padding: 5px;
	}
}

.ytplayer {
	margin: auto;
	width: 360px;
	height: 200px;
	max-width: 100%;
}


h1 {
	font-weight: 600;
	margin: 20px;
}

h1.colored {
	margin: 0px;
	animation: color-change 1s infinite;
}

@keyframes color-change {
	0% {
		color: rgb(252, 190, 10)
	}

	50% {
		color: rgb(192, 32, 214)
	}

	100% {
		color: rgb(252, 190, 10)
	}
}

.info {
	font-weight: 600;
	font-size: 10pt;
	text-align: center;
}


.noselect {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently supported by Chrome and Opera */
}

/* unvisited link */
a:link,
a:visited,
a:hover,
a:active {
	color: rgb(255, 230, 0);
	text-decoration: none;
}

.top {
	width: 100%;
	overflow: hidden;
}


.top-content {
	position: relative;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.video-container {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	min-width: 100%;
}

.video-container video {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	object-fit: cover;
}

.top,
.top .content,
.video-container,
.video-container video {
	height: 650px;
	max-width: 100%;
}

/*  Features */

.features-box {
	width: 100%;
	max-width: 1200;
	text-align: left;
	margin: auto;
	margin-bottom: 40px;
}


div.char-box {
	background: black;
	background-image: url("charbg.png");
	background-position: right bottom;
	background-repeat: no-repeat; 
}

@media (max-width: 1200px) {
	.features-box {
		margin-bottom: 200px;
	}
}

@media (max-width: 800px) {
	div.char-box {
		background-position: center bottom;
	}
}
/*  Social bar */

.social-box {
	width: 100%;
	max-width: 800;
	text-align: left;
	margin: auto;
}


.social-box p {
	font-weight: 600;
	text-align: center;
	width: 80%;
	margin-top: 20px;
	margin-left: 50px;
	margin-right: 50px;
	margin-bottom: 20px;
	display: inline-block;
	clear: both;
}

ul.social {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	max-width: 800;
	list-style: none;
	margin: auto;
	margin-bottom: 100px;
	padding: 0px;
}

ul.social li {
	float: left;
	text-align: center;
	margin-bottom: 20px;
	margin-left: 15px;
	margin-right: 15px;
}

ul.social img {
	filter: invert(100%);
}

ul.social a:link,
ul.social a:visited,
ul.social a:hover,
ul.social a:active {
	color: white;
	text-decoration: none;
	font-weight: 600;
}


.social-img {
	width: 80px;
	height: 80px;
	filter: drop-shadow(16px 16px 10px black);
}

/* Bottom */

.bottom {
	background-image: url("bottombg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 50px;
}

@media (min-width: 600px) {
	body {
		font-size: 14pt;
	}

	.ytplayer {
		width: 500;
		height: 300;
	}

	div.gradient-box {
		background: linear-gradient(90deg, rgba(252, 190, 10, 1) 0%, rgba(192, 32, 214, 1) 100%);
	}
}

@media (min-width: 1500px) {
	.ytplayer {
		width: 640;
		height: 360;
	}
}