/**********************************************************************************************
 *	Author:  Zubair Hossain	   																  *
 *	License: Private		   																  *
 *	Version: 1.1																			  *
 *	Date:	 2026/01/01		   																  *
 *																							  *
 *										Comments:											  * 	
 *																							  *
 *	This is strictly private intellectual property. Unauthorized reproduction, distribution,  *
 *	or modification is strictly prohibited. While every effort has been made to ensure 		  *
 *	its quality and functionality, the author assumes no liability for any direct, indirect,  *
 *	incidental, or consequential damage, whether intentional or unintentional, 				  *
 *	arising from its use. 							  										  *
 *																							  *
 *	Copyright 2025-2026 Zubair Hossain. All Rights Reserved.				  				  *
 *																							  *
 **********************************************************************************************/

/********************************** Undo Christmas Theme **************************************
  
  1) @styles.css: 
  	1.1) Comment out all xmas related code segments (starting line# 948-1402)
  	1.2) Comment out blog_post_zoomed section & related (line# 1619)

  2) @index.html 
  	2.1) comment out Giftbox popup menu (line# 1005)
  	2.2) update icons in menu bar for home and projects without '_xmas' in .svg (line#109)

**********************************************************************************************/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&PT+Mono&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
	background: #01070a;
	background: linear-gradient(10deg, rgba(2, 10, 19, 1) 1%, rgba(6, 20, 33, 1) 51%, rgba(2, 10, 19, 1) 100%);
	padding: 0;
	margin: 0;
	outline: 0;
	justify-content: center;
	flex-direction: row;
	width: 100%;
	display: flex;
	overflow-y: auto;
	min-height: 100vh;
	height: 100%;
}



/******************************
	Hex messages on the side
*******************************/

.hex_container {
	overflow: hidden;
}

.hex_msg_style1 {
	visibility: hidden;
	overflow: hidden;
	padding: 0;
	margin:  0;
	display: flex;
	flex-direction: column;
	background: transparent;
	color: rgba(100,184,216, 0.91);
	backdrop-filter: brightness(1.2);
	font-family: "Source Sans", "Unlock", "serif";
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1.23px;
	word-spacing: 2.0px;
	line-height: auto;
	transform: rotate(270deg);
	/** animation: [fn name] [duration (s)] [mode] [infitnite/numerical value (s)] **/
}

.hex_msg_style2 {
	visibility: hidden;
	display: flex;
	flex-direction: column;
	background: transparent;
	color: rgb(157,79,9);
	color: rgba(157,79,9,1);
	text-shadow: 6px 4px 10px rgba(157,79,9,0.30);
	backdrop-filter: blur(8px) brightness(0.7);
	font-family: "Source Sans", "Unlock", "serif";
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1.23px;
	line-height: 41px;
	transform: rotate(270deg);
}


@keyframes scrolltext {
	0% {
		opacity: 0;
		visibility: visible;
		top: -2%;
	}


	49% {
		filter: brightness(0.9);	
		opacity: 1;
	}

	84% {
		opacity: 0;
		top: 75%;
		visibility: hidden;
		filter: brightness(0.4);	
	}
}

#msg1 {
	position: absolute;
	left: 2vw;
	animation: scrolltext 10s linear infinite;
	animation-delay: 4s;
	overflow: hidden;
	opacity: 0.71;
}

#msg2 {
	position: absolute;
	left: 4vw;
	top: 0;
	animation: scrolltext 10s linear infinite;
	animation-delay: 1s;
}

#msg3 {
	position: absolute;
	left: 6vw;
	top: 0;
	animation: scrolltext 10s linear infinite;
	animation-delay: 3s;
}

#msg4 {
	position: absolute;
	left: 8vw;
	top: 0;
	animation: scrolltext 10s linear infinite;
	animation-delay: 6s;
}


/*************************************
  Data download / Page load animation
**************************************/

.error_fetch_data {
	display: none;
	justify-content: center;
}

.error_fetch_data p {
	font-family: "Nova Square", "serif";
	font-weight: 600;
	font-size: 0.90rem;
	background: rgba(0,0,0,0.06);
	border-radius: 4px;
	color: red;
	text-shadow: 2px 0px 1px rgba(0,0,0,0.19);
	padding: 5px 10px;
	text-align: center;
}

.loading_animation {
	border: 0;
	outline: 0;
	border-radius: 9px;
	row-gap: 10px;
	position: absolute;
	left: 44%;
	top: 30vh;
	background: rgba(0,0,0,0.36);
	opacity: 0.61;
	z-index: 30;
	width: 100px;
	height: 30px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	column-gap: 10px;
	box-shadow: inset 1px 1px 2px rgba(255,255,255,0.21), 1px 1px 2px rgba(0,0,0,0.51);
}

.circle {
	width:  8px;
	height: 8px;
	border-radius: 50%;
	z-index: 21;
	border:0;
	outline:0;
}

.progress_inactive {
	/* background-color: rgba(50,83,138,1); */
	background-color: rgba(255,255,255,0.64);
}

.progress_active {
	background-color: rgba(177,87,26,1);
	filter: brightness(1.5);
	opacity: 1;
}


/******************************
  Page turn animation
*******************************/

@keyframes fade_vert {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}

	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}


.animation_post_load  {

	/** animation: [fn name] [duration (s)] [mode] [infitnite/numerical value (s)] **/
	animation: fade_vert 0.8s ease;
}

/* Page navigation */

.pagination {
	display: none;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	row-gap: 15px;
	margin-right: 5%;
	margin-top: 15px;
	margin-bottom: 10px;
}

.page_prev {
	list-style: none;
	text-decoration: none;
	font-family: "unlock";
	font-size: 16px;
	font-weight: 700;
	font-style: bold;
	border-radius: 6px;
	border: none;
	padding: 0px 5px;
	margin: 0;
	box-shadow: 0px 1px 2px 1px #6995bb;
	cursor:pointer;
	background: rgba(255,255,255,0.61);
	opacity: 0.8;
}

.page_prev a {
	text-decoration: none;
}

.page_prev:hover {
	transform: scale(1.14);
	transition: transform 0.15s ease-in;
}

.page_prev_inactive {
	list-style: none;
	font-family: "unlock";
	font-size: 16px;
	font-weight: 700;
	font-style: bold;
	border-radius: 6px;
	border: none;
	padding: 0px 5px;
	margin: 0;
	box-shadow: 0px 1px 2px 1px #6995bb;
	background: #d3e2e6;
	opacity: 0.3;
}

.page_prev_inactive a {
	text-decoration: none;
}

.page_next {
	list-style: none;
	text-decoration: none;
	font-family: "unlock";
	font-size: 16px;
	font-weight: 700;
	font-style: bold;
	border-radius: 6px;
	border: none;
	padding: 0px 5px;
	margin: 0;
	box-shadow: 0px 1px 2px 1px #6995bb;
	cursor:pointer;
	background: rgba(255,255,255,0.61);
	opacity: 0.8;
}

.page_next a {
	text-decoration: none;
}

.page_next:hover {
	transform: scale(1.14);
	transition: transform 0.15s ease-in;
}

.page_next_inactive {
	list-style: none;
	font-family: "unlock";
	font-size: 16px;
	font-weight: 700;
	font-style: bold;
	border-radius: 6px;
	border: none;
	padding: 0px 5px;
	margin: 0;
	box-shadow: 0px 1px 2px 1px #6995bb;
	cursor:pointer;
	background: #d3e2e6;
	opacity: 0.3;
}

.page_number {
	border: none;
	border-radius: 9px;
	padding: 7px 7px;
	color: darkorange;
	background: transparent;
	opacity: 0.9;
	font-family: "Nova Square", "serif";
	font-size: 11px;
	font-weight: 700;
	font-style: bold;
	letter-spacing: 3px;
	text-align: center;
}


/******************************
	   	   Menu bar 
*******************************/
.menu_bar {
	min-height: 100px;
	/* background-color: rgba(18,35,53, 0.95); */
	/* box-shadow: 4px 4px 5px #09121c; */
	color: black;
	display: flex;
	justify-content: center;
	/* padding-top: 20px 20px; */
	padding: 0;
	margin: 0;
	align-items: center;
	font-weight: 600;
	overflow: hidden;
	list-style: none;
	border-radius: 10px;
	column-gap: 20px;
	max-width: 799px;
}

.menu_bar li a {
	border: none;
	outline: none;
	list-style: none;
	justify-content: center;
	padding:  10px 20px 10px 40px;
	overflow: hidden;
	position: relative;
	color:	  rgba(255,255,255,0.68);
	border-radius: 10px;
	text-decoration: none;
	font-family: "Nova Square", "serif";
	font-weight: 600;
	/* font-size: 12px; */
	font-size: 0.84rem;
	letter-spacing: 1.05px;
	cursor: pointer;
	/* box-shadow: 4px 4px 5px #09121c, -2px -2px 1px #385f87; */
	box-shadow: 1px 3px 4px rgba(9,18,28,0.25), 2px 6px 4px rgba(0,0,0,0.21),-1px -2px 3px rgba(56,95,135,1);
	filter: brightness(0.95) contrast(1.2);
}

.menu_bar li a:hover {
	background-color: rgba(9,18,28, 0.25);
	/* color: rgba(216,125,19, 1); */
	color: rgba(100, 184, 216, 0.91);
	cursor: pointer;
}

.menu_bar_selected li a{
	border: none;
	outline: none;
	list-style: none;
	justify-content: center;
	padding:  10px 20px 10px 40px;
	overflow: hidden;
	position: relative;
	/* background-color: rgba(19,44,67,0.6); color:	  rgba(255,255,255,0.68); */
	border-radius: 10px;
	text-decoration: none;
	font-family: "Nova Square", "serif";
	font-weight: 600;
	/* font-size: 12px; */
	font-size: 0.84rem;
	letter-spacing: 1.05px;
	cursor: pointer;
	/* box-shadow: 4px 4px 5px #09121c, -2px -2px 1px #385f87; */
	box-shadow: 1px 3px 4px rgba(9,18,28,0.25), 2px 6px 4px rgba(0,0,0,0.21),-1px -2px 3px rgba(56,95,135,1);
	background-color: rgba(9,18,28, 0.25);
	color: rgba(100, 184, 216, 0.91);
}

.menu_bar_selected li a:hover {
	/* background-color: transparent; color: darkorange; */
	/* background-color: rgba(19,44,67,0.6); color:	  rgba(255,255,255,0.68); */
	background-color: rgba(9,18,28, 0.25);
	color: rgba(100, 184, 216, 0.91);
}

/** 2025/12 Update with Xmas **/
.menubar_icon {
	position: absolute;
	top: 6px;
	left: 8px;
	border: 0;
	outline: 0;
	margin: 0;
	padding: 0;
	opacity: 0.84;
	transform: scale(0.84);
}

/* Social media links */

.social_media_links {
	display: flex;
	flex-direction: column;
	row-gap: 21px;
	position: fixed;
	right: 15%;
	top: 40%;
	padding: 15px 15px;
	border-radius: 12px;
	background: rgb(9,78,121);
	background: linear-gradient(180deg, rgba(9,78,121,1) 15%, rgba(46,116,130,1) 91%);
	border: none;
	box-shadow: 2px 1px 4px #ade8e7;
}

.social_media_links a img {
	width: 37px;
	height: 37px;

}

.social_media_links a img:hover {
	transform: scale(1.2);
	
}


/******************************
 	  Blog Section 
*******************************/
.cover_img_blog {
	display: flex;
	justify-content: right;
	margin-right: 20vw;
}

.cover_img_blog {
	opacity: 0.61;
}

.container_blog {
	position: static;
	/* background: linear-gradient(rgb(215,211,208), rgb(219,210,193), rgb(216,142,83)); */
	background: linear-gradient(#19314b, #162233, #101e2d);
	box-shadow: 6px 0px 0px 4px rgba(64,165,183,0.1);
	/* height:87vh; */
	height: 100vh;
	margin: 0;
	border-radius: 9px;
	border: 0;
	/* padding: 15px 10px 0px 10px; */
	max-width: 799px;
	filter: brightness(1.14);
}

.point_before_post_insertion {
	height: 55px;
}

.post {
	padding: 10px 0 30px 0;
}

.post_header{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	margin-left: 18%;
	column-gap: 15px;
}

.post_date {
	margin-left: auto;
	margin-right: 30px;
}

.post_date p {
	padding: 4px 15px;
	margin-top: 0;
	margin-bottom: 0;
	border-radius: 8px;
	font-family: "Nova Square", "Sans", "serif";
	font-size: 0.70rem;
	font-weight: 600;
	letter-spacing: 1.2px;
	color: darkorange;
	background: rgba(0,0,0,0.18);
	text-shadow: 0px 2px 2px rgba(10,24,40,1);/* #0a1828; */
}

.post_title {
	font-family: "Nova Square", "Sans", "serif";
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.2px;
	word-spacing: 1.12px;
	padding: 0;
	display: flex;
	justify-content: center;
	margin-left: auto;
	color: rgba(100,184,216, 0.71);
	text-shadow: 0px 4px 3px rgba(10,24,40,1);/* #0a1828; */
	filter: brightness(1.1) contrast(1.2);
}

.post_title::selection {
	background-color: rgba(0,0,0,0.30);
	filter: brightness(1.1) contrast(1.2);
}

.post_body {
	position: relative;
	overflow: hidden;
	object-fit: cover;
	height: auto;
	padding: 5px;
	margin: 15px;
	color:		rgba(255,255,255,0.81);
	background: rgba(0,0,0,0.14);
	opacity:    0.91;
	border-radius: 20px;
	box-shadow: inset 1px 1px 3px rgba(84,133,172,0.31), 3px 3px 4px #0a1828;
}

.internal {
	display: grid;
	grid-template-columns: 0.4fr 1fr;
	padding: 20px 30px 20px 30px;
	height: 210px;
	column-gap: 30px;
}

.post_body_content {
	height: 150px;
	padding-top: 30px;
	box-sizing: border-box;
	text-shadow: 0px 2px 1px rgba(0,0,0,0.30);
	font-family: "Roboto", "serif";
	font-weight: 600;
	font-size:   12px;
	text-align: justify;
	text-justify: inter-character;
	word-spacing: 1.23px;
	letter-spacing: 1.18;
	line-height: 1.7;
	position: relative;
	overflow: hidden;
}

.post_body_content::selection {
	background-color: rgba(0,0,0,0.14);
}


.thumbnail {
	margin: 0;
	padding: 0;
	padding-top: 5px;
	aspect-ratio: 1 / 1;
	border-radius: 10%;
	width=201;
	height=auto;
}

.post_cont_symbol {
	font-family: "Ubuntu", "serif";
	font-weight: 400;
	font-size:   16px;
	color: white;
	letter-spacing: 2;
	text-align: left;
	position: fixed;
	top: 80%;
	left: 35%;
}


/** This is the button in blog posts, that allows for zooming **/

.post_body button {
	position: absolute;
	bottom: 15;
	right: 15;
	width: 18px;
	height: 18px;
	margin-left: 24px;
	padding: 3px;
	border-radius: 10px;
	border: none;
	background-color: black;
	color: cyan;
	box-shadow: 2px 1px 2px #3b5979;
	font-weight: 500;
	transform: scale(1.1);
	transition: transform 0.15s ease;
}

.post_body button:hover {
	color: darkorange;
	box-shadow: 2px 1px 2px #b56e12;
	transform: scale(1.25);
	transition: transform 0.21 ease-out;
}

.blog_post_zoomed {
	display: none;
	position: fixed;
	z-index: 21;
	padding: 0;
	margin:  0;
	top: 0;
	left: 10vw;
	min-width: 70vw;
	width: 80vw;
	height: 100vh;
	border-radius: 15px;
	overflow: auto;
	background: rgba(10,10,10,0.91);
	/*background:linear-gradient(10deg,rgba(2, 10, 19, 1)1%,rgba(6, 20, 33, 1) 51%,rgba(2, 10, 19, 1) 100%);*/
	/* background-color: rgba(8,21,31,0.91); */
	/* box-shadow: inset 2px 2px 3px rgba(20,48,70,1), 5px 5px 21px rgba(0,0,0,0.74); */
	/* box-shadow: inset 2px 0 0 4px rgba(20,47,74,0.91), 0 10px 40px rgba(0,0,0,0.3);*/
	/* box-shadow: 1px 8px 11px -3px rgba(153, 170, 245, 0.74);*/

	/* Creates professional, multi-layered depth, custom edit, original src was deepseek */
	box-shadow:
	  0 1px 3px rgba(153, 170, 245, 0.12),      /* Subtle inner glow */
	  1px 8px 20px -3px rgba(153, 170, 245, 0.74), /* Your existing shadow */
	  0 15px 40px rgba(153, 170, 245, 0.2);      /* Large outer spread */

	opacity: 1;
	overflow-x: hidden;
	overflow-y: hidden;
}

.blog_post_zoomed_opened {
	transform: scale(1);
	visibility: visible;
	opacity: 1;
	transition: animation 0.24s ease-in,
				opacity   0.24s ease-in,
				transform 0.24s ease-in,
				visibility 0s ease-in 0s;
}

.blog_post_zoomed_closed {
	transform: scale(0);
	visibility: hidden;
	opacity: 0;
	transition: animation 0.24s ease-out,
				opacity   0.24s ease-out,
				transform 0.24s ease-out,
				visibility 0s ease-out 0.24s;
}

.blog_post_zoomed button {
	position: absolute;
	right: 24px;
	font-family: "Unlock";
	font-size: 15px;
	font-weight: 700;
	font-style: bold;
	border-radius: 6px;
	padding: 4px 6px;
	margin-bottom: 20px;
	margin-top: 20px;
	cursor:pointer;
	background-color: rgba(0,0,0,0.15);
	color: rgba(255,255,255,0.64);

	opacity: 0.70;
	z-index: 22;
	transform: scale(0.8);
	transition: transform 0.15s ease;
}

.blog_post_zoomed button:hover {
	transform: scale(0.9);
	color: darkorange;
	transition: transform 0.21 ease-out;
}

#zoomed_post_title {
	width: 100%;
	padding: 50px 0 0 0;
	margin: 0;
	margin-left: 10px;
	margin-right: 10px;
	text-align: center;
	font-family: "Ubuntu", "serif";
	font-size: 15px;
	font-weight: 600;
	word-spacing: 1.3px;
	letter-spacing: 1.3;
	color: rgba(100,184,216, 0.91);
}

/* id=zoomed_content */
#zoomed_content {
	display: block;
	position: relative;
	height: 81vh;
	border:none;
	outline:none;
	padding: 20px 3vw 30px 3vw;
	color:	 rgba(255,255,255, 0.91);
	opacity: 1;
	font-family: "Roboto", "serif";
	font-size: 14px;
	font-weight: 500;
	white-space: pre-line;
	line-height: 1.5;
	text-align: justify;
	text-justify: inter-character;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	background: transparent;
	min-height: 80vh;
	min-width:  68vw;
	align-items: center;
	margin-top: 61px;
	margin-left: 6vw; 
	margin-right: 10vw;
	margin-bottom: 20px;
	align-items: center;
	z-index: 23;
	opacity: 1;
	overflow-y: auto;
	overflow-wrap: break-word;
	filter: brightness(0.84) contrast(1.1);
}


/************************************
	   Project section 
************************************/
.cover_project {
	display: flex;
	justify-content: center;
	padding: 50px 0px 80px 0px;
}

.cover_project img {
	width: 290px;
	height: 180px;
	opacity: 0.88;
	border-radius: 9px;

}

#cover2 {
  	filter: hue-rotate(-160deg) saturate(1.8) brightness(0.84) contrast(1.1);
	animation: flashofred 24s linear infinite;
}

@keyframes flashofred {
	0% {
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 5% {
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);

	} 10%{
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);

	} 15% {
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);

	} 20%{
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);

	} 25%{
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 30%{
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 35%{
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 40%{
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 45%{
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 50%{
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 55%{
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 60%{
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 65%{
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 70% {
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 75% {
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 80% {
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 85% {
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	
	} 90% {
		filter: hue-rotate(-160deg) saturate(1.4) contrast(1.1) brightness(0.75);
	
	} 95% {
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);

	} 100% {
		filter: hue-rotate(-170deg) saturate(1.8) contrast(1.1) brightness(0.9);
	}
}


.container_project {
	background: linear-gradient(#19314b, #162233, #101e2d);
	box-shadow: 6px 0px 0px 4px rgba(64,165,183,0.1), inset 25px 0px 30px 0px rgba(148,208,220,0.05), 
				inset 35px 0px 30px 0px rgba(148,208,220,0.02), inset 55px 0px 90px 0px rgba(148,208,220,0.01);
	border: 0;
	border-radius: 9px;
	min-height: 40vh;
	align-items: center;
	height: 100vh;
	max-width: 799px;
	position: relative;
}

.project_item {
	display: flex;
	justify-content: center;
	padding-bottom: 30px;
}

.project_item a img {
	background-image: url('assets/projects/brushed_metal_light.png');
	width: 360px;
	height: 126px;
	border-radius: 15px; 
	border:none;
	transition: transform 0.15s ease;
	box-shadow: 2px 2px 4px #6995bb;
	filter: brightness(0.78) drop-shadow(12px 12px 12px rgba(0,0,0,0.41));
}

.project_item a img:hover {
	background-image: url('assets/projects/brushed_metal_light_selected.png');
	transform: scale(1.04);
	filter: brightness(0.81);

}

/*********************************************************************
 **                             Theme: Xmas 1 						** 
 *********************************************************************/
/** Last Updated: 2025/12 **/

/** Comment: Overriding default themes, no need to add classes **/ 

.body {
	background: #000000;
	background: linear-gradient(90deg, rgba(10, 10, 10, 1) 0%, rgba(21, 21, 31, 1) 10%, rgba(31, 31, 51, 1) 21%,    			rgba(31, 31, 51, 1) 81%, rgba(21, 21, 31, 1) 91%, rgba(10, 10, 10, 1) 100%);
} 

.container_blog {
	background: rgba(10,10,10,0.91);
	box-shadow: 6px 0px 0px 4px rgba(0,0,0,0.21);
}

.post_title {
	color: rgba(207,48,37, 0.91);
	text-shadow: 0px 4px 3px rgba(10,24,40,1);/* #0a1828; */
}


.container_project {
	background: rgba(10,10,10,0.91);
	box-shadow: 6px 0px 0px 4px rgba(0,0,0,0.21);
	
	/*
	box-shadow: 6px 0px 0px 4px rgba(64,165,183,0.1), inset 25px 0px 30px 0px rgba(148,208,220,0.05), 
				inset 35px 0px 30px 0px rgba(148,208,220,0.02), inset 55px 0px 90px 0px rgba(148,208,220,0.01);*/

}

.project_item a img {
	/* filter: saturate(1.2) sepia(0.3) hue-rotate(-30deg) contrast(1.2) brightness(0.8);*/
	
  	filter: hue-rotate(-30deg) saturate(1.8) brightness(0.8) contrast(1.1);
}

.project_item a img:hover {
  	filter: hue-rotate(-30deg) saturate(1.8) brightness(0.84) contrast(1.1);
}

.cover_img_xmas {
  	filter: hue-rotate(-30deg) saturate(1.8) brightness(0.84) contrast(1.1);
}

.blog_post_zoomed {
	background: rgba(10,10,10,0.91);
}

#zoomed_post_title {
	color: rgba(207,48,37, 1);
}


/******* Custom widgets / animations unrelated to original theme *******/ 

.giftbox {
	width: 30px;
	height: 30px;
	position: absolute;
	left: 15%;
	top:  34px;
}

.frost_img {
	width: 48px;
	height: 48px;
	transform: scale(0.3);
}

.img_btn:hover {
	transform: scale(1.3);
	transition: transform 0.210s cubic-bezier(0.4, 0, 0.1, 0.6, 0.1);
	/* background-image: url('assets/'); */
}

.snow_effect1 {
	position: absolute;
	color: white;
	opacity: 0;
}

.snow_effect2 {
	position: absolute;
	color: cyan;
	opacity: 0;
}

.animation1 {
	animation: snowfall_topright 16s linear infinite;
	right: -10px;
	top:   0;
	/* animation-delay: 6s;*/
}

.animation2 {
	animation: snowfall_topcenter 8s linear infinite;
	right: 30vw;
	top:   0px;
	animation-delay: 2s;
}

.animation3 {
	animation: snowfall_topcenter 6s linear infinite;
	right: 15vw;
	top:   0px;
	animation-delay: 10s;
}

.animation4 {
	animation: snowfall_topleft 9s linear infinite;
	right: 49vw;
	top:   0;
}

@keyframes snowfall_topright {
	0% {
		opacity: 0.5;
		transform: scale(0.6) translateX(0) translateY(0);
	
	} 10% {
		transform: scale(1.3) translateX(-10vw) translateY(15vh);

	} 12%{
		opacity: 0.9;

	} 14% {
		opacity: 0;
		transform: translateX(-15vw) translateY(21vh);
	}
}

@keyframes snowfall_topright_mobile {
	0% {
		opacity: 0.9;
		transform: scale(0.9) translateX(0) translateY(0);
	
	} 10% {
		transform: scale(1.3) translateX(-20vw) translateY(15vh);

	} 12%{
		opacity: 0.7;

	} 14% {
		opacity: 0;
		transform: translateX(-30vw) translateY(30vh);
	}
}

@keyframes snowfall_topcenter {
	0% {
		opacity: 0.91;
	
		transform: scale(0.61) translateX(0) translateY(0);
	
	} 60% {

		opacity: 0;

	} 100% {

		transform: scale(0.91) translateX(-30vw) translateY(40vh);
		opacity: 0;
	}
}

@keyframes snowfall_topcenter_mobile {
	0% {
		opacity: 0.91;
	
		transform: scale(0.61) translateX(0) translateY(0);
	
	} 60% {

		opacity: 0;

	} 100% {

		transform: scale(0.91) translateX(-60vw) translateY(40vh);
		opacity: 0;
	}
}

@keyframes snowfall_topleft {
	0% {
		opacity: 0.91;
		transform: scale(0.61) translateX(0) translateY(0);
	
	} 25% {
		transform: translateX(-8vw) translateY(8vh);
	} 28% {
		opacity: 0;
		transform: translateX(-14vw) translateY(14vh);
	} 
}

@keyframes snowfall_topleft_mobile {
	0% {
		opacity: 0.91;
		transform: scale(0.61) translateX(0) translateY(0);
	
	} 25% {
		transform: translateX(-20vw) translateY(5vh);
	} 28% {
		opacity: 0;
		transform: translateX(-35vw) translateY(9vh);
	} 
}

/** The merry christmas text @top right **/
.xmas_greeting {
	position: fixed;
	top: 4%;
	right: 7%;
	font-family: "Great Vibes", "Nova Square", "serif";
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1.3;
	color: red;
	z-index: 36;
}

.xmas_icon {
	width: 48px;
	height: 48px;
	opacity: 0.61;
	transform: rotate(34deg) scale(0.81);
}

#logo1 {
	position: fixed;
	top: 0;
	right: 0;
}

.popup {	
	width: 800px;	
	height: 600px;

	/*
	background: linear-gradient(0deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,1) 10% , 
				       hsl(214,71%,21%) 50%, 
					   rgba(0,0,0,1) 90%, rgba(0,0,0,0.90) 100%);
	*/
	background: black;
	opacity: 0.9;

	/* rgba(245, 46, 32, 1) 50%, red */
	/* hsl(4,61%,14%) 50%, red */

	/* rgba(50,100,50,0.90) 50%, green */
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 9px;
	z-index: 35;
	transform: translateX(-50%) translateY(-50%);
	box-shadow: 2px 2px 4px rgba(255,255,255,0.20), 3px 3px 4px rgba(255,255,255,0.21);
	display: none;
}

#xmas_gift_popup {
	display: block;
	background: linear-gradient(0deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,1) 10% , 
				       hsl(245, 46, 32, 1) 50%, 
					   rgba(0,0,0,1) 90%, rgba(0,0,0,0.90) 100%);

}

.close_btn {
	outline: 0;
	margin: 0;
	border: 0;
	border-radius: 30%;
	padding: 0;
	padding: 5px;
	position: absolute;
	right: 10px;
	top: 10px;
	font-family: "Source Sans", "serif";
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 1.23px;
	background: transparent;
	color: white;
	box-shadow: 2px 2px 4px rgba(255,255,255,0.30), inset 2px 2px 4px rgba(255,255,255,0.15);
}

.close_btn:hover {
	transform: scale(1.05);
}

.chest_container {
	display: flex;
	flex-direction: row;
	column-gap: 64px;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.puzzle_icon {
	width: 64px;
	height: 64px;
	transition: transform 0.141s ease;
	opacity: 0.84;
	transform: scale(0.61);
	filter: brightness(0.71) contrast(1.6) drop-shadow(2px 2px 4px rgba(0,0,0,0.81));
	z-index: 37;
}

.puzzle_icon:hover {
	transform: scale(0.64);
	opacity: 1;
	filter: brightness(0.8) contrast(1);
}

.chest_desc {
	position: absolute;
	left: 25px;
	top: 40%;
	column-gap: 15px;
	display: flex;
	flex-direction: row;
	display: flex;
	justify-content: center;
}

.treasure_desc {
	color: white;
	background-color: green;
	width: 80px;
	height: 160px;
	border-radius: 5px;
	font-family: "Nova Square", "serif";
	font-size: 12px;
	font-weight: 700;
	padding: 0;
	padding-left: 6px;
	padding-top: 15px;
	line-height: 2.5;
	letter-spacing: 1.15;
}


.puzzle_container {
	display: none;
	flex-direction: row;
	column-gap: 64px;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.field_header {
	font-family: "Nova Square", "serif";
	font-size: 12px;
	font-weight: 600;
	color: red;
}

.field_data {
	font-family: "Nova Square", "serif";
	font-size: 12px;
	font-weight: 400;
	color: rgba(255,255,255,0.81);
}

.puzzle_row1 {
	display: flex;
	flex-direction: row;
	margin: 0;
	margin-top: 20px;
	margin-left: 30px;
	justify-content: left;
	column-gap: 20px;
}

.puzzle_row2 {
	display: flex;
	flex-direction: column;
	margin: 21px 15px 10px 15px;
	justify-content: left;
	column-gap: 40px;
	color: black;
}

.bounded_text {
	margin: 0;
	margin-top: 5px;
	padding: 10px;
	border: 1px solid rba(255,255,255,0.61);
	box-shadow: inset 1px 1px 2px rgba(255,255,255,0.21), 1px 1px 2px rgba(0,0,0,0.51);
	min-height: 210px;
	border-radius: 9px;
	overflow-y: auto;
}


.copyright_footer {
	position: absolute;
	bottom: 12px;
	left: 50%;
	font-family: "PT Mono", "Source Sans", "serif";
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 1.14;
	transform: translateX(-50%);
	padding: 7px 0px;
	width: 100%;
	background-color: rgba(255,255,255,0.02);
	color: rgba(255,255,255,0.61);
	text-align: center;
}

.text_centered {
	text-align: center;
}

.link_container {
	max-width: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 2px;
	border: 1px solid rgba(207,48,37, 0.91);
	border-radius: 9px;
	padding: 5px 10px;
	color: rgba(207,48,37, 0.91);
	/* box-shadow: 2px 2px 4px rgba(207,48,37, 0.91), 4px 4px 6px (0,0,0,0.10); */
	box-shadow: inset 1px 1px 2px rgba(255,255,255,0.21), 1px 1px 2px rgba(0,0,0,0.51);
	font-family: "Roboto", "serif";
	font-weight: 600;
	font-size: 12px;
	text-decoration: none;
	text-align: center;

}

.link_container img {
	width: 24px;
	height: 24px;
}

.links_url {
	cursor: pointer;
	
}


/************************** End of Xmas Theme **********************/


/******************************
	Mobile view optimization
*******************************/

/** Menu bar (tiling vertically) **/
@media (min-width: 350px) and (max-width: 649px){

	/* Aligning menu bar as vertical columns */
	.menu_bar {
		margin: 0;
		padding: 15px 0px 8px 0px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		row-gap: 15px;
	}

	.menu_bar li {
		min-width: 121px;
		max-width: 121px;
		width: 100%;
		padding: 0;
		margin: 0;
	}

	.menu_bar li a {
		display: block;
		box-sizing: border-box;
		min-width: 121px;
		max-width: 121px;
		width: 100%;
		padding-left: 25px;
		padding-right: 5px;
		text-align: center;
	}

	.menu_bar_selected li {
		max-width: 121px;
		width: 100%;
		padding: 0;
		padding-left: 5px;
		padding-right: 5px;
		margin: 0;
		cursor: default;
	}

	.menu_bar_selected li a {
		display: block;
		box-sizing: border-box;
		min-width: 121px;
		max-width: 121px;
		padding-left: 25px;
		width: 100%;
		text-align: center;
		cursor: default;
	}

	/** 2025/12 Update with Xmas **/
	.menubar_icon {
		top: 6px;
		left: 10%;
	}

}


/* Blog, Project */
@media (min-width: 350px) and (max-width: 799px){

	/** Blog section **/
	.container_blog {
		max-width: 799px;
		width: 100vw;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}

	#msg1 {
		display: none;	
	}
	#msg2 {
		display: none;	
	}
	#msg3 {
		display: none;	
	}
	#msg4 {
		display: none;	
	}

	.point_before_post_insertion {
		height: 25px;
	}

	.post{
		padding: 10px 0 15px 0;	
	}

	.blog_post_zoomed {
		background:linear-gradient(10deg,rgba(2, 10, 19, 1)1%,rgba(6, 20, 33, 1) 51%,rgba(2, 10, 19, 1) 100%);
		left: 0;
		width: 100vw;
		margin: 0;
	}

	#zoomed_post_title {
		padding-top: 70px;	
		font-size: 15px;
	}

	#zoomed_content {
		font-size: 13px;
		margin-left: 10px;
		margin-right: 10px;
		line-height: 1.6;
	}

	/** Projects section **/

	.container_project {
		max-width: 799px;
		width: 100%;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.cover_project img {
		width: 232px;
		height: 144px;
	}

	.project_item a img {
		width: 95vw;
		height: 14vh;
		width: 344px;
		height: 120px;
	}

	.xmas_greeting {
		top: 16%;
		left: 34%;
	}

	#logo1 {
		top: 16%;
		left: 20%;
		transform: rotate(94deg) ;
		display: none;
	}

	.animation1 {
		animation: snowfall_topright_mobile 16s linear infinite;
	}

	.animation2 {
		animation: snowfall_topcenter_mobile 4s linear infinite;
		animation-delay: 2s;
	}

	#snow3 {
		display: none;
	}

	.animation4 {
		animation: snowfall_topleft_mobile 9s linear infinite;
	}

	.internal {
		padding: 5px;
		padding-top: 10px;
		/* grid-template-columns: 1fr 1fr; */
		display: flex;
		justify-content: center;
		height: 210px;
		column-gap: 8px;
	}

	/** .thumbnail **/
	.internal img {
		width: 250px;	
		height: 250px;
	}


	.post_title {
		font-size:   12px;
	}

	.pagination {
		margin-bottom: 25px;
	}

	.post_body_content { 
		display: none;
	}

	/** Xmas Update 2025/12 **/
	.blog_post_zoomed {
		background: rgba(10,10,10,0.91);
		box-shadow: inset 2px 2px 6px rgba(255,255,255,0.10), 5px 5px 15px rgba(255,255,255,0.10);
	}

}

@media (min-width: 800px) {

	/* Blog section */
	.container_blog {
		width: 799px;
	}

	/* Project section */
	.container_project {
		width: 799px;
	}

}

