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

/* about */
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: 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;
}


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

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


/* about */
.about {
	max-width: 100%;
	height: 100% auto;
	margin: 0;
	padding: 0;
}

.about h2,
.about h3 {
	color: #fff;
	justify-content: center;
	text-align: center;
	flex-direction: column;
}

.about h2 {
	font-size: 1.5rem;
	font-weight: 900;
	padding: 3rem 0 1rem 0;
}

.about h3 {
	position: relative;
	padding: 0.2rem 0.5rem;
}

.about h3:after {
	position: absolute;
	bottom: -10%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 15rem;
	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%);
}

.about p {
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 0.9rem;
	padding: 0 1rem 1rem 1rem;
}

.about .memo {
	flex-direction: column;
	text-align: center;
}

.about .memo  a {
	color: #fff;
	font-weight: 900;
	text-decoration: none;
}

.about .memo a:hover {
	color: #fee140;
}

.box {
	position: relative;
	/*background: #000046;  /* fallback for old browsers */
	/*background: -webkit-linear-gradient(to bottom, #285991, #090931);  /* Chrome 10-25, Safari 5.1-6 */
	/*background: linear-gradient(to bottom, #285991, #090931); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	width: 100%;
	height: 100% auto;
	margin: 0;
	padding: 0 0rem 5rem 0;
	overflow: hidden;
}

.box video {
	position: absolute;
	z-index: 0;
}

section span {
	position: absolute;
	bottom: -4rem;
	background: transparent;
	border-radius: 50%;
	pointer-events: none;
	box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
	animation: animate 4s linear infinite;
}

section span::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	transform: scale(0.25) translate(-70%, -70%);
	background: radial-gradient(#fff, transparent);
	border-radius: 50%;
}

@keyframes animate {
	0% {
		transform: translateY(0%) rotate(8deg);
		opacity: 1;
	}

	99% {
		opacity: 1;
	}

	100% {
		transform: translateY(-1200%) rotate(360deg);
		opacity: 0;
	}
}


/* footer */
footer {
	width: 100%;
	height: 10rem;
	padding: 0;
	margin: 2rem 0 0 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 {
	cursor: pointer;
	text-decoration: none;
}


/* 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;
	}

	.about h2 {
		font-size: 0.7rem;
	}

	.about h3 {
		font-size: 0.9rem;
		padding: 0.2rem 0.5rem;
	}

	.about h3:after {
		width: 11rem;
	}

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

	.box {
			padding: 0 0 1rem 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;
	}

	.about h2 {
		font-size: 0.6rem;
		padding: 0.5rem 0 0 0;
	}
}