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

a {
	text-decoration: none;
}

a:link, a:visited, a:hover, a:active {
	color: black;
}

body {
/*	background-color: lavenderblush;*/
/*	background-color: #ffe0c3;
	background-image: 
    linear-gradient(45deg, #ffecda 50%, transparent 50%), 
    linear-gradient(-45deg, #ffe0c3 50%, transparent 50%);
	background-size: 40px 40px; 
	background-repeat: repeat;
	background-position: 0 0, 20px 20px; */
	background-color: #fffbf9;
	font-family: "Josefin Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	min-height: 100dvh;
}

header {
	width: 100%;
	/*max-width: 860px;*/
	display: flex;
	padding: 16px;
	gap: 24px;
	max-width: 1400px;
}

.logo {
	width: 200px;
}

#menu {
	display: flex;
	align-items: center;
}

#menu ul {
	display: flex;
	gap: 16px;
  list-style-type: none;
}

#menu ul {
  list-style-type: none;
}

#menu li {
  padding-bottom: 4px;
}

#menu li.menu-item {
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

#menu li.menu-item:hover {
  border-bottom: 2px solid #000;
}

#menu li.menu-item.active {
  border-bottom: 2px solid #000;
}

.hamburger {
	display: none;
	margin-right: 16px;
}

.hamburger a {
  font-size: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  -webkit-tap-highlight-color: transparent;
}

/* Mobile menu styles */
@media screen and (max-width: 600px) {
	header {
		justify-content: space-between;
		position: sticky;
    top: 0;
    background-color: rgb(255 251 249 / 85%);
	}
	#menu {
		opacity: 0;
		visibility: hidden;
		position: fixed;
		top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    width: 100vw;
    height: 100dvh;
    transition: all 0.2s;
    justify-content: center;
	}
	#menu ul {
		flex-direction: column;
		justify-content: center;
	}
	#menu li.menu-item {
		text-align: center;
		font-size: 2rem;
	}
  #menu.responsive {
  	opacity: 1;
		visibility: visible;
  }
  #menu.responsive a {
  	display: inline-flex;
    justify-content: center;
  }
  .hamburger {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	position: relative;
  	z-index: 100;
  }
}

/* Hamburger icon */
.icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .icon {
        display: block;
        cursor: pointer;
    }
}

main {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/*justify-content: flex-start;*/
/*	background-color: #ffe0c3;*/
	border-radius: 20px;
	flex: 1;
	max-width: 1400px;
}

/* Container for all projects */
.projects {
  display: flex;
  flex-direction: row; /* Changed to row for horizontal project alignment */
  gap: 40px; /* Space between the different project groups */
  padding: 20px;
  flex-wrap: wrap; /* Allows projects to wrap on smaller screens */
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.project {
  display: flex;
  flex-wrap: wrap; /* Ensures items can wrap onto the next line */
  gap: 16px;
  list-style: none;
  padding: 16px 16px 32px 16px;
  margin: 0;
  background-color: #f7f1f1;
  border-radius: 8px;
  align-self: flex-start;
}

.project li {
	width: calc(33.3333% - 11px);
}

/* General image styling */
.project img {
	width: 100%;
  flex: 0 0 20%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
}

.project .description {
  color: #626262;
  letter-spacing: 0.05em;
  line-height: 1.2em;
  text-align: justify;
  margin-bottom: 8px;
}

/* Specific styling for the project title */
.project li:first-of-type {
  width: 100%; 
}

/* Specific styling for the first image */
.project li:nth-of-type(2) {
	width: 100%;
}

.project li h3 {
	font-weight: 600;
	font-size: 1.5em;
  letter-spacing: 0.01em;
  display: flex;
  gap: 8px;
  align-items: center;
}

.project li h3 svg {
	height: 20px;
	width: 20px;
	cursor: pointer;
}

/*.project img.tall-image {
	object-fit: contain;
	aspect-ratio: 2 / 3;
}*/

/* Tablet: 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
  .projects {
    grid-template-columns: repeat(2, 1fr); /* Adjusts to 2 columns */
  }
}

/* Desktop: 3 columns */
@media (min-width: 900px) {
  .projects {
    grid-template-columns: repeat(3, 1fr); /* Adjusts to 3 columns */
  }
}


/* Modern minimalist styling */
.static-page {
    padding: 40px;
    color: #333;
    background: #f7f1f1;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 16px;
}

.static-page.contact {
	max-width: 800px;

}

.static-page h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -0.5px;
}

.contact-copy, .static-page p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

/* Form Layout */
form {
		
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
}

/* Modern Inputs */
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

/* Slick Button */
.btn {
    background-color: #111;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.btn:hover {
    background-color: #333;
}

/* Alternative Actions */
.divider {
    text-align: center;
    margin: 20px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    position: relative;
}

.alt-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.alt-links a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.alt-links a:hover {
    color: #004499;
    text-decoration: underline;
}

#formStatus {
	display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  font-weight: 500;
  background-color: rgb(230, 244, 234);
  color: rgb(19, 115, 51);
}

footer {
	padding: 16px;
	background-color: #222222;
	margin-top: 48px;
	width: 100%;
}
.statement {
	text-align: center;
  color: #fff;
  font-size: 1.2rem;
  padding: 32px 0;
  letter-spacing: 0.08em;
  line-height: 1.5rem;
}
.links {
	width: 100%;
	display: flex;
	justify-content: center;
}
.links a {
	cursor: pointer;
	padding-bottom: 20px;

}
.links a img {
	width: 60px;
	margin: 12px;
	border-radius: 8px;
	transition: filter 0.3s;
	user-select: none;
	cursor: pointer;
}

.links a img:hover {
	filter: invert(100%);
}


/* email jazz */

#emailToast {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 100%;
	max-width: 600px;
	height: 100px;
	@media only screen and (min-width: 701px) {
	
	}
	transform: translateY(100px);
	transition: all 0.3s;
}
#emailToast.open {
	transform: translateY(0px);
}
.email-toast-content {
	color: black;
	margin: 16px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #fffbf9;
	border-radius: 4px;

	@media only screen and (min-width: 701px) {
	
	}
}
.email-toast-content a {
	color: black;
}

.email-toast-content a:hover {
	color: black;
	text-decoration: underline;
}

.email-toast-choices {
	display: flex;
	align-items: center;
	gap: 8px;
}
.email-toast-close {
	cursor: pointer;
}
.email-toast-close svg path {

	fill: black;

}

.fslightbox-source {
	border-radius: 8px;
}
