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

body {
	overflow-x: hidden;  
}

section {
	padding: 100px;
}

/*All Section in Website END*/

/* Title Text Start */

#characterPage .titleText {
	font-size: 4em;
	font-weight: 300;
	color: var(--black);
	padding: 20px 65px;
	background-color: var(--white);
	border: 1px solid var(--black);
}

#characterPage.dark-mode .titleText {
	background-color: var(--black);
	color: var(--white);
}

.title {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: var(--white);
}

/* Title Text End */

/*characterPage Section START*/

/* #characterPage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('(../asset/character/background.jpg') center/cover no-repeat;
    filter: blur(100px);
    z-index: -1;
} */

#characterPage {
	background: url('../asset/character/background.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 100vh;
	transition: 500ms;
	padding: 0;
	/* margin: 0; */
}

#characterPage .container {
	z-index: 2;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	height: inherit;
	width: 100%;
	padding: 100px;
}

#characterPage .title {
	color: var(--white);
	text-decoration: none;
	font-size: 1em;
	font-weight: 400;
}

#characterPage.dark-mode .title {
	color: var(--black);
}

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

#characterPage .content .box {
	width: 220px;
	margin: 25px;
	border: 2px solid var(--black);
	box-shadow: 0 5px 35px rgba(1, 1, 1, 0.2);
	transition: 425ms ease;
	background-color: #ffffef;
}

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

#characterPage .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);
}

#characterPage .content .box .imgBx {
	position: relative;
	width: 100%;
	height: 300px;
}

#characterPage .content .box .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.75);
	transition: 750ms ease-in;
}

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

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

#characterPage.dark-mode .content .box .text h3 {
	background-color: var(--gray);
	color: var(--white);
}

#characterPage .content .box .text button {
	width: 100%;
	height: 100%;
	border: none;
	cursor: pointer;
	transition: 550ms ease-out;
	background-color: var(--black);
}

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

#characterPage .content .box .text button p {
	color: var(--white);
	text-align: center;
	font-size: 1.25rem;
	font-weight: 400;
	padding: 15px 10px;
	cursor: pointer;
}


/*characterPage Section END*/


#myinput {
	border: 1px solid var(--black);
	margin: 2rem;
	font-size: 2rem;
	font-weight: 700;
	padding: 0.5rem 8rem;
	text-align: center;
}


/* Modal */

.modal-left .character-name {
	background-color: var(--white);
	border: 1px solid var(--black);
    color: var(--black);
    font-size: 2rem;
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#characterModal.dark-mode .modal-left .character-name {
	background-color: var(--black);
	border: 1px solid var(--white);
    color: var(--white);
}

.modal-left .imgBox {
	width: 280px;
	height: 100%;
}

.modal-left #modalImg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.modal {
	align-items: center;
	justify-content: center;
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-right #modalCharImg {
	width: 100%;
}

.modal-content {
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: relative;
    max-height: 100vh; /* Ensure it doesn't exceed the screen height */
    background-color: transparent; /* Remove white background */
}

.modal-left {
    width: 100%;
}

.modal-right {
	width: 100%;
}

.glow {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.glow img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Glow effect */
}

.background-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--black);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 80%;
	font-size: 2rem;
}

.description p {
    margin: 0;
}



/*Responsive Design*/


@media (max-width: 1080px) {

	section {
		padding: 55px 25px;
	}
	#characterPage .content {
		margin-top: 20px;
	}
	#characterPage .content .box {
		margin: 10px;
	}
	#characterPage .content .box .imgBx {
		height: 290px;
	}
	.title {
		text-align: center;
	}
	.titleText {
		font-size: 1.8em;
		line-height: 1.5em;
		margin-bottom: 15px;
		font-weight: 300;
	}

}

@media (max-width: 768px) {

	#characterPage .content {
		margin-top: 20px;
	}

	#characterPage .content .box {
		margin: 20px;
	}

	#characterPage .content .box .imgBx {
		height: 280px;
	}

}

@media (max-width: 568px) {

	#characterPage .content .box {
		width: 340px;
		margin: 25px;
	}
	
	#characterPage .content .box .imgBx {
		height: 200px;
	}

}

@media (max-width: 430px) {

	#characterPage .content .box {
		width: 300px;
		margin: 25px;
	}
	
	#characterPage .content .box .imgBx {
		height: 175px;
	}

}

/*Responsive Design*/