*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	min-height: 100%;
	font-family: poppins;
	background: #000;
	overflow: hidden;
}

body {
	font-family: kanit, sans-serif;
	scroll-behavior: smooth;
}


/* add a thumb */
body::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.3);
	z-index: 99;
}

body::-webkit-scrollbar-thumb {
	background: rgba(250, 250, 250, 0.5);
	z-index: 100;
}


/* loader */
.loader {
	position: fixed;
	width: 100%;
	max-height: 100vh;
	background: #fff;
	z-index: 3;
	overflow: hidden;
}

.loader marquee {
	font-size: 180px;
	line-height: 180px;
	font-family: "Cinzel";
	color: #959595;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	opacity: 0.2;
}

.loader .intro {
	position: absolute;
	top: 50%;
	left: 48%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.loader .intro h1 {
	font-size: 96px;
	font-weight: 300;
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
	color: #969696;
	text-transform: uppercase;
}

.intro-title .letter {
	display: inline-block;
	line-height: 1em;
}


/* link list */
.header {
	position: fixed;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

/*.header .back-video {
	position: absolute;
	top: 50%;
	right: 50%;
	bottom: 50%;
	left: 50%; 
	transform: translate(-50%, -50%);
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: #000;
	z-index: 0;
}*/

.header .back-video {
	position: fixed;
  top: 48%;
  left: 50%;
  width: 100%;
  height: auto;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

nav .list {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

nav .list .nav-links {
	margin: 2rem;
	padding: 1rem;
}

nav .list .left .nav-links li,
nav .list .right .nav-links li {
	flex-direction: column;
}

/*.nav-links li a::after {
	content: '';
	background: rgb(62, 212, 250);
	width: 0;
	height: 1px;
	position: absolute;
	bottom: 0; left: 0;
	transition: width 0.3s;
}

.nav-links li a:hover::after {
	width: 100%;
}*/

.list .left {
	transition-delay: 12s;
}

.list .right {
	transition-delay: 12.3s;
}

.list ul {
	list-style: none;
}

.list .nav-links li a {
	font-size: 1rem;
	line-height: 1rem;
	font-weight: 500;
	color: rgb(215, 239, 250);
	text-decoration: none;
}

.list ul li a:hover {
	color: rgb(62, 212, 250);
}


/* media queries */
@media (min-aspect-ratio: 16/9) {
	.header .back-video {
		max-width: 100vw;
		height: auto;
	}
}

@media (max-aspect-ratio: 16/9) {
	.header .back-video {
		width: auto;
		min-height: 100vh;	}
}

@media (max-width: 1280px) {
	.loader marquee {
		font-size: 158px;
		line-height: 158px;
		margin: 0;
		padding: 0;
		overflow: hidden;
	}

	.loader .intro h1 {
		font-size: 72px;
	}

	nav .list .nav-links li {
		line-height: 1.5rem;
	}

	nav .list .nav-links li a {
		font-size: 1rem;
	}
}


@media (max-width: 1024px) {
	.loader marquee {
		font-size: 118px;
		line-height: 118px;
	}

	.loader .intro h1 {
		font-size: 64px;
	}

	nav .list .nav-links li {
		line-height: 1rem;
	}

	nav .list .nav-links li a {
		font-size: 0.7rem;
	}
}


@media (max-width: 912px) {
	.loader marquee {
		font-size: 168px;
		line-height: 168px;
	}

	.loader .intro h1 {
		font-size: 56px;
	}

	nav .list .nav-links {
		position: relative;
		top: 15%;
	}

	nav .list .nav-links li {
		line-height: 1.5rem;
	}

	nav .list .nav-links li a {
		font-size: 1.2rem;
	}
}


@media (max-width: 768px) {
	body::-webkit-scrollbar {
		display: none;
	}
}


@media (max-width: 550px) {
	.loader marquee {
		font-size: 143px;
		line-height: 143px;
	}

	.loader .intro h1 {
		font-size: 40px;
	}

	nav .list .nav-links {
		position: relative;
		top: 10%;
	}

	nav .list .nav-links li {
		line-height: 1.2rem;
	}

	nav .list .nav-links li a {
		font-size: 0.7rem;
		font-weight: 100;
	}
}


@media (max-width: 430px) {
	.loader marquee {
		font-size: 152px;
		line-height: 152px;
	}

	.loader .intro h1 {
		font-size: 32px;
	}

	nav .list .nav-links {
		position: relative;
		top: 15%;
		margin: 1rem;
	}
}


@media (max-width: 414px) {
	.loader marquee {
		font-size: 146px;
		line-height: 146px;
	}

	nav .list .nav-links {
		position: relative;
		top: 20%;
	}
}


@media (max-width: 390px) {
	.loader marquee {
		font-size: 136px;
		line-height: 136px;
	}

	.loader .intro h1 {
		font-size: 24px;
	}

	nav .list .nav-links {
		position: relative;
		top: 15%;
	}

	nav .list .nav-links li {
		line-height: 1rem;
	}

	nav .list .nav-links li a {
		font-size: 0.8rem;
	}
}


@media (max-width: 375px) {
	.loader marquee {
		font-size: 108px;
		line-height: 108px;
	}
}
