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

html,
body {
	margin: 0;
	padding: 0;
	max-width: 100%;
	height: 100% auto;
	background: linear-gradient(#111, #000);
}

body.active,
body.active .header2,
body.active footer {
	background: #f8f8f8;
}

body.active h1,
body.active h6,
body.active footer p {
	color: #000;
}


/* add a thumb */
body::-webkit-scrollbar {
	width: 8px;
	height: 8px;
	background-color: rgba(0,0,0,0.9);
	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: 2;
	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;
}


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

#toggle {
  position: absolute;
  display: block;
	top: 25px;
	right: 60px;
  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);
}


.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;
}

/* background canvas */
#canvas {
	position: absolute;
	top: 100vh;
	left: 0;
	width: 100%;
	height: 100vh;
	transform: translate(-50% -50%);
	background-color: transparent;
	z-index: 1;
	overflow: hidden;
}

/* price */
.price {
	width: 100%;
	max-height: 90vh;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.price h3 {
	color: #fff;
	font-size: 1.2rem;
	justify-content: center;
	align-items: center;
	text-align: center;
	flex-direction: column;
	position: relative;
	padding: 2rem 0 0 0;
	margin: 0;
}

.price h3:after {
	position: absolute;
	bottom: -10%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 8rem;
	height: 5px;
	content: '';
	background-image: -webkit-gradient(linear, left top, right top, from(#fa709a), to(#fee140));
	background-image: -webkit-linear-gradient(left, #fa709a 0%, #fee140 100%);
	background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}

.price .box p em {
	font-size: 1.1rem;
	font-weight: 500;
	margin: 0;
	padding: 0;
}

.box {
	background: -webkit-linear-gradient(to bottom, #313131, #1b1b1b);
	background: linear-gradient(to bottom, #313131, #1b1b1b);
	width: 100%;
	min-height: 100vh;
	object-fit: fill;
	margin: 0;
	padding: 0;
	z-index: 0;
}

.box p,
.box p em {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #fff;
	font-size: 0.9rem;
	margin: 0 7%;
	padding: 0.5rem 0 0 0;
	z-index: 1;
}

.box .off {
	color: hsl(36, 92%, 63%);
}


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

footer p {
	text-align: center;
	color: #fff;
	font-weight: 100;
	font-size: 0.5rem;
	padding-top: 0.5rem;
}

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

footer p a {
	text-decoration: none;
}

footer p a:hover {
	cursor: pointer;
}


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

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

@media (max-width: 700px) {
	.header2 h1 {
		font-size: 1.2rem;
	}

	.header2 h1 a span {
		font-size: 1.6rem;
	}

	.price h3 {
		font-size: 1rem;
		padding: 2.2rem 0 0.2rem 0;
		margin: 0;
	}

	.price h3:after {
		width: 6rem;
	}

	.price .box p {
		color: #fff;
		display: flex;
		justify-content: flex-start;
		font-size: 0.6rem;
		margin: 0 5%;
		padding: 0.5rem 0 0 0;
	}

	.price .box p em {
		font-size: 0.8rem;
		padding: 0.3rem 0 0.3rem 0;
	}
}

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

@media (max-width: 550px) {
	footer {
		height: 5rem;
	}

	footer p {
		font-size: 0.3rem;
		padding-top: 0.3rem;
	}
}

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

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

	.header2 h1 {
		font-size: 1.1rem;
	}

	.header2 h1 a span {
		font-size: 1.4rem;
	}
}