/*Font Family Import START*/

@font-face {
    font-family: 'BebasNeue';
    src: url('asset/fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*Font Family Import END*/

/* Color */

:root {
    --white: #fff;
	--secondary-white: #dfdfdf;
    --black: #121212;
	--gray: #36454f;
    --yellow: #ffdb56;
	--primary-black: #1d1f1f;
	--orange: #E88B00;
}

/* Scrollbar */

::-webkit-scrollbar{
    width: 10px;
    height: 5px;
}

::-webkit-scrollbar-track{
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}

::-webkit-scrollbar-thumb{
    background: var(--gray);
    border-radius: 10px;
}

.viewall {
	justify-content: center;
	align-items: center;
	text-align: center;
}

/*All Section in Website START*/

* {
	font-family: 'BebasNeue';
	margin: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
	padding:0;
	cursor: url(asset/cursor/kunai.cur), auto;
	scrollbar-width: none;
    /* Untuk transisi dark mode */
    transition: 450ms ease-out;
}

body {
	overflow-x: hidden;
}

section {
	padding: 100px;
}

/*All Section in Website END*/



/* Snap Scrolling untuk semua Section */


body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    height: 100%;
    scroll-behavior: smooth;
}

.container {
    scroll-snap-type: y mandatory;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    position: relative;
    scroll-behavior: smooth;
}

/* Canvas Section */

.canvas-section {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 200px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Pastikan canvas berada di atas semua elemen lainnya */
}

#characterCanvas {
    bottom: 0;
    background-color: transparent;
}


/* Parallax Section */

.parallax {
	overflow-x: hidden;
    background: url('asset/home/sky.webp');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 99;
}

.parallax.dark-mode {
    background: url('asset/home/sky-dark.webp') no-repeat center center/cover;
}

@keyframes moveClouds {
    from {left: -15%}
    to {left: 100%}
}

.cloud {
	overflow: hidden;
	/* bottom: -20%; */
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('asset/home/cloud.webp');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
    transition: transform 0.3s ease;
	animation: moveClouds 25s infinite linear;
}



.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('asset/home/mountain.webp');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
    transition: transform 0.3s ease;
}



/* Story Section */


.story {
    background: url('asset/bg_story_jp-light.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}


.story.dark-mode {
    background: url('asset/bg_story_jp.jpg');
}


.story .content-box {
	border: 1px solid var(--black);
    position: absolute;
	top: 33%;
    left: 12%;
    width: 26%;
    padding: 20px;
    text-align: left;
    background-color: var(--white);
    color: var(--black);
	font-family: 'BebasNeue';
}


.story.dark-mode .content-box {
	border: 1px solid var(--white);
    background-color: var(--black);
    color: var(--white);
}

.title-story.dark-mode {
    filter: invert(1);
}

.story .content-box h1 {
	font-size: 3rem;
}


.story .content-box p {
	font-size: 1.25rem;
}


.story .content-box .btn {
	font-size: 1rem;
	border: 1px solid var(--white);
	padding: 5px 0;
	width: 100%;
	background-color: var(--black);
	color: var(--white);
	transition: 350ms ease-in;
}


.story .content-box .btn:hover {
	border: 1px solid var(--black);
	background-color: var(--white);
	color: var(--black);
}


.title-story {
    position: absolute;
    top: -30%;
    right: -11%;
    width: 150%;
    height: 100%;
    background-image: url('asset/title/story-light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
	transform: scale(0.3);
}


.naruto-char {
    position: absolute;
    top: 47%;
    right: 38%;
    transform: translateY(-50%);
    width: 400px;
    height: 100%;
    background-image: url('asset/char_naruto.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 4;
}


.naruto-n {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 100%;
    background-image: url('asset/letter/letter_n.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
}


/* Video */


.video {
    position: relative;
    overflow: hidden;
}

/* Video Background */

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
	z-index: 2;
}


.naruto-a {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 100%;
    background-image: url('asset/letter/letter_a.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
}

.video .content-box {
	border: 1px solid var(--black);
    position: absolute;
	top: 40%;
    left: 5%;
    width: 50%;
    padding: 20px;
    text-align: left;
    background-color: white;
    color: black;
	font-family: 'BebasNeue';
	font-size: 3rem;
}

.video.dark-mode .content-box {
	border: 1px solid var(--white);
    background-color: var(--black);
    color: var(--white);
}

/* .video .content-box.dark-mode {
    border: 1px solid var(--white);
    background-color: var(--black);
    color: var(--white);
} */

/* Dark Mode */


/* Character */



.character {
    background-image: url('asset/bg_comics_jp_light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.character.dark-mode {
    background-image: url('asset/bg_comics_jp.webp');
}


.character .row {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
	z-index: 50000;
}

.character .row .col50 {
    position: relative;
    width: 70%;
}

.character  .row .col50 .content {
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 40px;
}

.character .content .box {
	width: 210px;
	margin: 25px;
	border: 2px solid var(--black);
	box-shadow: 0 5px 35px rgba(1, 1, 1, 0.2);
	transition: 425ms ease;
	background-color: var(--white);
	padding: 10px;
}

.character.dark-mode .content .box {
    border: 2px solid var(--white);
    background-color: var(--black);
}

.character .content .box:hover {
	background-color: var(--white);
	border-color: var(--white);
	box-shadow: 0 0 5px var(--black), 0 0 5px var(--black), 0 0 5px var(--black);
	transform: translateY(-15px);
}

.character.dark-mode .content .box:hover {
    background-color: var(--black);
	border-color: var(--black);
	box-shadow: 0 0 5px var(--white), 0 0 5px var(--white), 0 0 5px var(--white);
}

.character .content .box .imgBx {
	position: relative;
	width: 100%;
	height: 180px;
}

.character .content .box .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 750ms ease-in;
}

.character .content .box .imgBx img:hover {
	filter: grayscale(0);
}

.character .content .box .text h3 {
	background-color: var(--white);
	color: var(--black);
	text-align: left;
	font-size: 2.75rem;
	font-weight: 600;
	padding: 15px 10px;
}

.character.dark-mode .content .box .text h3 {
    background-color: var(--black);
    color: var(--white);
}

.character .content .box .text button {
	width: 100%;
	height: 100%;
	border: none;
	cursor: pointer;
	transition: 550ms ease-out;
	background-color: var(--white);
	border: 1px solid var(--black);
	padding: 15px 10px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--black);
}

.character.dark-mode .content .box .text button {
    background-color: var(--black);
    border: 1px solid var(--white);
    color: var(--white);
}

.character .content .box .text button:hover {
	background-color: #7c8185;
	cursor: pointer !important;
}


.character  .row .col50 .content2 {
	display: flex;
	justify-content: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: 105px;
}


.character  .row .col50 .content2 button {
	cursor: pointer;
	background-color: var(--white);
	padding: 5px 15px;
}


.character.dark-mode  .row .col50 .content2 button {
    background-color: var(--black);
    color: var(--white);
}


.character  .row .col50 .content2 button p {
	font-size: 1.25rem;
	cursor: pointer;
}


.character.dark-mode  .row .col50 .content2 button p {
    background-color: var(--black);
    color: var(--white);
}


.naruto-r {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 100%;
    background-image: url('asset/letter/letter_r.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
}


.title-character {
    position: absolute;
    top: -30%;
    right: -41%;
    width: 150%;
    height: 100%;
    background-image: url('asset/title/character-light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
	transform: scale(0.3);
}


.title-character.dark-mode {
    background-image: url('asset/title/character.png');
}

/* Anime Section */


.anime {
    background-image: url('asset/home/anime/background-light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.anime.dark-mode {
    background-image: url('asset/home/anime/background.jpg');
}

.naruto-u {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 100%;
    background-image: url('asset/letter/letter_u.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
}


.title-anime {
    position: absolute;
    top: -30%;
    right: -9%;
    width: 150%;
    height: 100%;
    background-image: url('asset/title/Anime-light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
	transform: scale(0.3);
}

.title-anime.dark-mode {
    background-image: url('asset/title/Anime.png');
}

.anime .row {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
	z-index: 50000;
}

.anime .row .col50 {
    position: relative;
    width: 70%;
}

.anime  .row .col50 .content {
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 40px;
}

.anime .content .box {
	width: 190px;
	margin: 25px;
	border: 2px solid var(--black);
	box-shadow: 0 5px 35px rgba(1, 1, 1, 0.2);
	transition: 425ms ease;
	background-color: var(--white);
	padding: 10px;
}

.anime.dark-mode .content .box {
    border: 2px solid var(--white);
    background-color: var(--black);
}

.anime .content .box:hover {
	background-color: var(--white);
	border-color: var(--white);
	box-shadow: 0 0 5px var(--black), 0 0 5px var(--black), 0 0 5px var(--black);
	transform: translateY(-15px);
}

.anime.dark-mode .content .box:hover {
    background-color: var(--black);
    border-color: var(--black);
    box-shadow: 0 0 5px var(--white), 0 0 5px var(--white), 0 0 5px var(--white);
}

.anime .content .box .imgBx {
	position: relative;
	width: 100%;
	height: 220px;
	margin-bottom: 10px;
}

.anime .content .box .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 750ms ease-in;
}

.anime .content .box .imgBx img:hover {
	filter: grayscale(0);
}

.anime .content .box .text h3 {
	background-color: var(--white);
	color: var(--black);
	text-align: left;
	font-size: 2.75rem;
	font-weight: 600;
	padding: 15px 10px;
}

.anime.dark-mode .content .box .text h3 {
    background-color: var(--black);
    color: var(--white);
}

.anime .content .box .text button {
	width: 100%;
	height: 100%;
	border: none;
	cursor: pointer;
	transition: 550ms ease-out;
	background-color: var(--white);
	border: 1px solid var(--black);
	padding: 15px 10px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--black);
}


.anime.dark-mode .content .box .text button {
    background-color: var(--black);
    border-color: var(--white);
    color: var(--white);
}

.anime .content .box .text button:hover {
	background-color: #7c8185;
	cursor: pointer !important;
}


.anime  .row .col50 .content2 {
	display: flex;
	justify-content: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: 135px;
}


.anime  .row .col50 .content2 button {
	cursor: pointer;
	background-color: var(--white);
	padding: 5px 15px;
}


.anime.dark-mode  .row .col50 .content2 button {
    background-color: var(--black);
    color: var(--white);
}


.anime  .row .col50 .content2 button p {
	font-size: 1.25rem;
	cursor: pointer;
}


/* Manga Section */

/* Manga Section */

.manga {
    background: url('asset/home/manga/background-light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.manga.dark-mode {
    background: url('asset/home/manga/background.jpg');
}

.manga .row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 5;
    width: 70%;
}

.manga .row .col50 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 50%;
}

.manga .row .col50 .content {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 40px;
}

.manga .content .box {
    width: 390px;
    height: 280px;
    margin: 25px;
    border: 2px solid var(--black);
    box-shadow: 0 5px 35px rgba(1, 1, 1, 0.2);
    transition: 425ms ease;
    background: url('asset/home/manga/manga.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.manga.dark-mode .content .box {
    border-color: var(--white);
}

.manga .content .box:hover {
    box-shadow: 0 0 5px var(--black), 0 0 5px var(--black), 0 0 5px var(--black);
    transform: translateY(-15px);
}

.manga.dark-mode .content .box:hover {
    box-shadow: 0 0 5px var(--white), 0 0 5px var(--white), 0 0 5px var(--white);
}

.manga .content .box .text {
    position: relative;
    z-index: 2;
}

.manga .content .box .text button {
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    transition: 550ms ease-out;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--black);
    padding: 15px 30px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.manga.dark-mode .content .box .text button {
    border-color: var(--white);
    color: var(--black);
}

.manga .content .box .text button:hover {
    background-color: rgba(124, 129, 133, 0.8);
    color: var(--white);
}

.manga.dark-mode .content .box .text button:hover {
    color: var(--white);
}

/* Letter T Image */

.naruto-t {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 100%;
    background-image: url('asset/letter/letter_t.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
}


/* Gallery Section */


.gallery {
    background: url('asset/bg_others.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* .gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('asset/bg_others.webp') center/cover no-repeat;
    filter: grayscale(10);
    z-index: -1;
} */



/* .greyscaleBG {
    -webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
} */


.naruto-o {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 100%;
    background-image: url('asset/letter/letter_o.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
}



.title-gallery {
    position: absolute;
    top: -30%;
    right: -9%;
    width: 150%;
    height: 100%;
    background-image: url('asset/title/gallery-light.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 3;
	transform: scale(0.3);
    -webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}


.title-gallery.dark-mode {
    background-image: url('asset/title/gallery.png');
}


/* Flip Book */


.flip-book {
    -webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	position: relative;
    display: flex;
    width: 500px;
    height: 360px;
	z-index: 10000;
	justify-content: center;
	align-items: center;
	top: 8%;
	left: -20%;
}

.page {
    width: 50%;
    height: 100%;
    cursor: pointer;
	background-color: var(--white);
	color: var(--black);
	border: 2px solid var(--white);
}

.gallery.dark-mode .page {
    background-color: var(--black);
	color: var(--white);
	border: 2px solid var(--black);
}

.page-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page img {
    max-width: 100%;
    max-height: 100%;
	object-fit: cover;
}

/* #firstText p {
	border: 1px 0 1px solid var(--black);
} */

/* Intermission */


.intermission {
    width: 100%;
    height: 30vh; /* Adjust height as needed */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.intermission1 {
    background-image: url('asset/home/intermission/intermission_1_light.png');
    position: absolute;
    top: -10vh;
	transform: rotate(7deg);
}

.intermission1.dark-mode {
    background-image: url('asset/home/intermission/intermission_1.webp');
}

.intermission2 {
    background-image: url('asset/home/intermission/intermission_2_light.png');
    position: absolute;
    bottom: -10vh;
	transform: rotate(-7deg);
}

.intermission2.dark-mode {
    background-image: url('asset/home/intermission/intermission_2.webp');
}

.intermission3 {
    background-image: url('asset/home/intermission/intermission_3_light.png');
    position: absolute;
    bottom: -10vh;
	transform: rotate(7deg);
}

.intermission3.dark-mode {
    background-image: url('asset/home/intermission/intermission_3.webp');
}

.intermission4 {
    background-image: url('asset/home/intermission/intermission_4_light.png');
    position: absolute;
    bottom: -10vh;
	transform: rotate(-7deg);
}

.intermission4.dark-mode {
    background-image: url('asset/home/intermission/intermission_4.webp');
}

.intermission5 {
    background-image: url('asset/home/intermission/intermission_3_light.png');
    position: absolute;
    bottom: -10vh;
	transform: rotate(7deg);
}

.intermission5.dark-mode {
    background-image: url('asset/home/intermission/intermission_3.webp');
}