@font-face {
    font-family: "dn-kh";
    src: url("/assets/fonts/dn-light.woff2") format("woff2"),
         url("/assets/fonts/dn-light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "dn-kh";
    src: url("/assets/fonts/dn-regular.woff2") format("woff2"),
         url("/assets/fonts/dn-regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "dn-kh";
    src: url("/assets/fonts/dn-medium.woff2") format("woff2"),
         url("/assets/fonts/dn-medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/*-----------------------------------------------------
General Styles
------------------------------------------------------*/

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

html {
	overflow-x: hidden;
	overflow-y: scroll;
	background-color: snow;
}

body {
	font-family: "dn-kh", sans-serif;
	color: #232323;
	font-size: 100%;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

h1 {
	font-family: "dn-kh", sans-serif;
	font-size: 2rem;
	font-weight: 300;
}

a {
	text-decoration: none;
	transition: all .2s ease-in-out;
}

a:-webkit-any-link {
	color: #232323;
}

a:-webkit-any-link:hover {
	color: #4d4d4d;
}

*:visited {
	text-decoration: none;
	transition: all .2s ease-in-out;
	color: #232323;
}

.strong {
	font-weight: 500;
	text-transform: uppercase;
}

.btn {
	border-radius: 27.5px;
	display: inline-block;
	font-size: .75rem;
	font-weight: 500;
	height: 55px;
	letter-spacing: 2.5px;
	line-height: 55px;
	text-align: center;
	text-transform: uppercase;
	width: 220px;
}

.container {
	max-width: 1720px;
	margin: auto;
}

.container-large {
	max-width: 1720px;
	margin: auto;
}

.clearfix {
	clear: both;
}

.img-cover  {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-fill {
    display: block;
    width: 100%;
	object-fit: fill;
	height: auto;
}

img {
	border-radius: .5rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: .5rem;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: .5rem;
}


.divider {
	height: 2px;
	background-color: #232323;
	width: 200px;
	margin: 0 auto;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
}
.contact-icon {
  width: 18px;
  height: 18px;
  border-radius: 0;
}

.contact-icons-menu .contact-icon {
  width: 24px;
  height: 24px;
}

.contact-icons-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 32px auto;
  width: fit-content;
}



/* =============== # Header =============== */

.header-default,
.header-minimal {
	height: 100px;
	line-height: 100px;
	/* background: rgba(255, 255, 255, .5); */
}

.header-minimal .nav-open {
	display: block;
}

.logo {
	float: left;
	margin-top: 39px;
	height: 23px;
}

.navigation {
	float: right;
}

.navigation > ul > li {
	float: left;
	font-size: .825rem;
	font-weight: 400;
	letter-spacing: 2px;
	list-style: none;
	margin-left: 40px;
	position: relative;
	text-transform: uppercase;
}

.nav-open {
	display: none;
	float: right;
	height: 22px;
	margin: 38px 0;
	position: relative;
	width: 28px;
}

.nav-open:hover {
	cursor: pointer;
}

.nav-open i {
	position: absolute;
	top: 50%;
	right: 0;
	height: 2px;
	width: 100%;
	background-color: #232323;
	transition: all .3s ease-in-out;
}

.nav-open i:before {
	position: absolute;
	top: -9px;
	content: " ";
	height: 2px;
	width: 100%;
	background-color: #232323;
	transition: all .3s ease-in-out;
}

.nav-open i:after {
	position: absolute;
	top: 9px;
	content: " ";
	height: 2px;
	width: 100%;	
	background-color: #232323;
	transition: all .3s ease-in-out;
}

.nav-open:hover i:before,
.nav-open:hover i:after {
	width: 80%;
}

.full-screen-nav {
	bottom: 0;
	height: 100vh;
	left: -100%;
	overflow-y: scroll;
	opacity: 0;
	background-color: white;
	position: fixed;
	right: 0;
	top: 0;
	transition: opacity .4s, left 0s .4s;
	width: 100%;
	z-index: 2;
	text-align: center;
}

.full-screen-nav.active {
	left: 0;
	opacity: 1;
	transition: opacity .4s, left 0s;
}

.full-screen-nav .container {
	position: relative;
}

.full-screen-nav nav {
	padding: 200px 0 70px 0;
}

.full-screen-nav nav li {
	cursor: pointer;
	font-size: 2rem;
	font-weight: 300;
	list-style: none;
	margin-bottom: 12px;
	text-transform: uppercase;
}


.nav-close {
  position: absolute;
  right: 3px;
  top: 35px;
  width: 32px;
  height: 32px;
}

.nav-close:before, .nav-close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #232323;
}

.nav-close:before {
  transform: rotate(45deg);
}

.nav-close:after {
  transform: rotate(-45deg);
}

/* =============== # Portfolio =============== */

.portfolio-item {
	position: relative;
	border-radius: .5rem;
}

.portfolio-item-overlay {
	bottom: 0;
	height: 100%;
	left: 0;
	opacity: 0;
	background-color: snow;
	position: absolute;
	right: 0;
	top: 0;
	transition: all .3s linear;
	width: 100%;
	padding: 30px;
	color: #232323;
}

.portfolio-item:hover .portfolio-item-overlay {
	opacity: .9;
	transition: all .2s linear;
}

.portfolio-item .info {
	left: 50%;
	position: absolute;
	text-align: center;
	text-transform: capitalize;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 20px;
}

.portfolio-item-title {
	font-size: 1.75rem;
	font-weight: 300;
	line-height: 1.2;
}

.portfolio-item-category {
	font-size: 1rem;
	font-weight: 300;
	margin-top: 24px;
}

/* Portfolio Cards */ 

.portfolio-cards .portfolio-item {
	float: left;
	height: 600px;
}

.portfolio-cards a:nth-of-type(1) .portfolio-item {
	margin-right: 3%;
	width: 65.66%;
}

.portfolio-cards a:nth-of-type(2) .portfolio-item,
.portfolio-cards a:nth-of-type(6) .portfolio-item {
	width: 31.33%;
}

.portfolio-cards a:nth-of-type(3) .portfolio-item,
.portfolio-cards a:nth-of-type(4) .portfolio-item,
.portfolio-cards a:nth-of-type(5) .portfolio-item {
	margin-top: 50px;
	margin-bottom: 50px;
	width: 31.33%;
}

.portfolio-cards a:nth-of-type(4) .portfolio-item {
	margin-right: 3%;
	margin-left: 3%;
}

.portfolio-cards a:nth-of-type(7) .portfolio-item {
	margin-left: 3%;
	width: 65.66%;
}





/* =============== # Single Project =============== */

.project-cover-1 {
	background: url('/assets/img/work/palette-hero.webp');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.project-cover-2 {
	background: url('/assets/img/work/ub-hero.webp');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.project-cover-3 {
	background: url('/assets/img/work/app-redesign-hero.webp');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.project-cover-4 {
	background: url('/assets/img/work/glamlab-hero.webp');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.project-cover-5 {
	background: url('/assets/img/work/digital-mirror-hero.jpg');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.project-cover-6 {
	background: url('/assets/img/work/chicago-red-stars-hero.webp');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.project-cover-7 {
	background: url('/assets/img/work/q101-hero.webp');
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	height: 400px;
	width: 100%;
}

.single-project {
	margin: 64px 0 0 0;
}

.single-project .intro {
	margin-bottom: 64px;
}

.single-project .info {
	float: left;
	margin-right: 2.5%;
	width: 48.5%;
}

.single-project .info h2 {
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.single-project .info h1 {
	font-size: 4rem;
	font-weight: 300;
	margin: 0 0 24px -3px;
	text-transform: capitalize;
	line-height: 1.2;
}

.single-project .info p,
.project-description .content p {
	font-size: .875rem;
	letter-spacing: .5px;
	line-height: 2;
}

.project-description .content ul {
	font-size: .875rem;
	letter-spacing: .2px;
	line-height: 2;
	margin-left: 15px;
	margin-bottom: 20px;
}

.single-project .details {
	float: right;
	list-style: none;
	margin-top: 16px;
	width: 49%;
}

.single-project .details li {
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: 1px;
	margin-bottom: 15px;
	position: relative;
	text-transform: uppercase;
}

.single-project .details li span {
	font-weight: 400;
	letter-spacing: .7px;
	position: absolute;
	right: 0;
	text-transform: capitalize;
}

.project-img-full {
	/* height: 600px; */
	width: 100%;
}

.project-img-halved .item {
	float: left;
	/* height: 400px; */
	width: 48.75%;
}

.project-img-halved .item:nth-of-type(1) {
	margin-right: 2.5%;
}

.project-img-third .item {
	float: left;
	/* height: 400px; */
	width: 31.666666667%;
}

.project-img-third .item:nth-of-type(1) {
	margin-right: 2.5%;
}

.project-img-third .item:nth-of-type(2) {
	margin-right: 2.5%;
}

.project-img-fourth .item {
	float: left;
	/* height: 400px; */
	width: 23.125%;
}

.project-img-fourth .item:nth-of-type(1) {
	margin-right: 2.5%;
}

.project-img-fourth .item:nth-of-type(2) {
	margin-right: 2.5%;
}

.project-img-fourth .item:nth-of-type(3) {
	margin-right: 2.5%;
}

.project-description {
	margin: 110px 0;
}

.project-description h2,
.project-description .content {
	float: left;
	width: 48.75%;
}

.project-description h2 {
	margin-right: 2.5%;
}

.project-description h2 {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 2.2;
	position: relative;
	text-transform: uppercase;
}

.project-description h2 span {
	padding-right: 90px;
}

.project-description h2 span:after {
	content: "";
	display: inline-block;
	background-color: #232323;
	height: 1px;
	left: 40px;
	top: 16px;
	position: absolute;
	width: 45px;
}

.project-description .content p:first-child {
	margin-bottom: 20px;
}

.next-project {
	padding: 100px 0 115px 0;
}

.next-project h1 {
	font-size: 3rem;
	font-weight: normal;
	margin-left: -5px;
	text-transform: capitalize;
	font-weight: 300;
}

.next-project h2 {
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* =============== # About Me =============== */

.about-me {
	margin-bottom: 136px;
}

.about-me .image {
	float: left;
	height: 600px;
	margin-right: 5%;
	width: 49%;
}

.about-me .content {
	float: right;
	width: 46%;
}

.about-me h2 {
	font-size: 2.7rem;
	font-weight: normal;
	text-transform: capitalize;
}

.about-me p {
	font-size: .875rem;
	letter-spacing: .1px;
	line-height: 2;
}

.about-me ul {
	list-style: none;
	margin-top: 14px;
	text-transform: capitalize;
}

.about-me li {
	font-size: .875rem;
	letter-spacing: .3px;
	margin-bottom: 10px;
}

.about-me .intro {
	margin: 20px 0 37px 0;
}

.about-me .intro h2,
.about-me .services h2 {
	margin-left: -3px;
}

.about-me .intro p {
	margin: 10px 0 20px 0;
}

.about-me .services {
	margin-bottom: 30px;
}

.about-me .services ul {
	float: left;
}

.about-me .services ul:nth-of-type(1) {
	margin-right: 70px;
}

.about-me .awards {
	margin-bottom: 40px;
}

.contact-me p {
	margin: 10px 0;
}

.mail-link {
	font-size: 2.125rem;
	position: relative;
}

.mail-link:after {
	bottom: -5px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transition: width .4s linear;
	width: 0%;
}

.mail-link:hover:after {
	width: 100%;
}


/* =============== # Contact =============== */

.contact {
	margin: 130px 0 150px 0;
}

.contact h1 {
	font-size: 3.75rem;
	font-weight: normal;
	line-height: 1.1;
	margin-bottom: 45px;
}

.contact .contact-form {
	float: left;
	width: 66%;
}

.contact-info {
	float: left;
	list-style: none;
	margin: -6px 0 0 50px;
}

.contact-info li:first-child {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 1.5px;
	margin-bottom: 11px;
	text-transform: uppercase;
}

.contact-info li {
	font-size: 15px;
	letter-spacing: .5px;
	margin-bottom: 4px;
}


/* =============== # Footer =============== */

footer {
	font-weight: 300;
}

footer ul {
	list-style: none;
}

.copyright {
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: 1px;
	margin-bottom: 16px;
}

.quote {
	font-size: .875rem;
	font-family: 'Times New Roman', Times, serif;
	font-style: italic;
	line-height: 1.6;
}

.footer-default {
	height: 100px;
	line-height: 1.6;
}



/*-----------------------------------------------------
Media Queries
------------------------------------------------------*/

/* Start @media(min-width:1920px) */

@media(min-width: 1920px) {

}

/* Start @media(max-width:1720px) */

@media(max-width: 1720px){

	.container,
	.container-large {
		margin-left: 50px;
		margin-right: 50px;
	}

	.portfolio-cards .portfolio-item {
		height: 500px;
	}

	.portfolio-cards a:nth-of-type(3) .portfolio-item,
	.portfolio-cards a:nth-of-type(4) .portfolio-item,
	.portfolio-cards a:nth-of-type(5) .portfolio-item {
		margin-top: 40px;
		margin-bottom: 40px;
	}

}

/* Start @media(max-width:1200px) */

@media(max-width: 1200px) {

	.container,
	.container-large {
		margin-left: 25px;
		margin-right: 25px;
	}

}

/* Start @media(max-width:1024px) */

@media(max-width: 1024px) {

	.contact .contact-form {
		float: none;
		width: 70%;
	}

	.contact-info {
		float: none;
		margin: 50px 0 0 0;
		width: 100%;
	}

	.contact-me p br {
		content: "";
	}

	.portfolio-cards .portfolio-item {
		height: 400px;
	}

	.single-project .intro {
	    margin-bottom: 60px;
	}

	.single-project .info {
		float: none;
		margin-right: 0;
		width: 60%;
	}

	.single-project .details {
		float: none;
		margin-top: 32px;
		width: 60%;
	}
}

/* Start @media(max-width:970px) */

@media(max-width: 970px) {

	.about-me .image,
	.about-me .content {
		float: none;
		margin: 0;
		width: 100%;
	}

	.about-me .intro {
		margin: 45px 0 37px 0;
	}

	.contact .contact-form {
		width: 100%;
	}
	
	.entry-content > p,
	.entry-content blockquote,
	.entry-footer,
	.about-author,
	.related-posts,
	.comments,
	.leave-comment {
		width: 65%;
	}

	.entry-content .post-img {
		width: 100%;
	}

	.extended-project-details {
		width: 85%;
	}

	.project-description h2 {
		width: 100%;
	}

	.project-description .content {
		float: left;
		margin-top: 20px;
		width: 65%;
	}

}

/* Start @media(max-width:870px) */

@media(max-width: 870px) {

	.footer-default {
		height: auto;
		line-height: normal;
		padding: 40px 0;
		position: relative;
		text-align: center;
	}

	.footer-default .copyright,
	.footer-default .follow-us-links {
		float: none;
	}

	.footer-default .copyright {
		margin-bottom: 17px;
		line-height: 1.4;
	}

	.footer-default .follow-us-links {
		display: inline-block;
	}

	.footer-default .follow-us-links li {
		margin-left: 25px;
	}

	.footer-default .follow-us-links li:first-child {
		margin-left: 0;
	}

	.portfolio-cards .portfolio-item {
		float: none;
		margin-bottom: 30px;
	}

	.portfolio-cards a:nth-of-type(1) .portfolio-item,
	.portfolio-cards a:nth-of-type(2) .portfolio-item,
	.portfolio-cards a:nth-of-type(6) .portfolio-item,
	.portfolio-cards a:nth-of-type(7) .portfolio-item {
		margin-right: 0;
		margin-left: 0;
		width: 100%;
	}

	.portfolio-cards a:nth-of-type(3) .portfolio-item,
	.portfolio-cards a:nth-of-type(4) .portfolio-item,
	.portfolio-cards a:nth-of-type(5) .portfolio-item {
		margin: 30px 0;
		width: 100%;
	}

	.portfolio-cards a:nth-of-type(7) .portfolio-item {
		margin-bottom: 0;
	}
}

/* Start @media(max-width:770px) */

@media(max-width: 770px) {

	.contact {
		margin: 80px 0 100px 0;
	}

	.cta_01 h2 {
		margin-left: 30px;
		margin-right: 30px;
	}

	.entry-header .entry-title {
		font-size: 2.6rem;
	}

	.entry-header .entry-title br {
		content: "";
	}

	.entry-header .entry-thumbnail {
		height: 500px;
	}

	.entry-content > p,
	.entry-content blockquote,
	.entry-footer,
	.about-author,
	.related-posts,
	.comments,
	.leave-comment {
		width: 80%;
	}

	.extended-project-details {
		margin: 45px auto 0 auto;
	    width: 100%;
	}

	.extended-project-details li {
		border-bottom: none;
		padding: 12px 0;
	}

	.extended-project-details li span {
		display: block;
		margin-top: 10px;
		position: static;
	}

	.navigation { 
		display: none;
	}

	.nav-open {
		display: block;
	}

	.personal-portfolio .content {
		width: 100%;
	}

	.project-description {
		margin: 60px 0;
	}

	.project-description .content {
		width: 90%;
	}

	.project-img-halved .item,
	.project-img-third .item,
	.project-img-fourth .item {
		float: none;
		width: 100%;
	}

	.project-img-halved .item:nth-of-type(1),
	.project-img-third .item:nth-of-type(1),
	.project-img-third .item:nth-of-type(2),
	.project-img-fourth .item:nth-of-type(1),
	.project-img-fourth .item:nth-of-type(2),
	.project-img-fourth .item:nth-of-type(3) {
		margin-right: 0;
		margin-bottom: 30px;
	}

	.single-project {
	    margin: 95px 0 100px 0;
	}

	.single-project .info,
	.single-project .details {
		width: 85%;
	}

	.tag-links,
	.share-links {
		float: none;
	}

	.tag-links a {
		margin-bottom: 25px;
	}

}


/* Start @media(max-width:480px) */

@media(max-width: 480px) {

	.about-me {
		margin-bottom: 86px;
	}

	.about-me .image {
		height: 470px;
	}

	.about-me h2 {
		font-size: 2.4rem;
	}

	.about-me .services {
	    margin-bottom: 40px;
	}

	.about-me .services ul {
		float: none;
	}

	.about-me .services ul:nth-of-type(2) {
		margin: 0;
	}

	.btn {
		border-radius: 25px;
		font-size: .6875rem;
		height: 50px;
		line-height: 50px;
		width: 200px;
	}

	.contact h1 {
		font-size: 2.9rem;
		margin-bottom: 35px;
	}

	.contact-form input[name=name],
	.contact-form input[name=email] {
		float: none;
		width: 100%;
	}

	.contact-form input[type=submit] {
		width: 100%;
	}

	.entry-header .entry-title {
		font-size: 2rem;
		line-height: 1.4;
		margin: 7px 0 10px 0;
	}

	.entry-header .entry-thumbnail {
		height: 370px;
		margin-top: 33px;
	}

	.entry-content {
		margin-top: 60px;
	}

	.entry-content > p,
	.entry-content blockquote,
	.entry-footer,
	.about-author,
	.related-posts,
	.comments,
 	.leave-comment {
		width: 100%;
	}

	.entry-content > p {
		letter-spacing: normal;
	}

	.entry-content blockquote {
		padding: 17px 0 19px 25px;
	}

	.entry-content blockquote p {
		font-size: 1.4rem;
	}

	.mail-link {
	    font-size: 1.5rem;
	}

	.next-project {
		padding: 90px 0 95px 0;
	}

	.next-project h1 {
		font-size: 4rem;
	}

	.project-cover {
		height: 600px;
	}

	.project-description .content {
		width: 100%;
	}

	.single-project .info {
		width: 100%;
	}

	.single-project .info h1 {
		font-size: 3.4rem;
	}

	.single-project .details li span {
		display: block;
		margin-top: 5px;
		position: static;
	}

}

/* Start @media(max-width:320px) */

@media(max-width: 320px) {

	.about-me h2 {
		font-size: 2.1rem;
	}

	.about-me .image {
		height: 370px;
	}

	.contact h1 {
		font-size: 2.5rem;
	}

	.entry-content > p {
		font-size: .875rem;
		line-height: 1.8;
	}

	.full-screen-nav nav {
		padding: 130px 0 70px 0;
	}

	.mail-link {
	    font-size: 1.3rem;
	}

	.single-project .info h1 {
		font-size: 3.2rem;
	}

}



/* =============== # Dark Mode Toggle =============== */

:root {
	color-scheme: light;
}

/* Smooth theme transition on major surfaces */
html,
body,
.header-default,
.header-minimal,
.full-screen-nav,
footer,
.portfolio-item-overlay,
.contact-form input,
.contact-form textarea {
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}



/* Toggle button layout */
#theme-toggle {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	border: 1px solid #ed7600;
	background: #ed7600;
	color: snow;
	fill: snow;
	border-radius: 999px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
}

/* Base icon styling */
#theme-toggle .icon {
	position: absolute;
	display: block;
	width: 24px;
	height: 24px;
	opacity: 0;
	transform: rotate(-90deg) scale(0.8);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

#theme-toggle img {
	display: block;
	width: 100%;
	height: 100%;
}

/* Light mode - sun visible */
#theme-toggle .icon-sun {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* Dark mode styles */
html.theme-dark #theme-toggle {
	background: #111;
	border-color: #555;
	color: #f5f5f5;
}

/* Dark mode - swap icons with rotation and fade */
html.theme-dark #theme-toggle .icon-sun {
	opacity: 0;
	transform: rotate(90deg) scale(0.8);
}

html.theme-dark #theme-toggle .icon-moon {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* Dark mode: swap them */
html.theme-dark #theme-toggle {
	background: #111;
	border-color: #555;
}

html.theme-dark #theme-toggle .icon-sun {
	display: none;
}

html.theme-dark #theme-toggle .icon-moon {
	display: inline-block;
}

/* Dark theme base */
html.theme-dark {
	color-scheme: dark;
	background-color: #232323;
}

html.theme-dark body {
	background-color: #232323;
	color: snow;
}

/* Links */
html.theme-dark a:-webkit-any-link:hover {
	color: #e9e5e5;
}

html.theme-dark a:-webkit-any-link,
html.theme-dark *:visited {
	color: snow;
}

html.theme-dark .nav-open i,
html.theme-dark .nav-open i:before,
html.theme-dark .nav-open i:after,
html.theme-dark .nav-close:before,
html.theme-dark .nav-close:after {
	background-color: snow;
}

/* Full screen nav */
html.theme-dark .full-screen-nav {
	background-color: #232323;
}

/* Footer borders */
html.theme-dark .footer-default-border {
	border-top-color: #232323;
}

/* Portfolio overlays */
html.theme-dark .portfolio-item-overlay {
	background-color: #232323;
	color: snow;
}

/* Project description line */
html.theme-dark .project-description h2 span:after {
	background-color: snow;
}

/* Icons */
html.theme-dark .contact-icon {
  filter: invert(1) brightness(2);
}

html.theme-dark .divider {
	height: 2px;
	background-color: snow;
	width: 200px;
	margin: 0 auto;
}

/* Toggle in dark mode */
html.theme-dark #theme-toggle {
	background: #222675;
	color: snow;
	border-color: #555;
}

/* Theme change overlay - creates a smooth fade without repainting everything */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background: #000;
	opacity: 0;
	transition: opacity 0.25s ease;
	z-index: 9998;
}

/* When toggling themes, briefly fade this overlay in */
body.is-theming::before {
	opacity: 0.3; /* adjust for stronger or softer fade */
}

/* Dark mode scrollbar styling */
html.theme-dark::-webkit-scrollbar {
	width: 10px;
}

html.theme-dark::-webkit-scrollbar-track {
	background: #111; /* track background */
}

html.theme-dark::-webkit-scrollbar-thumb {
	background: #444; /* thumb color */
	border-radius: 10px;
}

html.theme-dark::-webkit-scrollbar-thumb:hover {
	background: #555; /* thumb hover */
}

/* Firefox scrollbar */
html.theme-dark {
	scrollbar-width: thin;
	scrollbar-color: #444 #111; /* thumb track */
}

/* Header Override */

.force-light .container a h1,
.force-light .container .navigation ul li a {
	color: snow;
}

.force-light .container .nav-open i,
.force-light .container .nav-open i::before,
.force-light .container .nav-open i::after {
	background-color: snow;
}

.force-dark .container a h1,
.force-dark .container .navigation ul li a {
	color: #232323;
}

.force-dark .container a h1:hover,
.force-dark .container .navigation ul li a:hover,
.force-light .container a h1:hover,
.force-light .container .navigation ul li a:hover {
	color: #e9e5e5;
}

.force-dark .container .nav-open i,
.force-dark .container .nav-open i::before,
.force-dark .container .nav-open i::after {
	background-color: #232323;
}

