/* 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-face {
    font-family: 'Naruto';
    src: url('../asset/ninja_naruto/njnaruto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
  
/* Font Family Import END */

/* Color */
:root {
    --white: #fff;
    --secondary-white: #dfdfdf;
    --black: #121212;
    --gray: #36454f;
    --primary-black: #1d1f1f;
}

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

* {
font-family: 'BebasNeue';
margin: 0;
box-sizing: border-box;
scroll-behavior: smooth;
padding: 0;
cursor: url(../asset/cursor/kunai.cur), auto;
}
  
body {
    overflow: hidden;
}
  

#home {
    background-image: url('../asset/manga/naruto-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden !important;
    transition: background-image 0.5s ease-in-out;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3);
    z-index: 0;
}

#home .content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    width: 100%;
    padding-right: 2rem;
    z-index: 1;
}

#home .box {
    margin: 0 1rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    width: 240px;
    height: 330px;
    transition: 350ms;
}

#home .box:hover {
    box-shadow: 0 14px 18px rgba(255, 255, 255, 0.8);
}

#home .box .imgBx {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#home .box .imgBx img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease-in-out;
}


.btn {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 1rem 4rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: 550ms ease-out;
}

.btn:hover {
    background: var(--black);
    color: var(--white);
}

/* Ini untuk modal */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    /* padding: 0 300px; */
}

.modal-content {
    background-image: url('../asset/ninja-scroll-bg-revised.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    position: relative;
    text-align: center;
    /* padding: 0 100px; */
}

.close {
    color: var(--white);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--gray);
}

.modal-content h2 {
    margin: 0;
    font-size: 3.5rem;
    color: var(--black);
}

.modal-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-top: 20px;
    color: var(--black);
}

#titleText {
    text-shadow: -3px -3px 0 var(--black), 3px -3px 0 var(--black), 3px 3px 0 var(--black),
    3px 3px 0 var(--black);
    color: #FFA500;
    font-weight: 700;
    font-size: 4rem;
    font-family: 'Naruto';
    transition: 500ms ease-in;
}

.informationText {
    color: var(--white);
    font-weight: 500;
    font-size: 2.25rem;
}

/* Dark Mode */

#titleText.dark-mode {
    color: #FF7300;
}

.btn.dark-mode {
    background: var(--black);
    color: var(--white);
}

.btn.dark-mode:hover {
    background: var(--white);
    color: var(--black);
}