@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

/* * {
  outline: 1px solid red;
} */

/* * {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
} */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.99);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.fade-in {
	animation: fadeIn 0.25s ease;
}

body {
	background-color: rgb(18, 18, 18);
	font-family: "Montserrat", Arial;
	color: rgb(255, 255, 255);
}

main {
	max-width: 75rem;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	column-gap: 20px;
	margin: 5rem auto 4rem auto;
	justify-content: center;
}

ion-icon {
	--ionicon-stroke-width: 50px;
}

address {
	font-size: 14px;
	font-style: normal;
}

/* .side-bar * {
  outline: 1px dashed yellow;
} */

.side-bar {
	display: flex;
	flex-direction: column;
	row-gap: 50px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	height: max-content;
	top: 60px;
	max-height: max-content;
	background-color: rgb(30, 30, 31);
	border: 1px solid rgb(56, 56, 56);
	border-radius: 20px;
	padding: 50px 30px 30px 30px;
	position: sticky;
}

/* .main-content * {
  outline: 1px dashed red;
} */

.main-content {
	display: block;
	flex: 1;
	background-color: rgb(30, 30, 31);
	border: 1px solid rgb(56, 56, 56);
	border-radius: 20px;
	position: relative;
	min-width: 259px;
}

.content-info {
	display: block;
}

.author-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	row-gap: 25px;
	margin: 0px;
	padding: 0px;
}

.author-name {
	margin: 0px 0px 15px 0px;
	align-self: center;
	display: block;
	text-align: center;
	box-sizing: border-box;
	font-size: 26px;
	font-weight: 600;
}

.author-title {
	font-size: 12px;
	font-weight: 500;
	color: rgb(255, 190, 75);
	background-color: rgb(43, 43, 44);
	border-radius: 20px;
	padding: 0.3rem 0.7rem;
	margin: 0 auto;
	max-width: fit-content;
}

.info-item-list {
	list-style-type: none;
	padding: 0;
	margin: 0px 0px 50px 0px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.info-title {
	display: inline-block;
	font-size: 12px;
	margin: 0px 0px 2px 0px;
	color: rgba(214, 214, 214, 0.7);
}

.info-link {
	font-size: 14px;
	color: rgb(255, 255, 255);
	display: inline-block;
	text-decoration: none;
	margin: 0px;
}

.info-item-detail .email {
	overflow-x: hidden;
	text-overflow: ellipsis;
	max-width: 90%;
}

.info-item {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	width: 100%;
	max-width: 235px;
	margin-bottom: 20px;
}

.info-item-detail {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	min-width: 0px;
}

.info-icon {
	background-color: rgb(35, 35, 35);
	color: rgb(255, 190, 75);
	display: flex;
	flex-shrink: 0;
	height: 48px;
	width: 48px;
	border-radius: 12px;
	box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.125);
	font-size: 18px;
	align-items: center;
	justify-content: center;
}

/* .personal-info * {
  outline: 1px dashed blue;
} */

.personal-info {
	display: block;
	margin: 0px;
	padding: 0px;
}

.social-list {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	column-gap: 16px;
	margin: 0px;
	justify-content: center;
	align-items: center;
	padding: 0px;
}

.social-link {
	color: rgba(214, 214, 214, 0.7);
	text-decoration: none;
	font-size: 18px;
}

.avatar-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	background-color: rgb(55, 55, 55);
	border: 0.8px solid rgb(70, 70, 70);
	border-radius: 1.8rem;
}

.avatar-box img {
	display: block;
	box-sizing: border-box;
	width: 150px;
}

.nav-bar {
	--glass-light: rgba(18, 18, 18, 0.7);
	--glass-dark: rgba(0, 0, 0, 0.2);
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: fit-content;
	padding: 14px;
	border-radius: 9999px;
	backdrop-filter: blur(10px) saturate(180%);
	-webkit-backdrop-filter: blur(10px) saturate(180%);
	background: rgba(255, 255, 255, 0.1);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		inset 0 0 0 1px rgba(150, 150, 150, 0.5),
		inset 1.5px 2px 0px -2px rgba(150, 150, 150, 0.5),
		inset -1.5px -2px 0px -2px rgba(150, 150, 150, 0.5),
		inset -1px 2px 4px -1px rgba(0, 0, 0, 0.5),
		0 10px 30px rgba(0, 0, 0, 0.05);
}

/* NAV LIST */

.nav-bar-list {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* NAV BUTTON */

.nav-bar-link {
	border: none;
	outline: none;
	padding: 8px 14px;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	letter-spacing: 0.05rem;
	font-size: 13px;
	font-weight: 600;
	border-radius: 9999px;
	background: transparent;
	cursor: pointer;
	transition: all 0.25s ease;
}

/* HOVER */

.nav-bar-link:hover {
	background: transparent;
	backdrop-filter: blur(10px) saturate(180%);
	box-shadow:
		inset 0 0 0 1px rgba(150, 150, 150, 0.5),
		inset 1.5px 2px 0px -2px rgba(150, 150, 150, 0.5),
		inset -1.5px -2px 0px -2px rgba(150, 150, 150, 0.5);
}

/* ACTIVE TAB */

.nav-bar-link.active {
	background: transparent;
	backdrop-filter: blur(10px) saturate(180%);
	color: rgb(255, 255, 255);
	box-shadow:
		inset 0 0 0 1px rgba(125, 125, 125, 0.5),
		inset 1.5px 2px 0px -2px rgba(125, 125, 125, 0.5),
		inset -1.5px -2px 0px -2px rgba(125, 125, 125, 0.5),
		0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-title {
	display: block;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 20px 0px;
	font-size: 32px;
	color: rgb(250, 250, 250);
	position: relative;
}

.page-title::after {
	content: "";
	display: block;
	width: 35px;
	height: 6px;
	background: rgb(255, 190, 75);
	border-radius: 3px;
	margin: 0px;
}

#about,
#resume,
#portfolio,
#contact {
	margin: 0px;
	padding: 30px;
}

#portfolio a {
	text-decoration: none;
	color: rgb(255, 255, 255);
}

.about-text p {
	margin: 0px 0px 16px 0px;
	font-size: 15px;
	color: rgb(225, 225, 225);
}

.about-text {
	margin: 0px 0px 40px 0px;
}

.service {
	margin: 0px;
}

.service-title {
	font-size: 24px;
	margin: 0px 0px 20px 0px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	row-gap: 20px;
	column-gap: 20px;
	justify-content: space-evenly;
}

.service-item-box {
	background-color: rgb(35, 35, 35);
	display: flex;
	border-radius: 12px;
	box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.125);
	font-size: 18px;
	align-items: center;
	justify-content: stretch;
	flex-direction: row;
	column-gap: 16px;
	text-align: left;
	padding: 30px;
	flex-wrap: nowrap;
}

.service-item-detail p {
	margin: 0;
}

.service-item-title {
	font-size: 18px;
	font-weight: 700;
}

.service-item-description {
	font-size: 15px;
	color: rgb(220, 220, 220);
}

.hidden {
	display: none;
}

.timeline-title-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}

.timeline-icon-box {
	background-color: rgb(35, 35, 35);
	color: rgb(255, 190, 75);
	display: flex;
	height: 48px;
	width: 48px;
	border-radius: 12px;
	box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.125);
	font-size: 18px;
	align-items: center;
	justify-content: center;
}

.timeline-title {
	font-size: 24px;
	display: block;
}

.timeline {
	margin-bottom: 30px;
}

.timeline-list {
	display: flex;
	flex-direction: column;
	list-style-type: none;
}

.timeline-item-title {
	margin: 0px 0px 7px 0px;
	color: rgb(245, 245, 245);
	font-weight: 600;
	font-size: 16px;
}

.timeline-item-text {
	margin: 0px;
	color: rgb(200, 200, 200);
	font-size: 15px;
}

.timeline-item {
	position: relative;
}

.timeline-item:not(:last-child)::before {
	display: block;
	width: 2px;
	content: "";
	height: calc(100% + 35px);
	background: rgba(75, 75, 75, 0.7);
	position: absolute;
	top: 0;
	left: 23px;
}

.timeline-item::after {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	content: "";
	background: rgb(255, 190, 75);
	box-shadow: 0 0 0 4px rgba(150, 150, 150, 0.7);
	position: absolute;
	left: 19px;
	top: 8px;
}

.timeline-item span {
	color: rgb(255, 190, 75);
}

.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-content: center;
	justify-items: center;
	column-gap: 30px;
	row-gap: 30px;
}

.project-container {
	margin: 0px;
	padding: 0px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.project-image {
	width: 100%;
	max-height: 200px;
	margin: 0px 0px 8px 0px;
	align-items: center;
	justify-content: center;
	display: flex;
	overflow: hidden;
	border-radius: 20px;
	position: relative;
}

.project-image-overlay {
	position: absolute;
	font-size: 20px;
	color: rgb(255, 190, 75);
	background-color: rgb(55, 55, 55);
	padding: 14px 14px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	opacity: 0;
	transition:
		opacity ease 0.25s,
		transform ease 0.25s;
}

.project-container:hover .project-image-overlay {
	opacity: 1;
	transform: scale(1.15);
}

.project-image img {
	width: 100%;
	border-radius: 20px;
	transition:
		transform ease 0.25s,
		opacity ease 0.25s;
}

.project-container:hover img {
	transform: scale(1.25);
	opacity: 0.65;
}

.project-detail {
	padding: 0px 14px;
	text-align: left;
}

.project-title {
	margin: 0px;
	font-weight: 500;
}

.project-container:hover .project-title {
	color: rgb(255, 190, 75);
	transition: ease 0.25s;
}

.project-text {
	margin: 0px;
	color: rgb(200, 200, 200);
	font-size: 14px;
}

@media (min-width: 1024px) {
	.nav-bar {
		position: fixed;
		top: 10px;
		left: 50%;
		width: 28%;
		max-height: fit-content;
		border-radius: 9999px;
		padding: 14px;
		box-shadow:
			inset 0 0 0 1px rgba(150, 150, 150, 0.5),
			inset 1.5px 2px 0px -2px rgba(150, 150, 150, 0.5),
			inset -1.5px -2px 0px -2px rgba(150, 150, 150, 0.5),
			inset -1px 2px 4px -1px rgba(0, 0, 0, 0.5),
			0 10px 30px rgba(0, 0, 0, 0.05);
	}
}

@media (max-width: 1250px) {
	main {
		max-width: 1200px;
		flex-direction: column;
		overflow: hidden;
		align-items: center;
		margin: 4rem 1rem;
		padding: 0;
	}

	.side-bar {
		flex-direction: row;
		width: 75%;
		max-height: fit-content;
		margin: 0 auto 2rem;
		padding: 1.8rem;
		justify-content: flex-start;
		z-index: 0;
		position: static;
	}

	.main-content {
		margin: 0;
		max-width: 75%;
		width: 75%;
	}

	.author-info {
		flex-direction: row;
		gap: 2rem;
	}

	.avatar-box img {
		width: 120px;
	}

	.personal-info {
		display: none;
	}

	.author-title {
		margin: 0;
	}
}
