:root {
	--abs_black: #000000;
	--black: #181818;
	--black_alpha: rgba(22, 22, 22, 0.20);
	--white: #efefef;
	--gray_dark: #383838;
	--gray: #808080;
	--gray_light: #bdbdbd;
	--gray_light_alpha: rgba(206, 206, 206, 0.575);
	--abs_white: #ffffff;
	--blue: #5BEEE4;
	--primary: #5BEEE4;
	--primary_dark: #2FA8A0;
	--secondary: #FFC85A;
	--secondary_dark: #c19737;
	--success: #459f61;
	--error: #a33636;
	--red: #a33636;

	--font-primary: 'Red Hat Display', sans-serif;
	--font-secondary: 'Nunito Sans', sans-serif;
}

/* --------------------common styles-------------------- */

.txt-primary {
	color: var(--primary);
}

.success {
	color: var(--success);
}

.error {
	color: var(--error);
}

.required-field {
	color: var(--red);
}

.bkg-abstract-dk {
	background: url("/res/images/abstract-black-drip.svg");
}

.font-light {
	font-weight: 300;
}

.font-regular {
	font-weight: 400;
}

.font-medium-secondary {
	font-weight: 500;
}

.font-medium-primary {
	font-weight: 600;
}

.font-bold {
	font-weight: 700;
}


.txt-wrap {
	white-space: pre-wrap;
	/* Since CSS 2.1 */
	white-space: -moz-pre-wrap;
	/* Mozilla, since 1999 */
	white-space: -pre-wrap;
	/* Opera 4-6 */
	white-space: -o-pre-wrap;
	/* Opera 7 */
	word-wrap: break-word;
	/* Internet Explorer 5.5+ */
}

.txt-uppercase {
	text-transform: uppercase;
}

.txt-center {
	text-align: center;
}

.txt-start {
	text-align: left;
}

.vertical-center {
	vertical-align: middle;
}

.elevate {
	position: sticky;
	z-index: 1;
}


.unselectable {
	/* Safari */
	-webkit-user-select: none;

	/* IE 10 and IE 11 */
	-ms-user-select: none;

	user-select: none;
}

.round {
	border-radius: 30px;
}

.btn {
	background-color: var(--primary);
	color: var(--black);
	padding: 2% 4%;
	font-weight: 600;
}

.primary {
	background-color: var(--primary);
	color: var(--abs_black);
}

.primary:hover {
	background-color: var(--primary_dark);
	color: var(--abs_black);
}

.primary-dark {
	background-color: var(--primary_dark);
	color: var(--abs_black);
}

.primary-dark:hover {
	background-color: var(--primary);
	color: var(--abs_black);
}

.secondary {
	background-color: var(--secondary);
	color: var(--abs_black);
}

.secondary:hover {
	background-color: var(--secondary_dark);
	color: var(--abs_black);
}

.secondary-dark {
	background-color: var(--secondary_dark);
	color: var(--abs_black);
}

.secondary-dark:hover {
	background-color: var(--secondary);
	color: var(--abs_black);
}

.black {
	background-color: var(--abs_black);
	color: var(--abs_white);
}

.black:hover {
	background-color: var(--abs_black);
	color: var(--primary);
}

.bkg-white {
	background-color: var(--white);
}

.txt-white {
	color: var(--white);
}

.txt-gray {
	color: var(--gray);
}

.txt-secondary {
	color: var(--secondary);
}

.white {
	filter: brightness(0) saturate(100%) invert(100%);
}

.white.focusable:hover {
	filter: none;
}

.white-textured {
	filter: brightness(100%) saturate(12%);
}

.white-textured.focusable:hover {
	filter: none;
}

.gray-out {
	filter: grayscale(60%);
}

.fade-out-25 {
	opacity: 25%;
}

.fade-out-50 {
	opacity: 50%;
}

.fade-out {
	opacity: 60%;
}

.fade-out-75 {
	opacity: 75%;
}

.txt-black {
	color: var(--black);
}

.bkg-black {
	background-color: var(--black);
}

.bkg-black-alpha {
	background-color: var(--black_alpha);
}

.focusable {
	cursor: pointer;
}

.focusable:hover {
	filter: none;
}

.p0 {
	padding: 0%;
}

.p4 {
	padding: 1%;
}

.pl4 {
	padding-left: 1%;
}

.pr4 {
	padding-right: 1%;
}

.pt4 {
	padding-top: 1%;
}

.pb4 {
	padding-bottom: 1%;
}

.p8 {
	padding: 2%;
}

.pl8 {
	padding-left: 2%;
}

.pr8 {
	padding-right: 2%;
}

.pt8 {
	padding-top: 2%;
}

.pb8 {
	padding-bottom: 2%;
}


.m0 {
	margin: 0%;
}

.m4 {
	margin: 1%;
}

.ml4 {
	margin-left: 1%;
}

.mr4 {
	margin-right: 1%;
}

.mt4 {
	margin-top: 1%;
}

.mb4 {
	margin-bottom: 1%;
}

.m8 {
	margin: 2%;
}

.ml8 {
	margin-left: 2%;
}

.mr8 {
	margin-right: 2%;
}

.mt8 {
	margin-top: 2%;
}

.mb8 {
	margin-bottom: 2%;
}

.transform-origin-lt {
	transform-origin: left top;
}

.transform-origin-lb {
	transform-origin: left bottom;
}

.transform-origin-rt {
	transform-origin: right top;
}

.transform-origin-rb {
	transform-origin: right bottom;
}


.rotate-15 {
	transform: rotate(15deg);
}

.rotate-30 {
	transform: rotate(30deg);
}

.rotate-60 {
	transform: rotate(60deg);
}

.rotate-90 {
	transform: rotate(90deg);
}

.rotate-150 {
	transform: rotate(150deg);
}

.rotate-180 {
	transform: rotate(180deg);
}

.rotate-210 {
	transform: rotate(210deg);
}

.rotate-270 {
	transform: rotate(270deg);
}

.rotate-300 {
	transform: rotate(300deg);
}

.rotate-330 {
	transform: rotate(330deg);
}

.clip {
	overflow: hidden;
}

.no-clip {
	overflow: visible;
}

.bkg-parallax {
	display: block;
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	width: 100%;
	height: 90vh;
}

.marquee {
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.marquee span {
	display: inline-block;
	animation: marquee 5s linear infinite;
}

@keyframes marquee {
	from {
		transform: translateX(0%);
	}

	to {
		transform: translateX(-5%);
	}
}

.bounce-horizontal span {
	display: inline-block;
	animation: bounce-horizontal 2s linear infinite alternate-reverse;
}

@keyframes bounce-horizontal {
	from {
		transform: translateX(10%);
	}

	to {
		transform: translateX(-10%);
	}
}

.bounce-vertical span {
	display: inline-block;
	animation: bounce-vertical 4s linear infinite alternate-reverse;
}

@keyframes bounce-vertical {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0%);
	}
}

.compact1 {
	line-height: 4rem;
}

.compact2 {
	line-height: 3rem;
}

.compact3 {
	line-height: 2rem;
}

.display-flex {
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: start;
}

.align-items-start {
	align-items: start;
}

.flex-direction-row {
	flex-direction: row;
}

.flex-direction-row-reverse {
	flex-direction: row-reverse;
}

/* --------------------global styles-------------------- */

* {
	margin: 0;
	padding: 0;
	color: var(--white);
	font-family: var(--font-primary);
	text-decoration: none;
	font-weight: 500;
}

a {
	text-decoration: none;
}

body {
	text-align: left;
	background-color: var(--black);
	/* background-color: var(--white); */
	box-sizing: border-box;
}

main {
	width: 100%;
	height: 100%;
}

.flash-anim {
	opacity: 40%;
}

.small-container {
	padding: auto;
	margin: 24px 24px;
}

.tower {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.tower * {
	max-width: 80%;
}


.col-two {
	display: grid;
	grid-template-columns: 1fr;
}

.col-two.always-col-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
}


.col-two * {
	margin-top: 5px;
	margin-bottom: 5px;
}

.col-three {
	display: grid;
	grid-template-columns: 1fr;
}

.col-three.always-col-three {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.col-three * {
	margin-top: 5px;
	margin-bottom: 5px;
}

.row-two {
	display: grid;
	grid-template-rows: 1fr 1fr;
}

.row-two * {
	margin-left: 5px;
	margin-right: 5px;
}

.height-100 {
	position: relative;
	height: 100%;
}




.scroll-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;

	-ms-overflow-style: none;
	/* IE/Edge */
	scrollbar-width: none;
	/* Firefox */
}

.scroll-wrapper::-webkit-scrollbar {
	display: none;
}

.scroll-content {
	display: inline-flex;
	gap: 1rem;
}

.scroll-content .scroll-item {
	min-width: 25%;
	/* flex-shrink: 0; */
	scroll-snap-align: start;
}







/* navbar styles */

header {
	padding: 2% 4%;
	background-color: var(--black);
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: end;
	z-index: 1;
	left: 0%;
	right: 0%;
}

.header-transparent {
	background-color: transparent;
}

.overlay {
	padding: 1%;
	align-items: center;
	z-index: 1;
	display: flex;
	flex-direction: column;
	position: fixed;
	display: block;
	cursor: pointer;
	background-color: var(--black_alpha);
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.fab {
	padding: 1%;
	align-items: center;
	z-index: 1;
	display: flex;
	flex-direction: column;
	position: fixed;
	right: 2%;
	bottom: 3%;
}

.sticky-top {
	position: fixed;
	top: 0%;
}

.sticky-right {
	position: fixed;
	right: 0%;
}

.sticky-top+.content {
	padding-top: 100px;
}

.sticky-bottom {
	position: fixed;
	bottom: 0%;
}

.content+.sticky-bottom {
	padding-bottom: 100px;
}

main>.content {
	width: 100%;
	height: 100%;
	padding: 3%;
}

.content.content-edge-to-edge {
	padding: 0%;
}

.header-header {
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}

#mobi-nav-icon {
	cursor: pointer;
}

#nav-menu {
	display: none;
	background-color: var(--abs_black);
	transition: all .5s;
	/* width: 95%; */
	box-sizing: border-box;
	/* left: 0;
	top: 17.5%; */
	/* padding: 3% auto;
	margin: 1% auto; */
	text-align: center;
	/* font-size: 110%; */
}


/* The Modal (background) */
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
	background-color: var(--gray_dark);
	margin: 15% auto;
	/* 15% from the top and centered */
	padding: 20px;
	border: 1px solid var(--gray);
	width: 80%;
	/* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
	color: var(--gray);
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: white;
	text-decoration: none;
	cursor: pointer;
}

.icon {
	margin: 0 2%;
	width: 3rem;
	height: 3rem;
}

.icon-small {
	margin: 0 2%;
	width: 1.25rem;
	height: 1.25rem;
}


.nav-link-wrapper a {
	/* margin: 10% auto; */
	font-size: 0.95em;
	height: 100%;
	width: 100%;
	color: var(--gray);
	/* padding: 2% 10%; */
}

.nav-link-wrapper a:hover {
	color: #EEEEEE;
	/* transition: color .5s;  */
	transition: font-weight .5s;
}

#active-nav-link a,
#active-nav-link a:hover {
	/* background-color: #EEEEEE; */
	font-weight: bold;
	/* color: #222222; */
}

.transX:hover {
	transform: translateY(-5px);
	transition: transform .5s;
}

.transY:hover {
	transform: translateX(5px);
	transition: transform .5s;
}


/* content styles */


.intro-wrapper {

	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.intro-img-bkg {
	/* background-attachment: fixed; */
	/* background-size: contain; */
	/* background-position: center; */
	/* background-repeat: no-repeat;	 */
	position: relative;
	/* width: 100%; */
	/* min-width: 300px; */
	/* filter: grayscale(50%); */
	height: 100%;
	/* max-height: 300px; */
	/* min-height: 300px; */
}

.intro-text-wrapper {
	position: absolute;
	top: 50%;
	width: 100%;
	/* height: 100%; */
	/* background-color: rgba(13, 13, 13, 0.5); */
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
	/* font-size: 100%; */
}

.intro-text-wrapper * {
	color: var(--white);
}

.smaller-font {
	font-size: 0.8rem;
}

.small-font {
	font-size: 1rem;
}


.large-font {
	font-size: 2.5rem;
}

.larger-font {
	font-size: 4rem;
}


.border-dotted {
	border-color: white;
	--bs-border-color: white;
	border-width: 1px;
	--bs-border-width: 1px;
	border-style: dotted;
	--bs-border-style: dotted;
}


.section-wrapper {
	padding: 0 3%;
	margin: 10% auto;
}

#about-wrapper {
	margin: 0% auto;
	padding: 5% 3%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: radial-gradient(var(--white), var(--primary_dark));
}

#about-content-wrapper {
	font-weight: 110%;
	display: flex;
	flex-direction: column;
	padding: 3% 1.5%;
}

#about-content-wrapper * {
	margin: 0;
	padding: 0;
}


#about-txt-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: justify;
}

#about-img-wrapper img {
	width: 100%;
}


#about-btn-wrapper {
	padding: 1% 3%;
	margin: 6% auto;
	width: max-content;
	border-radius: 2%;
	background-color: rgba(206, 206, 206, 0.575);
}


#skills-intro-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#skill-list-wrapper {
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
}

.card-wrapper {
	margin: 2.5% auto;	
	padding: 4%;
	border-radius: 2%;
	background-color: var(--abs_black);
	box-shadow: 10px 30px 40px -20px var(--gray_dark);
}

.card-wrapper.card-wrapper-sm {
	margin: 1% auto;	
	padding: 1%;
	border-radius: 2%;
	background-color: var(--abs_black);
	box-shadow: 10px 30px 40px -20px var(--gray_dark);
}

.thumb-img {
	width: 100%;
	margin: 5% auto;
}

.thumb-img-small {
	margin: 2% auto;
	width: 33%;
	height: 33%;
}

.normal-img-port {
	width: 9rem;
	height: 16rem;
}

.normal-img-land {
	width: 16rem;
	height: 9rem;
}

.normal-img-sq {
	width: 8rem;
	height: 8rem;
}

.skill-btn-wrapper {
	width: max-content;
	height: max-content;
	background-color: var(--primary);
	border-radius: 2%;
	padding: 1% 2%;
}

.skill-btn-wrapper * {
	color: var(--white);
	padding: 0;
	margin: 0;
}


footer {
	text-align: center;
	padding: 8px 16px;
	left: 0%;
	right: 0%;

}

footer * {
	margin-top: 4px;
	margin-bottom: 4px;
}

.footer-default {
	background: url("/res/images/abstract-black-drip.svg");
}

.footer-default * {
	color: var(--gray_light);
}


.link {
	color: var(--white);
	border-bottom: 1px solid var(--primary_dark);
}

.txt-justify {
	text-align: justify;
}

.txt-underline {
	text-decoration: underline;
}

.d-none {
	display: none;
}

.doc-content {
  margin: 0 auto;
  padding: 16px;
  max-width: 720px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.doc-content h1 { font-size: 1.6rem; margin: 0.2rem 0 0.8rem; }
.doc-content h2 { font-size: 1.3rem; margin-top: 1.4rem; color: var(--primary); }
.doc-content h3 { font-size: 1.1rem; margin-top: 1.2rem; }
.doc-content p, .doc-content li { font-size: 1rem; }
.doc-content a { color: var(--primary); }
.doc-content ul, .doc-content ol { padding-left: 1.2rem; }



/****************************
responsive
****************************/

@media only screen and (min-width: 768px) {
	body {
		font-size: 130%;
	}

	.pos-fixed {
		position: fixed;
	}

	.pos-relative-fs {
		position: relative;
		width: 100vh;
		height: 100vh;
	}

	.pos-absolute {
		position: absolute;
	}

	.pos-absolute-center-horizontal {
		position: absolute;
		left: 50%;
		/* margin: auto; */
		transform: translate(-70%, 0);
	}

	.pos-absolute-center-vertical {
		position: absolute;
		top: 50%;
		/* margin: auto; */
		transform: translate(0, -50%);
	}


	.pos-absolute-center {
		position: absolute;
		top: 50%;
		left: 50%;
		/* margin: auto; */
		transform: translate(-50%, -50%);
	}

	.pos-absolute-start {
		position: absolute;
		left: 0%;
	}

	.pos-absolute-end {
		position: absolute;
		right: 0%;
	}

	.pos-absolute-top {
		position: absolute;
		top: 0%;
	}

	.pos-absolute-bottom {
		position: absolute;
		bottom: 0%;
	}

}

@media only screen and (min-width: 932px) {
	.col-two {
		grid-template-columns: 1fr 1fr;
	}

	.col-three {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.row-two {
		grid-template-rows: 1fr 1fr;
	}

	body {
		font-size: 120%;
	}



	header {
		flex-direction: row;
		padding: 1.5% 1%;
		margin-top: 0;
		margin-bottom: 0;
		align-items: end;
	}

	.header-header {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-around;
	}


	#nav-menu {
		white-space: nowrap;
		border-radius: 30px;
		/* width: 100%; */
		display: flex;
		/* margin: 0; */
		text-align: center;
		justify-content: space-between;
		/* font-size: 95%; */
		padding: 2% 3% 2% 3%;
	}


	.transX:hover {
		transform: translateX(5px);
		transition: transform .5s;
	}

	.transY:hover {
		transform: translateY(-5px);
		transition: transform .5s;
	}

	.nav-link-wrapper {
		margin: 0;
	}


	.nav-link-wrapper a {
		margin: 0 0.5rem 0 0.5rem;
	}


	#mobi-nav-icon {
		display: none;
	}

	.icon {
		margin: 0.5% 3%;
		width: 3rem;
		height: 3rem;
	}

	.icon-small {
		margin: 0.25 2%;
		width: 2.0rem;
		height: 2.0rem;
	}

	.smaller-font {
		font-size: 0.9rem;
	}

	.small-font {
		font-size: 1rem;
	}

	.large-font {
		font-size: 3rem;
	}

	.larger-font {
		font-size: 6rem;
	}

	.btn {
		padding: 1% 2%;
	}

	.height-100 {
		height: 100%;
	}

	.compact1 {
		line-height: 6rem;
	}

	.compact2 {
		line-height: 4rem;
	}

	.compact3 {
		line-height: 3rem;
	}

	.scroll-content .scroll-item {
		min-width: 30%;
		/* flex-shrink: 0; */
		scroll-snap-align: start;
	}

	/* index styles */

	.intro-img-bkg {
		/* height: 100%;
		background-position: center;
		background-attachment: fixed;
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat; */

		display: block;
		background-attachment: fixed;
		background-size: cover;
		background-repeat: no-repeat;
		position: relative;
		width: 100%;
		height: 90vh;
	}

	#about-wrapper {
		font-size: 95%;
		padding-top: 2.5%;
		padding-bottom: 2.5%;
	}

	#about-content-wrapper {
		display: grid;
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr;
		padding: 2%;
	}

	#about-content-wrapper * {
		margin: 0 2%;
		padding: 0;
	}


	#skill-list-wrapper {
		display: grid;
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr 1fr;
	}

	.card-wrapper {
		margin: 4% auto;		
	}

	.card-wrapper.card-wrapper-sm {
		margin: 2.5% auto;		
	}


	.thumb-img {
		width: 100%;
		height: auto;
		margin: 5% auto;
	}

	.thumb-img-small {
		margin: 2% auto;
		width: 33%;
		height: auto;
	}

	.normal-img-port {
		width: 16rem;
		height: 30rem;
	}

	.normal-img-land {
		width: 30rem;
		height: 16rem;
	}

	.normal-img-sq {
		width: 15rem;
		height: 15rem;
	}


	/* proj styles */

	.project-list-wrapper {
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr 1fr;
	}

	.project-img {
		max-height: 350px;
	}

	/* member styles */

	.member-list-wrapper {
		/* grid-template-rows: 1fr 1fr; */
		grid-template-columns: 1fr 1fr 1fr;
	}

	/* error styles */

	#error-content-wrapper {
		height: 30%;
	}

	#error-content-wrapper a {
		padding: 0.5% 1%;
	}

	/* footer styles */

	footer {
		text-align: left;
		padding: 16px 32px;
	}


}