/*
--------------------
TABLE OF CONTENTS

1. MAIN
2. MENU
3. BREADCRUMBS
4. CONTENT
5. ABOUT
6. FOOTER
7. CAROUSEL
8. RESPONSIVE
---------------------
*/


/*
-----------------------
1. MAIN
-----------------------
*/


body {
	color: #E0E0E0;
	background-image: url("imgs/unicode.png");
	background-repeat: repeat;
	font-size: 16px;
}

body table {
	width: 100%;
	border-collapse: collapse;
}

body table th,
body table td {
	border: 1px solid black;
	padding: 8px;
	text-align: left;
}

body button {
	background-color: #333;
	color: #E0E0E0;
	margin: 5px;
	padding: 8px;
}

.page-layout {
	width: 90%;
	max-width: 1200px;
	min-width: 300px;
	margin: 0 auto;
}

.banner-box {
	width: 100%;
	height: 324px;
	margin: 0 auto;
	overflow: hidden;
}

.banner-image {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	object-fit: contain;
}

.welcome-box {
	background-color: #1A1A1A;
	color: #E0E0E0;
	border-radius: 10px;
	padding: 20px;
	margin: 20px auto;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.welcome-box h1 {
	font-size: 2rem;
	color: #FF4C29;
}

.welcome-box p {
	font-size: 1rem;
	color: #E0E0E0;
}

.welcome-box a:hover {
	color: #C4F074;
}

.cz-flag {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    cursor: pointer;
    z-index: 1000;
    margin-bottom: 5px;
}

.cz-message {
    display: none;
    position: fixed;
    bottom: 64px;
    right: 16px;
    max-width: 280px;
    background-color: #222;
    color: white;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    font-size: 14px;
    z-index: 999;
}

.cz-message a {
    color: #66ccff;
    text-decoration: underline;
}

/*
-----------------------
2. MENU
-----------------------
*/


.sections-main {
	display: flex;
	justify-content: space-around;
	margin: 10px;
}

.box {
	background-color: #1A1A1A;
	color: #E0E0E0;
	border: 2px solid #2C6E49;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	margin: 10px;
	min-height: auto;
}

.box:hover,
.box.active {
	background-color: #222222;
	border-color: #1B4D3A;
	color: #FFF;
}


.box .icon {
	width: 50px;
	height: 50px;
	object-fit: contain;
	margin-bottom: 10px;
}

.box .title {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 10px;
	color: #4CAF50;
}

.box .description {
	font-size: 0.9em;
	color: #E0E0E0;
}

/*
-----------------------
3. BREADCRUMBS
-----------------------
*/

.breadcrumbs {
	background-color: #1E1E1E;
	color: #B3B3B3;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 20px;
}

.breadcrumbs a {
	color: #A4A4A4;
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: #FF4C29;
	border-bottom: 2px solid #FF6E47;
}


.current-crumb {
	color: #ffffff;
	font-weight: bold;
	cursor: default;
}


/*
-----------------------
4. CONTENT
-----------------------
*/


.content-box {
	padding: 20px;
	margin: 20px;
	background-color: #1A1A1A;
	color: #E0E0E0;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.content-box a {
	color: #FF8800;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

.content-box a:hover {
	color: #E05C30;
	border-bottom: 2px solid #FF6E47;
}

.content-box exp {
	font-style: italic;
	color: #FFB74D;
}

.content-box quote {
	display: block;
	color: #A5D6A7;
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 10px;
}

.content-box br {
	display: block;
	margin-top: 10px;
}

.content-box ul {
	list-style: none;
	padding-left: 1.5em;
}

.list li {
	content: "•";
	color: #FF8800;
	font-weight: bold;
	padding-right: 8px;
}

.content-box li::before {
	content: "•";
	color: #FF8800;
	font-weight: bold;
	padding-right: 8px;
}

.list li:hover {
	background-color: rgba(255, 136, 0, 0.2);
	border-radius: 5px;
	padding: 2px 5px;
}

.center-text {
	display: block;
	text-align: center;
}

h1 {
	text-align: center;
	font-size: 2.5rem;
	color: #D6B87B;
}

.category h2 {
	margin-top: 20px;
	font-size: 1.8rem;
	color: #4CAF50;
	border-bottom: 2px solid #4CAF50;
	padding-bottom: 5px;
}

.items-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-start;
}

.item {
	flex: 1 1 calc(30% - 15px);
	background-color: #262626;
	border: 2px solid #333;
	border-radius: 8px;
	min-width: 200px;
	max-width: 300px;
	padding: 10px;
	color: #3B7A57;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

.item img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
}

.item h3 {
	margin: 10px 0 5px;
	font-size: 1.2rem;
	color: #3B7A57;
}

.item p {
	font-size: 0.9rem;
	color: #E0E0E0;
}

.item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

.download-section {
	display: flex;
	justify-content: left;
	gap: 30px;
	flex-wrap: wrap;
}

.download {
	display: block;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 10em;
}

.download-icon {
	width: 5em;
	height: 5em;
	object-fit: contain;
	margin-bottom: 5px;
}

/*
-----------------------
5. ABOUT
-----------------------
*/


.profile-section {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	margin: 20px 0;
	width: 100%;
}

.profile-photo {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	border: 4px solid #3B7A57;
	margin-bottom: 10px;
	display: block;
}

.about-me {
	margin-top: 10px;
	margin-left: 40px;
	flex: 1;
	font-size: 1.2em;
}

.skills-section {
	text-align: center;
	margin: 20px 0;
}

.skills-container {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.skill-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 80px;
}

.skill-icon {
	width: 50px;
	height: 50px;
	object-fit: contain;
	margin-bottom: 5px;
}


/*
-----------------------
6. FOOTER
-----------------------
*/


.footer {
	background-color: #1E1E1E;
	color: #B3B3B3;
	text-align: center;
	padding: 20px;
	border-top: 2px solid #2C6E49;
}

.footer a {
	color: #A4A4A4;
	text-decoration: none;
}

.footer a:hover {
	color: #A4A4A4;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}


/*
-----------------------
7. CAROUSEL
-----------------------
*/


.carousel-container {
    text-align: center;
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
	max-height: auto;
}

.carousel-images {
	display: flex;
	transition: transform 0.3s ease-in-out;
}

.carousel-image {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: none;
}

.carousel-image.active {
	display: block;
}

.carousel-caption {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.controls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}

.controls button {
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	font-size: 18px;
	transition: background-color 0.3s ease;
}

.controls button:hover {
	background-color: rgba(0, 0, 0, 0.8);
}


/*
-----------------------
8. Terminal Code UI
-----------------------
*/

.terminal-window {
	width: 100%;
	max-width: 100%;
	background-color: #1A1A1A;
	color: #E0E0E0;
	border-radius: 5px;
	max-width: 100%;
	font-family: 'Courier New', monospace;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.terminal-header {
	background-color: #333;
	padding: 5px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.terminal-title {
	color: #4CAF50;
	font-weight: bold;
}

.buttons span {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 5px;
}

.red {
	background: #ff5f56;
}

.yellow {
	background: #ffbd2e;
}

.green {
	background: #27c93f;
}

pre {
	padding: 10px;
	margin: 0;
	overflow-x: auto;
	white-space: pre-wrap;
	background: #000;
	color: #0F0;
}

.copy-btn {
	background: #4CAF50;
	color: #FFF;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	font-size: 14px;
}

.copy-btn:hover {
	background: #388E3C;
}

/*
-----------------------
9. RESPONSIVE
-----------------------
*/


@media (max-width: 1024px) {
	.page-layout {
		width: 90%;
	}
}

@media (max-width: 768px) {
	.page-layout {
		width: 95%;
	}
}

@media (max-width: 768px) {
	.sections-main {
		flex-wrap: wrap;
	}

	.items {
		flex-wrap: wrap;
	}
}

@media (max-width: 768px) {
	.profile-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.profile-photo {
		margin-bottom: 15px;
		/* Add spacing between image and text */
	}

	.about-me {
		margin-left: 0;
		/* Remove left margin for centering */
		text-align: center;
	}
}


@media (max-width: 600px) {
	.carousel-container {
		height: auto;
	}

	.carousel-image {
		object-fit: contain;
	}
}