@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chonburi&display=swap');


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

* {
	margin: 0;
	padding: 0;
}

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

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

body.active,
body.active .header,
body.active .container-fluid,
body.active footer {
	background: #f8f8f8;
}

body.active nav {
	background: #222;
}

body.active h1,
body.active h6,
body.active p,
body.active .sci ul li a .fab {
	color: #000;
}

body.active .overlay-menu,
body.active .overlay-menu ul li a {
	background: #f8f8f8;
	color: #000;
}


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

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


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

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

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

.loader .intro h1 {
	font-size: 96px;
	text-transform: uppercase;
	font-weight: 200;
	color: rgba(200, 200, 200, 0.8);
	font-family: "Cinzel";
}

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


/* nav bar */
nav {
	background: rgba(250, 250, 250, 0.2);
	height: 60px;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	box-shadow: 0px 2px 10px 0px rgba(250, 250, 250, 0.6);
	animation: fadein 2s ease-out;
	animation-delay: 8s;
	animation-fill-mode: forwards;
	opacity: 0;
	z-index: 100;
}

nav .logo {
	float: left;
	margin-left: 20px;
}

nav .logo a {
	font-size: 24px;
	line-height: 60px;
	text-transform: uppercase;
	color: white;
	text-decoration: none;
	letter-spacing: 1px;
}

nav .logo em {
	font-family: 'Dancing Script', cursive;
	font-style: normal;
	font-weight: 700;
	color: hsl(36, 92%, 63%);
	padding-right: 0.8rem;
}

#toggle {
  position: absolute;
  display: block;
	top: 25px;
	right: 120px;
  width: 32px;
  height: 16px;
  border-radius: 16px;
  background: #222;
  transition: 0.5s;
  cursor: pointer;
  box-shadow: inset 0 8px 60px rgba(0, 0, 0, 0.1),
    inset 0 8px 8px rgba(0, 0, 0, 0.1),
    inset 0 -4px 4px rgba(0, 0, 0, 0.1);
}

#toggle.active {
  background: #fff;
  box-shadow: inset 0 2px 60px rgba(0, 0, 0, 0.1),
    inset 0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 -4px 4px rgba(0, 0, 0, 0.05), ;
}

#toggle .indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(to bottom, #444, #222);
  border-radius: 50%;
  transform: scale(0.9);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5),
    inset 0 4px 4px rgba(255, 255, 255, 0.2),
    inset 0 -4px 4px rgba(255, 255, 255, 0.2);
  transition: 0.5s;
}

#toggle.active .indicator {
  left: 16px;
  background: linear-gradient(to bottom, #eaeaea, #f9f9f9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1),
    inset 0 4px 4px rgba(255, 255, 255, 1),
    inset 0 -4px 4px rgba(255, 255, 255, 1);
}

.menu-icon {
	background: transparent;
	border: 1px solid #fff;
	width: 46px;
	height: 46px;
	margin: 7.5px 20px 7.5px auto;
	position: relative;
	cursor: pointer;
	transition: background 0.5s;
	border-radius: 5px;
}

.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
	cursor: pointer;
	border-radius: 1px;
	height: 2.5px;
	width: 34px;
	background: white;
	position: absolute;
	left: 5px;
	top: 48%;
	display: block;
	content: '';
	transition: all 0.5s ease-in-out;
}

.menu-icon span::before {
	left: 0;
	top: -10px;
}

.menu-icon span::after {
	left: 0;
	top: 10px;
}

.menu-icon.active {
	background: rgba(250, 250, 250, .2);
}

.menu-icon.active span {
	background-color: transparent;
}

.menu-icon.active span::before,
.menu-icon.active span::after {
	top: 0;
}

.menu-icon.active span::before {
	transform: rotate(135deg);
}

.menu-icon.active span::after {
	transform: rotate(-135deg);
}

@keyframes fadein {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/* overlay menu */
.overlay-menu {
	background: rgba(0, 0, 0, 0.95);
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	text-align: center;
	transform: translateY(-100%);
	transition: all 0.5s;
	z-index: 12;
}

.overlay-menu.open {
	opacity: 1;
	transform: translateY(0);
}

.overlay-menu .container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.overlay-menu .main-menu {
	transform: translateY(100%);
	opacity: 0;
	transition: all 0.1s;
	transition-delay: 0s;
}

.overlay-menu.open .main-menu {
	transition: all 0.5s;
	transition-delay: 0.7s;
	opacity: 1;
	transform: translateY(0%);
}

.overlay-menu .main-menu:nth-child(2) {
	transition-delay: 0s;
}

.overlay-menu.open .main-menu:nth-child(2) {
	transition-delay: 1.25s;
}

.overlay-menu {
	overflow: scroll;
}

.overlay-menu::-webkit-scrollbar {
	display: none;
}

.overlay-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.overlay-menu ul li {
	padding: 10px 0px;
}

.overlay-menu ul li a {
	font-size: 24px;
	font-weight: 300;
	color: #fff;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.1s;
	padding: 0 4rem;
}

.overlay-menu ul li a:hover,
body.active .overlay-menu ul li a:hover {
	color:hsl(36, 92%, 63%);
}

.overlay-menu p {
	margin-top: 60px;
	font-size: 13px;
	text-transform: none;
	text-decoration: none;
	color: white;
	font-weight: 200;
	letter-spacing: 0.5px;
	text-align: center;
}


/* portfolio gallery */
.header2 {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.header2 h1 {
	color: #fff;
	font-size: 1.8rem;
	font-weight: 500;
	text-align: center;
	object-fit: cover;
	-webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.7));
	transition: all 0.5s ease;
	transition-delay: 5.5s;
}

.header2 h1 span {
	font-family: 'Dancing Script', cursive;
	color: hsl(36, 92%, 63%);
	font-size: 3rem;
	font-weight: 900;
}


.header {
	width: 100%;
	height: 23%;
	text-align: center;
	padding: 25px;
	background-color: #111;
}

.header h1,
body.active .header h1 {
	font-family: 'Dancing Script', cursive;
	font-size: 3rem;
	font-weight: 900;
	margin-top: 2rem;
	color: hsl(36, 92%, 63%);
	-webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.7));
}

.fancybox {
	padding: 0;
	margin: 0;
	border: none;
}

.container-fluid {
	padding: 0;
	margin: 0;
	border: none;
	gap: 0;
	background: #000;
}

#portfolio {
	margin: 10px 24px;
}

#portfolio > div > div > div {
	padding: 2px 10px;
}

.full-screen-portfolio .container-fluid .row .mt-4 .col-md-4 .col-sm-6 .mb-3 .fancybox {
	padding: 0;
	margin: 0;
	border: none;
	display: flex;
	flex-wrap: wrap;
}

.full-screen-portfolio .container-fluid .row .mt-4 .col-md-4 .col-sm-6 .mb-3 .fancybox img {
	width: 100%;
	padding: 0;
	margin: 0;
	border: none;
	display: block;
	overflow: hidden;
}

.full-screen-portfolio .container-fluid .row .mt-4 .col-md-4 .col-sm-6 .mb-3 .thumb {
	position: relative;
}

.full-screen-portfolio .container-fluid .row .mt-4 .col-md-4 .col-sm-6 .mb-3 {
	position: absolute;
	text-align: left;
	padding: 0;
	margin: 0;
	border: none;
	width: 100%;
	bottom: 0; left: 0;
}

.item .fancybox h1 {
	position: relative;
	font-size: 22px;
	text-decoration: uppercase;
	color: white;
	display: inline-block;
	padding-left: 20px;
	margin-left: 10px;
	line-height: 15px;
	transform: translateY(25px);
	transition: 0.5s ease-in-out;
	letter-spacing: 0.5px;
	transform: translateY(0);
}

.fancybox em {
	font-style: normal;
	font-weight: 200;
}

.fancybox p {
	padding-left: 20px;
	margin-left: 10px;
	font-weight: 300 !important;
	letter-spacing: 0.5px;
	font-size: 14px;
	color: white;
	opacity: 0;
	transform: translateY(10px);
	transition: 0.5s ease-in-out;
	text-transform: uppercase;
}

.fancybox img {
	border-radius: 8px;
}

.fancybox img:hover {
	filter: brightness(70%);
	transform: scale(1.07);
	border: 3px solid #fff;
	transition: 1000ms ease-in-out;
}

.fancybox img:hover p {
	opacity: 1;
	transform: translateY(0);
	text-align: center;
	line-height: 150%;
	text-transform: lowercase;
	cursor: pointer;
}

.layer {
	background: transparent;
	height: 100px;
	width: 96.5%;
	position: absolute;
	bottom: 0;
	left: 7px;
	border-radius: 8px;
	transform: translateX(-50%) bottom;
	opacity: 0;
	transition: 1s;
}

.layer:hover {
	background: rgba(68, 70, 68, 0.7);
	border: 1px solid #fff;
	transform: translateX(0);
	transition: 0.8s;
	opacity: 1;
}

.layer h3 {
	width: 90%;
	font-weight: 300;
	color: #fff;
	font-size: 18px;
	bottom: 0;
	left: 55%;
	padding-top: 10px;
	padding-bottom: 5px;
	transform: translateX(-50%);
	position: absolute;
	opacity: 0;
	transition: 0.5s;
}

.layer:hover h3 {
	bottom: 10%;
	opacity: 1;
}

.layer h3 span {
	font-size: 18px;
	font-weight: 200;
}


/* modal */
/*.popup-icon {
	position: fixed;
	bottom: 30px; right: 30px;
	z-index: 300;
	display: inline-block;
	width: 40px;
	height: 40px;
}

.popup-icon button {
	background-color: transparent;
	outline: none;
	border: none;
}

.modal-btn img {
	width: 40px;
	height: 40px;
}

.modal {
	background-color: rgba(0,0,0,0.95);
	display: none;
	overflow: auto;
	position: fixed;
	z-index: 1000;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	transform: all 0.6s;
	overflow: scroll;
}

.modal::-webkit-scrollbar {
	display: none;
}

.modal-content {
	text-align: center;
	position: relative;
	top: 0;
	width: 100%;
	/*margin: 100%;
	margin: 0 auto;
	background-color: transparent;
}

.modal-animated-in {
	animation: totop-in 0.6s ease;
}

.modal-animated-out {
	animation: totop-out 0.6s ease forwards;
}

.modal-content,
.modal-content .col-md-12 {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-direction: column;
}

.modal-header {
	border-bottom: none;
}

.modal-header h3 {
	color: white;
	font-weight: 200;
	letter-spacing: 1px;
	font-size: 64px;
	margin-top: 5%;
	border-bottom: none;
	margin-bottom: 20px;
	text-align: center;
}

.modal-content em {
	font-style: normal;
	font-weight: 400;
}

.modal-content em span {
	color: hsl(36, 92%, 63%);
}

.modal-content .close-btn {
	position: absolute;
	z-index: 99999999;
	color: white;
	top: 10px; right: 30px;
	width: 50px;
	height: 50px;
	text-align: center;
	cursor: pointer;
}

.modal-body {
	text-align: center;
}

.modal-body .col-md-12 {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0;
	margin: 0;
}

.modal-body input {
	border-radius: 5px;
	font-size: 14px;
	font-weight: 200;
	color: #fff;
	background-color: rgba(250,250,250,0.15);
	outline: none;
	border: none;
	line-height: 40px;
	width: 400px;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
}

.modal-body textarea {
	border-radius: 5px;
	padding-top: 10px;
	font-size: 14px;
	font-weight: 200;
	color: #fff;
	background-color: rgba(250,250,250,0.15);
	outline: none;
	border: none;
	box-shadow: none;
	width: 400px;
	height: 165px;
	max-height: 220px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
}

.modal-body button {
	border-radius: 0.5px;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 200;
	background-color: transparent;
	color: white;
	letter-spacing: 1px;
	border-top: none;
	border-bottom: 2px solid white;
	border-left: none;
	border-right: none;
	display: inline-block;
	padding: 0px 0px 3px 0px;
	transition: all 0.5s;
}

.modal-body button:hover {
	color: hsl(36, 92%, 63%);
	border-color: hsl(36, 92%, 63%);
	outline: hsl(36, 92%, 63%);
}

@keyframes totop-in {
	0% {
		top: 600px;
		opacity: 0;
	}

	100% {
		top: 0%;
		opacity: 1;
	}
}

@keyframes totop-out {
	0% {
		top: 0px;
		opacity: 1;
	}

	100% {
		top: -100%;
		opacity: 0;
	}
}*/


/* footer */
footer {
	width: 100%;
	min-height: 7rem;
	padding: 0;
	margin: 0;
	background: #000;
}

footer p {
	text-align: center;
	color: rgba(248, 245, 245, 0.986);
	font-weight: 300;
	font-size: 0.5rem;
	padding-top: 0.5rem;
}

footer span {
	color: hsl(36, 92%, 63%);
	cursor: pointer;
}

footer p a {
	text-decoration: none;
}

footer p a:hover {
	cursor: pointer;
	text-decoration: none;
}


/* media query*/
@media (min-width: 1280px) {
	.header h1 {
		padding-top: 3rem;
	}
}

@media (max-width: 1024px) {
	.loader .intro h1 {
		font-size: 72px;
	}

	.header {
		max-height: 10rem;
	}
}

@media (max-width: 770px) {
	.loader .intro h1 {
		font-size: 48px;
	}

	/*.modal-header h3 {
		font-size: 2rem;
		text-align: center;
		margin-top: -10%;
	}

	.modal-body .col-md-12,
	.modal-body .col-md-12 .btn {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.modal-body input {
		width: 400px;
		line-height: 30px;
		height: 30px;
		font-size: 15px;
	}

	.modal-body textarea {
		width: 400px;
		font-size: 15px;
	}

	.modal-content {
		padding-bottom: 40px;
		padding-top: 15%;
	}*/
}

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

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

	.header h1 {
		padding-top: 2rem;
	}
}


	/*.modal-header h3 {
		font-size: 1.8rem;
		text-align: center;
	}

	.modal-body .col-md-12 {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.modal-body input {
		width: 100%;
	}

	.modal-body textarea {
		width: 100%;
	}

	.modal-content {
		padding-bottom: 40px;
	}*/


@media (max-width: 500px) {
	.loader .intro h1 {
		font-size: 30px;
	}
}

@media (max-width: 450px) {
	.header {
		text-align: center;
		background-color: #000;
	}

	.header h1 {
		font-size: 2rem;
		font-weight: 100;
		padding-top: 3rem;
	}

	.modal-header h3 {
		font-size: 1.2rem;
		text-align: center;
		padding: 25px 0 0 0;
	}

	.modal-body .col-md-12 {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.modal-body input {
		width: 100%;
	}

	.modal-body textarea {
		width: 100%;
	}

	.modal-content {
		padding-bottom: 40px;
		padding-top: 18%;
	}

	.price {
		padding: 5px 20px 10px 20px;
	}
}

@media (max-width: 400px) {
	.loader .intro h1 {
		font-size: 24px;
	}
}

@media (max-width: 330px) {
	body {
		height: 50%;
	}

	nav {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		padding-left: 0px;
		margin-left: 0px;
		background: rgba(250,250,250,0.2);
		height: 60px;
		position: fixed;
		width: 100%;
		top: 0; left: 0;
		z-index: 2;
		box-shadow: 0px 2px 10px 0px rgba(250,250,250,0.5);
	}

	nav .logo a {
		font-size: 1px;
		float: left;
		padding-left: 0;
		margin-left: 0;
		border-left: 0;
	}

	nav .logo em {
		padding-left: 0;
		margin-left: 0;
		border-left: none;
	}

	.menu-icon {
		background: transparent;
		border: 1px solid white;
		width: 46px;
		height: 46px;
		margin: 7.5px 7.5px 7.5px auto;
		position: relative;
		cursor: pointer;
		transition: 0.5s;
		border-radius: 5px;
	}

	#video-container .video-content .inner h1 {
		margin-top: 50px;
		font-size: 2px;
		text-transform: uppercase;
		color: white;
		letter-spacing: 1px;
		font-weight: 200;
		text-align: center;
	}

	#video-container .video-content .inner p {
		font-size: 1px;
		letter-spacing: 0.5px;
		font-weight: 100;
		text-align: center;
	}

	.thumb .hover-effect {
		display: flex;
		flex-direction: column;
		justify-content: end;
	}

	.header h1 {
		padding-top: 2rem;
	}

	.full-screen-portfolio .portfolio-item h1 {
		position: relative;
		font-size: 5px;
		text-decoration: uppercase;
		color: white;
		display: inline-block;
		padding-left: 5px;
		transform: translateY(5px);
		transition: 0.5s ease-in-out;
		letter-spacing: 0.5px;
		transform: translateY(0);
	}

	.full-screen-portfolio .portfolio-item p {
		padding-left: 5px;
		letter-spacing: 0.5px;
		font-size: 3px;
		color: white;
		opacity: 0;
		transform: translateY(10px);
		transition: 0.5s ease-in-out;
		text-transform: uppercase;
	}

	/*.modal {
		display: scroll;
	}

	.modal .modal-content .modal-header h3 {
		padding: 25px 0 0 0;
		margin: 0;
		font-size: 1rem;
		text-align: center;
	}

	.modal .modal-content .modal-body .col-md-12 {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: center;
		flex-direction: column;
	}

	.modal .modal-content .modal-body form .col-md-12 input {
		width: 90%;
		font-size: 8px;
		height: 18px;
		line-height: 18px;
	}

	.modal .modal-content .modal-body form .col-md-12 textarea {
		width: 90%;
		font-size: 8px;
	}

	.modal-content {
		padding-bottom: 0px;
		font-size: 10px;
	}*/

	.overlay-menu .main-nenu ul li a {
		font-size: 18px;
		font-weight: 300;
		margin-top: 0;
		margin-bottom: 0;
		color: white;
		letter-spacing: 1px;
		text-decoration: none;
		transition: all 0.5s;
	}

	.overlay-menu .main-nenu p {
		margin-top: 0;
		text-transform: uppercase;
		color: white;
		font-size: 0.1rem;
		text-align: center;
	}

	.overlay-menu .main-nenu ul {
		list-style: none;
		margin-top: 20px;
	}

	.overlay-menu .main-nenu ul li {
		padding: 2px 0px;
	}

	footer {
		width: 100%;
		height: 80px;
		background-color: #000;
	}

	footer p {
		text-align: center;
		color: white;
		font-weight: 200;
		font-size: 6px;
		padding-top: 5px;
		letter-spacing: 0.5px;
	}

	footer span {
		color: hsl(36, 92%, 63%);
		cursor: pointer;
	}
}
