
@import url('https://fonts.googleapis.com/css2?family=Maitree:wght@200;300;400;500;600;700&family=Noto+Sans+Thai:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://use.typekit.net/fux6cia.css");

* {
	font-family: "preuksa", serif;
	font-optical-sizing: auto;
}
*:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}
/* ================== */
/* ===== navbar ===== */
/* ================== */
.navbar {
	/* background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px); */
	padding: 5px 2rem;
	transition: all 0.5s ease;
}

.navbar.scrolled {
	background: rgb(74 66 55);
	padding: 0rem 0rem;
}

.navbar-brand {
	transition: all 0.5s ease;
}

.navbar-brand img {
	height: 65px;
	transition: all 0.5s ease;
}

.navbar.scrolled .navbar-brand img {
	height: 55px;
	outline-width: 0px;
	outline-color: transparent;
}



.main-navbar .navbar-nav .nav-link {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-align: center !important;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	padding: 0.3rem 1rem !important;
}

.main-navbar .navbar-nav .nav-link span {
	display: block;
	font-size: 12px;
	font-weight: 500;
}

.main-navbar .navbar-nav .nav-link:hover {
	color: #ffe1a3;
	transform: translateY(-1px);
}

.main-navbar .navbar-nav .nav-link.active {
	color: #ffe1a3;
	transform: translateY(-1px);
}

.navbar-end a {
	margin-left: 10px;
	margin-right: 10px;
}

.navbar-end a:hover {
	filter: brightness(140%);
	transform: scale(103%);
}

/* Download */
.sticky-right-wrapper {
	position: fixed;
	top: 70%;
	right: 0px;
	transform: translateY(-50%);
	/* Vertically center the container */
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	z-index: 100;
	max-width: 220px;
	width: 100%;
}


.download-sticky-container {
	/* position: fixed; */
	right: 0;
	/* top: 73%; */
	padding: 9px 0px 5px 8px;
	border-top-left-radius: 12px;
	border-bottom-left-radius: 12px;
	z-index: 3;
	background: url(../images/download-sticky.png) no-repeat;
	max-width: 220px;
	width: 100%;
}

.download-sticky {
	padding: 10px 0px 10px 10px;
	border-radius: 5px;
}

.download-sticky a {
	display: block;
	transition: filter 0.1s, transform 0.1s;
}

.download-sticky img {
	transition: filter 0.1s, transform 0.1s;
}

.download-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pre-order-title {
	text-align: center;
	margin-bottom: 0px;
}

.pre-order-title h2 {
	font-size: 14px;
	margin-bottom: 0px;
}

.pre-order-group {
	display: flex;
	align-items: center;
	gap: 5px;
}

.pre-order-icons {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.pre-order-icons img {
	width: 92px;
	height: 27px;
}

.qr-pre-order img {
	width: 88px;
	height: 88px;
}

/* Social */
.social-container {
	/* position: fixed; */
	right: 0;
	/* top: 90%; */
	padding: 5px 0px 5px 26px;
	border-top-left-radius: 12px;
	border-bottom-left-radius: 12px;
	z-index: 3;
	background: url(../images/branch-h.png) no-repeat;
	max-width: 112px;
	width: 100%;
	margin-right: 0px;
}

.social-icons {
	display: flex;
	justify-content: column;
	gap: 5px;
	/* margin-top: 10px; */
}

.social-icons a {
	display: block;
}

.social-icons img {
width: 32px;
height: 32px;
aspect-ratio: 1/1;
object-fit: contain;
margin-left: 5px;
}

.social-branch {
	position: absolute;
	right: -6px;
	top: -27px;
}

.social-group {
	position: relative;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	padding-bottom: 20px;
	padding-top: 8px;
}

.social-group a,
.social-group p {
	margin-bottom: 5px;
	display: block;
	transition: 0.1s;
}

.social-group p {
	margin-bottom: 5px;
	display: block;
	transition: 0.1s;
	font-family: "Maitree";
	font-weight: 500;
	font-size: 10px;
	color: #fff;
}

.social-group a:hover {
	filter: brightness(110%);
	transform: scale(108%);
}

.support-fixed {
	/* position: fixed; */
	right: 0;
	/* top: 50%; */
	z-index: 3;
}

.support-fixed a {
display: block;
transition: 0.1s;
/* margin-bottom: 12px; */
}

.support-fixed a:hover {
	filter: brightness(110%);
	transform: scale(104%);
}
.download-sticky a:hover,
.download-sticky a:hover img {
	filter: brightness(105%) !important;
	transform: scale(104%) !important;
}
.navbar {
	animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/* ================== */
/* ===== footer ===== */
/* ================== */
footer {
background-color: rgba(0, 0, 0, 0.8);
text-align: center;
color: #b9b9b9;
height: max-content;
padding-top: 10px;
padding-bottom: 8px;
margin-top: auto;
}

footer p {
	padding-left: 15px;
	padding-right: 15px;
	margin-top: 5px;
	font-size: 10px;
	text-align: center;
	margin-bottom: 0;
}

.sub-footer a {
	font-size: 12px;
	text-decoration: none;
	color: #b9b9b9;
	transition: 0.1s;
	margin-bottom: 5px;
}

.sub-footer a:hover {
	color: #fff;
}

footer img {
	margin-top: 5px;
}


/* ================================= */
/*          Media queries           */
/* =============================== */

@media (max-width: 1399.98px) {

	/* Section 1 */
	.milest-normal {
		padding-top: 35px;
	}

	/* Section 3 */
	.news-title {
		font-size: 12px;
	}

	.news-date {
		font-size: 10px;
	}
}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
	body {
		background-size: auto;
	}

	.navbar-toggler {
		display: none;
	}

	.navbar-collapse {
		display: none;
	}

	/* Social */
	.social-branch {
		position: absolute;
		right: -6px;
		top: -42px;
	}

	.social-container {
		padding: 6px 0px 5px 16px;
		background: url(../images/branch-h.png) no-repeat;
		max-width: 90px;
		width: 100%;
		margin-right: 0px;
	}

	.social-group {
		position: relative;
		/* background-color: #014d4b; */
		padding-bottom: 22px;
		padding-top: 8px;
	}

	.social-icons img {
		width: 30px;
		height: 30px;
		margin-left: 5px;
	}

	.sticky-right-wrapper {
		gap: 0px;
		right: 0px;
		max-width: 150px;
		width: 100%;
	}

	.support-fixed {
		right: 18px;
		top: auto;
		z-index: 3;
		bottom: 224px;
	}


	.download-sticky-container {
		scale: 0.80;
		margin-right: -16px;
		padding: 15px 0px 9px 8px;
		max-width: 170px;
		width: 100%;
	}

	.download-sticky {
		padding: 5px 0px 10px 10px;
	}

	.qr-pre-order {
		display: none;
	}

	/* Navbar */
	.navbar-toggler {
		background-color: #ffffff3a;
		border: 0px;
	}

	.navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.navbar-toggler:focus {
		box-shadow: none;
	}

	.main-navbar .navbar-nav .nav-link {
		text-align: right;
	}

	.navbar-end {
		/* justify-content: end; */
		/* flex-direction: column; */
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.navbar-end img {
		height: 30px;
	}

	.navbar-end a {
		/* align-self: flex-end; */
		margin-left: 5px;
		margin-right: 5px;
	}

	.navbar-regiter-btn {
		margin-bottom: 0px;
	}

	.navbar-brand img {
		width: 100%;
	}

	/* Nav Mobile */
	.navbar-mobile {
		display: block;
		position: fixed;
		bottom: 0;
		z-index: 99999;
		background-color: rgb(74 66 55);
	}

	.warper-nav-mb {
		align-items: center;
		/* height: 80px; */
		padding-top: 7px;
		padding-bottom: 7px;
		justify-content: space-evenly;
	}

	.mobile-col a {
		font-size: 12px;
		font-weight: 700;
		text-align: center;
		margin-left: 15px;
		margin-right: 15px;
		color: #fff;
		text-decoration: none;
		line-height: 16px;
	}

	.navbar-mobile a {
		text-align: center;
		padding: 2px 5px;
		border-radius: 4px;
		position: relative;
		z-index: 1;
		transition: 0s;
	}

	.navbar-mobile .nav-link.active {
		color: #fff;
		background-color: #c9af79;
		padding: 2px 5px;
		border-radius: 4px;
		font-weight: 700;
		position: relative;
		z-index: 1;
	}

	.navbar-mobile .nav-link.active::before {
		content: "";
		position: absolute;
		left: -6px;
		height: 24px;
		width: 24px;
		top: 20%;
		background-color: #c9af79;
		border-radius: 12px;
		z-index: -1;
	}

	.navbar-mobile .nav-link.active::after {
		content: "";
		position: absolute;
		right: -6px;
		top: 20%;
		height: 24px;
		width: 24px;
		background-color: #c9af79;
		border-radius: 12px;
		z-index: -1;
	}

	.navbar-mobile .nav-link:hover,
	.box-nav-more:hover {
		color: #121212;
		background-color: #fec644;
		padding: 2px 5px;
		border-radius: 4px;
		position: relative;
		transition: 0s;
	}

	.navbar-mobile .nav-link:hover::before,
	.box-nav-more:hover::before {
		content: "";
		position: absolute;
		left: -6px;
		height: 24px;
		width: 24px;
		top: 20%;
		background-color: #fec644;
		border-radius: 12px;
		z-index: -1;
		transition: 0s;
	}

	.navbar-mobile .nav-link:hover::after,
	.box-nav-more:hover::after {
		content: "";
		position: absolute;
		right: -6px;
		top: 20%;
		height: 24px;
		width: 24px;
		background-color: #fec644;
		border-radius: 12px;
		z-index: -1;
		transition: 0s;
	}

	.box-nav-more {
		font-size: 12px;
		font-weight: 700;
		text-align: center;
		margin-left: 15px;
		margin-right: 15px;
		color: #fff;
		text-decoration: none;
	}
	footer {
		display: none;
	}
	footer p {
		margin-bottom: 55px;
	}
}

@media (max-width: 767.98px) {
	.download-sticky {
		padding: 11px 0px 10px 10px;
	}

	.support-fixed {
		margin-bottom: -10px;
	}

	.download-sticky-container {
		padding: 9px 4px 12px 8px;
		max-width: 140px;
		width: 100%;
	}

	.pre-order-title h2 {
		font-size: 12px;
		margin-bottom: 0px;
	}

	.social-container {
		padding: 8px 0px 5px 22px;
		max-width: 97px;
		width: 100%;
		margin-right: 0px;
	}

	.sticky-right-wrapper {
		max-width: 140px;
		width: 100%;
	}

	.social-icons img {
		width: 27px;
		height: 27px;
		margin-left: 5px;
	}
	.support-fixed img {
		width: 122px;
	}
}

@media (max-width: 575.98px) {
	.navbar-brand img {
		height: 40px;
		outline-width: 0px;
		outline-color: transparent;
	}

	.navbar {
		padding: 5px 1rem;
		transition: all 0.5s ease;
	}

	/* Social */
	.social-group {
		padding-top: 4px;
		padding-bottom: 14px;
	}

	.social-branch {
		position: absolute;
		right: -3px;
		top: -18px;
	}

	.social-container {
		top: auto;
		bottom: 290px;
		padding: 5px 0px 5px 14px;
		background: url(../images/branch-h-sm.png) no-repeat;
		max-width: 80px;
		width: 100%;
		margin-right: 0px;
	}

	.support-fixed {
		margin-bottom: -20px;
	}

	.support-fixed img {
		width: 100px;
	}
	.support-fixed a {
		margin-bottom: 12px;
	}
	.download-sticky-container {
		scale: 0.75;
		margin-bottom: -15px;
	}

	.download-sticky {
		padding: 11px 0px 10px 17px;
	}
	.download-sticky img{
		width: 100px;
	
	}
	.sticky-right-wrapper {
		top: 60%;
		max-width: 140px;
		width: 100%;
	}

}