:root {
  --primary: #ffffff;
  --inverse: #000000;
  --alternate: #ffffff; 
  --warm: #fffce3; 
}



html, body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

@supports(padding:max(0px)) {
	body, header, footer {
		padding-left: min(0vmin, env(safe-area-inset-left));
		padding-right: min(0vmin, env(safe-area-inset-right));
		padding-top: min(0vmin, env(safe-area-inset-top));
	}
}

path{
	stroke: var(--primary) !important;
}

nav, span, p, .footer, .logo, #margot-anim-container, button.ui, #contact-form, .portfolio-section-title{
	mix-blend-mode: exclusion;
}

img{
	object-fit: cover;
}

h1, h2, h3{ 
	font-family: widefont;
	text-transform: uppercase;
}

h3{
	font-weight: 500;
}

@font-face {
	font-family: 'futo-kakugo';
	src: url('EPSON-FUTO-KAKUGO.woff2') format('woff2'),
		url('EPSON-FUTO-KAKUGO.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'widefont';
	src: url('widefont-extrabold.woff2') format('woff2'),
		url('widefont-extrabold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'body';
	src: url('body-Regular.woff2') format('woff2'),
	url('body-Regular.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	
}

@font-face {
	font-family: 'body';
	src: url('body-Semibold.woff2') format('woff2'),
	url('body-Semibold.woff') format('woff');
	font-weight: 600;
	font-style: bold;
	font-display: swap;
	
}


::selection{
	background: var(--primary);
	color: var(--alternate);
}



body{
	color: var(--primary);
	background: var(--alternate);
	font-family: body, system-ui, sans-serif;
	text-align: center;
	fill: var(--primary);
	height: 100vh;
	margin: 0;
	scroll-behavior: auto !important;

}

.scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto !important;
}

.scroll-content {
  display: flex;
}

.page-section{
	width: 100vw;
	height: 100vh;
	background: pink;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

input, textarea, select {
border: 3px var(--primary) solid;
border-radius: 25px;
padding: 10px;
appearance: none;
-webkit-appearance: none;
color: var(--primary);	
font-family: futo-kakugo, system-ui, sans-serif;
font-size: 16px;
background: var(--inverse);
}

#contact-form{
	max-width: 500px;
	margin: 0 auto;
}

#form-result p {
text-align: center;
}

.hidden {
  display: none;
}

button.ui {
border: 3px var(--primary) solid;
border-radius: 25px;
padding: 10px;
background: var(--inverse);
color: var(--primaru);
font-family: futo-kakugo, system-ui, sans-serif;
font-size: 16px;
margin: 2px;
margin-top: 10px;
}

button.ui:hover {
border: 3px var(--primary) solid;
background: var(--primary);
color: var(--inverse);

}

a{
	color: var(--primary);
	text-decoration: none;
}

a:hover{
	text-decoration: none;
}



nav{
	text-align: right;
	padding: 30px;
	position: absolute;
	right: 0;
	z-index: 99;
	text-transform: uppercase;

}

nav a {
position: relative;
display: inline-block;
text-decoration: none;
color: inherit;
margin-bottom: 8px;
font-family: futo-kakugo, system-ui, sans-serif;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; 
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

nav.logo a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 15px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

nav.scroll-logo a::after {
  opacity: 0; /* hide by default */
}
nav.scroll-logo.visible a::after {
  opacity: 1; /* show when scrolled enough */
}

nav a:hover::after {
  transform: scaleX(1);
}

nav.logo.shrink a::after {
  transform: scaleX(0); /* Shrinks to zero when clicked */
}

@media (max-width: 768px) {
nav.scroll-logo.visible a::after {
  opacity: 0; /* show when scrolled enough */
}
  }


.logo{
	text-align: left;
	padding: 15px;
	position: absolute;
	left: 0;
	z-index: 99;
	max-width: 100px;
}

.footer{
	position: fixed;
	width: 100vw;
	margin-top:-50px;
}

.main-content{
	background: rgb(32, 67, 205);

}

.about-content{
	background: rgb(94, 0, 255);

}

.portfolio-content{
	background: rgb(29, 97, 32);

}

.contact-content{
	background: rgb(255, 190, 26);

}

#renderLanding{
	--theme-color:rgb(32, 67, 205);	
}

#renderAbout{
	--theme-color:rgb(94, 0, 255);	
}

#renderPortfolio{
	--theme-color:rgb(29, 97, 32);	
}

#renderContact{
	--theme-color:rgb(255, 190, 26);	
}

.project-page-wrapper{
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	position: relative;
	top: 20%;
}

.project-page-gallery-container{
	display: flex;
	max-width: 900px;
	flex-wrap: wrap;
	justify-content: center;
}

.project-page-gallery{
	width: 280px;
	height: 180px;
	border-radius: 10px;
	margin: 10px;
	object-fit: cover;
}

.portfolio-gallery-wrapper{
	display: flex;
	flex-direction: column;
	align-content: center;
	position: relative;
	top: 258px;
}

.portfolio-categories-wrapper{
	padding: 10px;
}

.projects-wrapper{
	display: flex;
	max-width: 1000px;
	margin: 0 auto;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
}

.project{
	max-width: 300px;
	margin: 10px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.5s ease;
	margin-bottom: 35px;
}

.project.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: hover effect */
.project:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-thumbnail{
	width: 300px;
	height: 180px;
	border-radius: 10px;
}

.project-title{
	margin: 5px;
	margin-top: 15px;
}

.project-subheading{
	font-size: 16px;
	text-align: center;
	margin: 5px;
}

.project-page-image{
	max-width: 95vw;
	width: 500px;
	height: 260px;
	border-radius: 10px;
}

.contact-success{
	width: 100vw;
	height: 100vh;
}

.margot-linework{
	max-width: 600px;
	height: 200px;
	margin: 0 auto;
	width: 90%;
}

.about-text{
	padding: 20px;
	max-width: 600px;
	margin: 20px auto;
	text-align: left;
	font-size: 23px;
	font-family: futo-kakugo;
}


.caret{
animation: 
blink-caret .75s step-end infinite;	
border-right: .15em solid var(--primary);
max-height: 1em;
margin-left: 10px 

}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary); }
}

#current_date{
	font-size: 11px;
	margin-top: -25px;
}

@media (max-width: 768px) {
  .scroll-container {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* scroll-behavior: smooth; */
	-webkit-overflow-scrolling: touch;
  }

  .page-section {
	flex: 0 0 100vw;
	scroll-snap-align: start;
  }
}