@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=Abril+Fatface&family=Licorice&family=Playfair+Display:wght@700;900&display=swap');

* {
	margin: 0;
	padding: 0;
}

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

body.active,
body.active .header,
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;
}


/* start section */
.temp {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(../images/temp.gif) no-repeat 50% 50%;
	background-size: cover;
	filter: grayscale(1);
	animation: fadeOut 5s linear forwards;
	opacity: 1;
	z-index: 9;
}

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

	40% {
		opacity: 0;
	}

	41% {
		opacity: 1;
	}

	91% {
		opacity: 1;
	}

	92% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

.zero-block {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #111;
	animation: go-up 1s linear forwards;
	z-index: 6;
	animation-delay: 6.2s;
}

@keyframes go-up {
	0% {
		bottom: 0;
		height: 100vh;
	}

	100% {
		bottom: 100%;
		height: 0;
	}
}

.first-block {
	position: absolute;
	width: 0%;
	height: 100%;
	background: #272727;
	animation: go-left 4s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards;
	left: 0;
	z-index: 10;
}

@keyframes go-left {
	0% {
		left: 0;
		width: 0%;
	}

	50% {
		left: 0;
		width: 100%;
	}

	100% {
		left: 100%;
		width: 0;
	}
}

.second-block {
	position: absolute;
	width: 0%;
	height: 100vh;
	background: #241c17;
	animation: go-left 3.2s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards;
	animation-delay: 3s;
	z-index: 9;
}

.loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

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

.loader ul li {
	display: inline-block;
	color: #fff;
	font-family: Poppins;
	font-weight: bolder;
	margin: 0 8px;
	font-size: 24px;
	text-transform: uppercase;
	animation: loadNow 4s ease-in-out forwards;
	opacity: 0;
	transform: translateX(0px);
}

@keyframes loadNow {
	0% {
		opacity: 0;
		transform: translateX(80px);
	}

	20% {
		opacity: 1;
		transform: translateX(0px);
	}

	80% {
		opacity: 1;
		transform: translateX(0px);
	}

	100% {
		opacity: 0;
		transform: translateX(-80px);
	}
}

.loader ul li:nth-child(1) {
	animation-delay: 1.1s;
}

.loader ul li:nth-child(2) {
	animation-delay: 1.2s;
}

.loader ul li:nth-child(3) {
	animation-delay: 1.3s;
}

.loader ul li:nth-child(4) {
	animation-delay: 1.4s;
}

.loader ul li:nth-child(5) {
	animation-delay: 1.5s;
}

.loader ul li:nth-child(6) {
	animation-delay: 1.6s;
}

.loader ul li:nth-child(7) {
	animation-delay: 1.7s;
}

.loader ul li:nth-child(8) {
	animation-delay: 1.8s;
}

.loader ul li:nth-child(9) {
	animation-delay: 1.9s;
}

.loader ul li:nth-child(10) {
	animation-delay: 2s;
}

.third-block {
	position: absolute;
	width: 100%;
	height: 100vh;
	background: url(../images/bg.png) center no-repeat;
	animation: expandNow 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
	z-index: 7;
}

@keyframes expandNow {
	0% {
		width: 0%;
	}

	99% {
		width: 64%;
	}

	100% {
		width: 0%;
	}
}


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


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


/* video container */
#video-container {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

#video-container video,
.video-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
}

#video-container .video-overlay {
	background: rgba(0, 0, 0, .5);
	width: 100%;
	z-index: 1;
}

#video-container .video-content {
	position: absolute;
	width: 100%;
	height: 100%;
}

#video-container .video-content .inner {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column wrap;
}

#video-container .video-content .inner h1 {
	font-size: 64px;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 2px;
	font-weight: 300;
	text-align: center;
	position: absolute;
	top: 40%;
	left: 0;
	right: 0;
	animation: scale-in 1.8s ease-out;
	animation-delay: 6.4s;
	z-index: 2;
}

#video-container .video-content .inner em {
	font-style: normal;
	font-weight: 600;
}

#video-container .video-content .inner h1 span {
	color:hsl(36, 92%, 63%);
}

#video-container .video-content .inner p {
	color: #fff;
	font-size: 22px;
	font-weight: 200;
	letter-spacing: 1.5px;
	text-align: center;
	padding: 0px 30px;
	position: absolute;
	top: 62%;
	left: 0;
	right: 0;
	animation: scale-in 2s ease-out;
	animation-delay: 6.4s;
	z-index: 2;
}

#video-container .video-content .inner a {
	color: #fff;
	text-decoration: underline;
}

#video-container .video-content .inner .scroll-icon {
	translate: scroll;
	transition: 1.5s;
	position: absolute;
	top: 70%;
	animation: scale-in 2s ease-out;
	animation-delay: 6.4s;
	z-index: 1;
}

@keyframes scale-in {
	0% {
		transform: scale(3, 3);
		opacity: 0;
	}

	100% {
		transform: scale(1, 1);
		opacity: 1;
	}
}


/* parallax section */
[data-paroller-factor] {
	position: relative;
	z-index: 0;
}

.overlayImg {
	background: hsla(0, 0%, 100%, 0.05);
	padding: 2.5em 0;
	margin: 2em 0;
	min-height: 400px;
}

.d-flex {
	display: flex;
	width: 80%;
	margin: 10%;
}

.header {
	width: 100%;
	height: 100vh;
	display: grid;
	place-items: center;
	place-content: center;
}

.header h6 {
	font-size: 4rem;
}

.image {
	min-height: 300px;
	padding: 3em;
	margin: 0.5em;
	min-width: 20%;
	border-radius: 0.25em;
	border: 0;
	display: inline-block;
	position: relative;
}

.text {
	font-size: 5em;
	font-family: 'Playfair Display', serif;
	line-height: 110%;
	color: #fff;
	text-align: center;
}

.mt-3 {
	margin-top: 40px;
	font-size: 4.5em;
	padding: 20px;
}

.wrap {
	display: grid;
	grid-template-columns: 50% auto;
}

.wrap .img {
	width: 100%;
	height: 100%;
}

.wrap .text h1 {
	font-size: 8rem;
	padding: 80px 0px;
}

.footer h6 {
	padding: 10px;
	margin: 5% 0;
}


/* social media */
.sci {
	position: relative;
}

.sci ul {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 3rem 0;
}

.sci ul li {
	list-style: none;
}

.sci ul li a {
	font-size: 2rem;
	display: inline-block;
	margin: 0 30px;
}

.sci ul li a .fab {
	max-width: 40px;
	border-radius: 8px;
}

.sci ul li a:hover .fab {
	transform: scale(1.3);
	cursor: pointer;
}

body.active .sci ul li a .line:hover,
.sci ul li a .line:hover {
	box-shadow: 0 5px 20px rgba(48, 244, 13, 0.9);
}

body.active .sci ul li a .x:hover,
.sci ul li a .x:hover {
	box-shadow: 0 5px 20px rgba(78, 239, 245, 0.9);
}

body.active .sci ul li a .threads:hover,
.sci ul li a .threads:hover {
	box-shadow: 0 5px 20px rgba(251, 99, 218, 0.9);
}

body.active .sci ul li a .instagram:hover,
.sci ul li a .instagram:hover {
	box-shadow: 0 5px 20px rgba(251, 99, 218, 0.9);
}


/* footer */
footer {
	width: 100%;
	height: 10rem;
	padding: 0;
	margin: 2rem 0 0 0;
	background: #000;
	border-top: 1px solid #555;
}

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 ul li {
		font-size: 24px;
	}

	.third-block {
		background: url(bg.png) no-repeat;
		top: 15%;
		object-fit: cover;
	}

	#video-container .video-content .inner h1 {
		top: 45%;
	}

	#video-container .video-content .inner p {
		top: 65%;
	}

	.header {
		min-height: 3rem;
	}

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

@media (max-width: 770px) {
	.loader ul li {
		font-size: 20px;
	}

	.third-block {
		top: 5%;
	}

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

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

	.third-block {
		top: 0;
	}

	#video-container .video-content .inner h1 {
		font-size: 36px;
		line-height: 60px;
		padding: 0 7rem;
	}

	.loader ul li	 {
		font-size: 16px;
		margin: 0 4px;
	}

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

	.footer h6 {
		font-size: 2.5rem;
	}
}

@media (max-width: 500px) {
	.loader ul li {
		font-size: 14px;
		margin: 0 2px;
	}
}

@media (max-width: 450px) {
	nav .logo a {
		font-size: 1rem;
		float: left;
		padding-left: 0;
		margin-left: 0;
		border-left: 0;
	}

	#video-container .video-content .inner h1 {
		font-size: 32px;
		padding: 0 3rem;
	}

	#video-container .video-content .inner p {
		font-size: 16px;
	}

	#video-container .video-content .inner em {
		font-style: normal;
		font-weight: 600;
	}

	.header {
		text-align: center;
		background-color: #000;
	}

	.header h1 {
		font-size: 0.2rem;
		font-weight: 100;
		padding-top: 3rem;
		color:hsl(36, 92%, 63%);
	}

	.wrap .text h1 {
		font-size: 4rem;
	}

	.footer h6 {
		font-size: 1.5rem;
	}
}

@media (max-width: 400px) {
	.loader ul li	 {
		font-size: 12px;
	}

	.sci ul li a {
		font-size: 1.5rem;
		margin: 0 1.5rem;
	}
}

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

	.loader ul li {
		font-size: 8px;
		margin: 0 1px;
	}

	#video-container .video-content .inner h1 {
		font-size: 1.3rem;
		line-height: 40px;
	}

	#video-container .video-content .inner p {
		font-size: 0.8rem;
		letter-spacing: 0.5px;
		font-weight: 100;
	}

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