.site-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: #f8f8f8;
}

.nav {
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  padding: 25px 50px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 15px;
  background-color: rgba(249, 249, 249, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid black;
  z-index: 10;
}

.nav>hr {
  width: 100%;
  border-top: 1px solid rgb(219, 219, 219);
  border-bottom: none;
  border-right: none;
  border-left: none;
}

.nav>.primary-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav>.sub-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: end;
}

.nav>.sub-nav a {
  font-size: 78%;
}

.nav-link-wrapper {
  display: flex;
  gap: 30px;
}

.nav-link-wrapper a {
  display: flex;
  align-items: center;
}

.logo-frame-position {
  position: relative;
  width: 31px;
  height: 27px;
}

.logo-position {
  position: absolute;
  width: 30px;
  height: 27px;
  top: 0;
  left: 1px;
}

.content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 75px;
  padding: 150px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}


.content-section.blog {
  padding: 100px 150px;
}

.light-green-bg {
  background-color: #E4FFF4;
}

.light-blue-bg {
  background-color: #f5fbff;
}

.light-navy-bg {
  background-color: #c3ceff;
}

.light-purple-bg {
  background-color: #dbd2ff;
}

.light-yellow-bg {
  background-color: #ffe9c7;
}

.content-section.sun-rise {
  gap: 10px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #000000;
  transition-duration: .25s;
}

.hero {
  display: flex;
  position: relative;
  justify-content: center;
  width: 100%;
  transition-duration: .25s;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 600px;
  transition-duration: .25s;
}

.dark {
  background-color: #1b1e24;
}

.dark p,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: white;
}

.body-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  gap: 30px;
  justify-content: center;
  flex-direction: column;
  max-width: 960px;
}

.body-wrapper.experience {
  max-width: 50vw;
}

.body-wrapper.experience small {
  font-size: 100%;
}

.body-wrapper.mortina h1,
.body-wrapper.mortina h2,
.body-wrapper.mortina h3,
.body-wrapper.mortina h4,
.body-wrapper.mortina h5,
.body-wrapper.mortina h6 {
  font-family: "Mortina Two", Helvetica;
}

.body-wrapper.new-york h1,
.body-wrapper.new-york h2,
.body-wrapper.new-york h3,
.body-wrapper.new-york h4,
.body-wrapper.new-york h5,
.body-wrapper.new-york h6 {
  font-family: "New York", Helvetica;
}

.body-wrapper.macula h1,
.body-wrapper.macula h2,
.body-wrapper.macula h3,
.body-wrapper.macula h4,
.body-wrapper.macula h5,
.body-wrapper.macula h6 {
  font-family: "Macula Shaded";
}

.body-wrapper.monte-carlo h1,
.body-wrapper.monte-carlo h2,
.body-wrapper.monte-carlo h3,
.body-wrapper.monte-carlo h4,
.body-wrapper.monte-carlo h5,
.body-wrapper.monte-carlo h6 {
  font-family: "Monte Carlo";
}

.body-wrapper.about-me {
  display: flex;
  align-items: center;
}

.body-wrapper.study h1 {
  text-align: center;
}

.work-section {
  display: flex;
  flex-direction: column;
  padding: 0 30px 200px;
  width: 100%;
}

.garrett-headshot {
  width: 300px;
  height: 300px;
  border-radius: 100%;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 10px;
  flex: 0 0 auto;
  width: fit-content;
  font-family: "Didact Gothic-Regular", Helvetica;
  font-size: 100%;
  font-weight: 400;
  letter-spacing: 2.52px;
  line-height: 28px;
  white-space: nowrap;
  transition-duration: .25s;
}

.button.green {
  color: #000000;
  background-color: #7FFFC7;
}

.button.purple {
  color: #000000;
  background-color: #c3ceff;
}

.button:hover {
  background-color: #ffffff;
  transition-duration: .25s;
}

/*------------------------------------------*/
/*                  End Hero                */
/*------------------------------------------*/

.site-wrapper .overlap-2 {
  position: relative;
  width: 350px;
  height: 350px;
  top: 166px;
  left: 0;
  background-color: #ffffff;
  border-radius: 175px 0px 0px 0px;
  border: 11px solid;
  border-color: #fca311;
  box-shadow: inset 0px 0px 0px 13px #000000;
}

.site-wrapper .combination-mark {
  position: absolute;
  width: 283px;
  height: 32px;
  top: 150px;
  left: 23px;
}

.site-wrapper .rectangle {
  position: absolute;
  width: 350px;
  height: 350px;
  top: -11px;
  left: -11px;
  background-color: #c5ff7e;
  border-radius: 175px 0px 0px 0px;
  background-blend-mode: darken;
}







.macula-heading {
  position: relative;
  width: fit-content;
  font-family: "Macula Shaded", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 13vw;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.mortina-heading {
  position: relative;
  width: fit-content;
  font-family: "Mortina Two", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 13vw;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.mortina-body-wrapper {
  position: relative;
  width: 100%;
  transition-duration: .25s;
}

.toggle-container {
  display: flex;
  padding: 0 170px 30px;
  justify-content: center;
}

.toggle-container button {
  border: 1px solid rgba(0, 0, 0, 1.0);
}

.toggle-container button:first-child {
  border-radius: 30px 0 0 30px;
}

.toggle-container button:last-child {
  border-radius: 0 30px 30px 0;
  border-left: unset;
}

.work-block {
  display: flex;
  height: 350px;
  width: 350px;
  padding: 35px;
  overflow: hidden;
  transition-duration: .25s;
}

/*------------------------------------------*/
/*                End Mortina               */
/*------------------------------------------*/






/*------------------------------------------*/
/*               Start New York             */
/*------------------------------------------*/

.new-york-heading {
  position: relative;
  color: #ffffff;
  text-align: center;
  justify-content: center;
  font-family: "New York", Helvetica;
  font-weight: 400;
  font-size: 13vw;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.back-text-1 {
  position: absolute;
  /* top: 198px; */
  margin-left: -5px;
  align-self: unset;
}

.back-text-2 {
  position: absolute;
  /* top: 202px; */
  margin-left: 5px;
  align-self: unset;
}

.green {
  color: #7FFFC7;
}

.pink {
  color: #FF5EF4;
}

.blue {
  color: #5dd3ff;
}

/* Links for case studies */
.case-study-links {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  gap: 100px;
}

.case-study-links a span {
  position: absolute;
  top: -28px;
  font-size: 67%;
  font-family: "Didact Gothic-Regular", Helvetica;
  color: color(srgb 0.465 0.465 0.465);
}

.case-study-links a {
  position: relative;
  width: fit-content;
  font-family: "Didact Gothic-Regular", Helvetica;
  font-weight: 300;
  color: #7FFFC7;
  font-size: 189%;
  letter-spacing: 0;
  line-height: normal;
  white-space: normal;
  transition-duration: .5s;
}

.case-study-links a:hover {
  color: #dbd2ff;
  text-decoration: none;
  transition-duration: .25s;
}

.case-study-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #dbd2ff;
  opacity: 0;
  transition: opacity .7s, transform .5s;
}

.case-study-links a:hover::after,
.case-study-links a:focus::after {
  opacity: 1;
  transform: translate3d(0, 5px, 0);
}


/*------------------------------------------*/
/*                End New York              */
/*------------------------------------------*/






/*------------------------------------------*/
/*            Start Monte Carlo             */
/*------------------------------------------*/

.monte-carlo-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 75px;
  position: relative;
  flex: 0 0 auto;
}

.monte-carlo-heading {
  position: relative;
  align-self: stretch;
  font-family: "Monte Carlo", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 13vw;
  text-align: center;
  letter-spacing: 19.60px;
  line-height: normal;
  align-self: center;
}

.content-wrapper {
  display: flex;
  justify-content: space-around;
  align-self: center;
  width: 100%;
  gap: 75px;
}


/*------------------------------------------*/
/*             End Monte Carlo              */
/*------------------------------------------*/






/*------------------------------------------*/
/*               Start Macula               */
/*------------------------------------------*/

.macula-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 75px;
  position: relative;
  flex: 0 0 auto;
}

.macula-heading {
  position: relative;
  align-self: stretch;
  font-family: "Macula Shaded", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 13vw;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  align-self: center;
}

.content-wrapper {
  display: flex;
  justify-content: space-around;
  align-self: center;
  width: 100%;
  gap: 75px;
}

.case-study-hero-heading {
  padding-top: 60px;
}

/*------------------------------------------*/
/*                End Macula                */
/*------------------------------------------*/



.footer-wrapper {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  padding: 25px 50px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-top: 1px solid black;
}

.footer-button-wrapper {
  display: flex;
  gap: 30px;
  position: relative;
  flex: 0 0 auto;
  align-items: baseline;
}

.footer-last-update-wrapper {
  position: relative;
  align-self: center;
  text-align: left;
  width: 100%;
  font-family: "Didact Gothic-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 78%;
  letter-spacing: 2.52px;
  line-height: 28px;
}

.text-wrapper-16 {
  position: relative;
  width: fit-content;
  font-family: "Didact Gothic-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 100%;
  letter-spacing: 2.52px;
  line-height: 28px;
  white-space: nowrap;
}

/* --------------- CUSTOM --------------- */


.large-gap {
  gap: 100px !important;
}

.medium-gap {
  gap: 50px !important;
}

.small-gap {
  gap: 30px !important;
}

.borders {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.sub-nav a {
  padding: 2px 4px;
  text-decoration: none;
}

.sub-nav a.active {
  text-decoration: underline;
  background-color: #7FFFC7;
}

.list-item {
  padding-left: 30px;
}

.sub-list-item {
  padding-left: 45px;
}

.sub-list-item::before {
  position: absolute;
  left: 30px;
  content: '•';
}

.inline-image {
  pointer-events: none;
  user-select: none;
  max-width: 85%;
}

.center-self {
  display: flex;
  align-self: center;
}

.wrap-image {
  border-radius: 8px;
  border: 1px solid #dfdfdf;
}

.study-image-group {
  display: flex;
  flex-direction: row;
  /* align-content: space-around; */
  justify-content: center;
  gap: 30px;
}

.study-image-group img {
  max-height: 600px;
}

.work-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  position: relative;
  width: calc(50% - 15px);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 55vh;
  width: 100%;
  padding: 15px;
  justify-content: end;
  aspect-ratio: 4 / 3;
  background-color: #ffffff;
  border-radius: 2px;
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /* Prevent repeating */
  background-size: cover;
  background-size: 70% 70%;
}

.project-card.hiper {
  background-image: url("../images/hiper-logo.svg");
  border: 2px solid #09C68D;
}

.project-card.cache {
  background-image: url("../images/cache-logo.svg");
  background-color: #D8EDF8;
}

.project-card.mailroom {
  background-image: url("../images/earth-class-mail-logo.svg");
  background-color: #111733;
}

.project-card.mailroom h4,
.project-card.mailroom p {
  color: #ffffff !important;
}

.project-card.relay {
  background-image: url("../images/relay-logo.svg");
  border: 4px solid #1184FF;
}

.project-card.swl {
  background-image: url("../images/stamey-white-logo.svg");
  box-shadow: inset 0px 0px 0px 2px black;
  border: 10px solid #FCA311;
}

.project-card.ply {
  background-image: url("../images/ply-logo.svg");
  background-color: #F9FDFF;
}

.project-card.dta {
  background-image: url("../images/design-test-app-logo.svg");
}

.project-card.fast-site {
  background-image: url("../images/fast-site-logo.svg");
  border: 8px solid #CDE1FF;
}

.project-card:hover .project-title {
  transition-duration: .25s;
}

.project-title {
  font-size: 189%;
  font-family: "Mortina Two", Helvetica;
  margin: 0;
}

.project-company {
  font-size: 100%;
  color: #666;
  margin: 5px 0 0;
}

.project-link {
  display: block;
  color: inherit;
  /* Inherit text color */
}

@media screen and (max-width: 1400px) {
  .work-grid {
    width: 100%;
  }

  .work-item {
    position: relative;
    width: 100%;
  }

  .project-card {
    height: 55vh;
    width: 100%;
  }
}

/* ————————————————————————————————— */

/* Hero Section */
.project-hero {
  width: 100%;
  padding: 50px 20px;
  text-align: center;
}

.project-hero-content {
  margin: 30px 0;
}

.project-headline {
  font-size: 189%;
  font-weight: bold;
  font-family: "Mortina Two", Helvetica;
  line-height: initial;
}

.project-subtitle {
  margin-top: 10px;
}

.project-hero-image {
  width: 80%;
  max-width: 1200px;
  border-radius: 10px;
  border: 1px solid #dfdfdf;
}

.transparent-image {
  padding: 60px;
  background-color: #ffffff;
}

/* Main Content */
.project-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.project-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 200%;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  display: inline-block;
}

.project-section p {
  font-size: 100%;
  line-height: 1.6;
  color: #555;
}

.project-section ul {
  padding-left: 20px;
  list-style: disc;
  color: #555;
}

.section-image {
  margin-top: 20px;
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
}

/* Gallery */
.project-gallery {
  display: flex;
  gap: 20px;
  margin: 20px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-image {
  width: auto;
  max-width: 100%;
  max-height: 600px;
  border-radius: 8px;
  border: 1px solid #dfdfdf;
}



/* BLOG */
.blog-link {
  display: flex;
  flex-direction: row;
}
.blog-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-title {
  font-size: 133%;
  font-weight: 600;
}
.blog-date {
  color: rgb(129, 129, 129);
  font-size: 78%;
}
.blog-thumbnail {
  width: 150px;
  /* Maintain aspect ratio */
  height: 100px;
  /* Set max height */
  max-height: 100px;
  border-radius: 8px;
  margin-right: 15px;
  object-fit: cover;
  /* Ensures the image fills the space nicely */
}

#post-content img {
  width: 100%;
  border-radius: 8px;
}
#post-content p,
#post-content ul {
  margin-bottom: 25px;
  letter-spacing: 0px;
}
#post-content li {
  letter-spacing: 0px;
}
.img-caption {
  text-align: center;
  color: #969696;
}


@media screen and (max-width: 63.9375em) {

	.content-section {
		padding: 50px;
	}

	.footer-button-wrapper {
		flex-direction: column;
		align-items: center;
	}

	.footer-wrapper {
		flex-direction: column;
	}

	.footer-last-update-wrapper p,
	.text-wrapper-16 {

		line-height: unset;
		flex-direction: column;
		align-items: center;
	}

  .content-section.blog {
    padding: 50px;
  }
  .footer-last-update-wrapper {
    text-align: center;
  }
}

/*

Small: any screen.
Medium: any screen 640 pixels or larger.
Large: any screen 1024 pixels or larger.

*/
/* Medium Phones Only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) and (-webkit-min-device-pixel-ratio: 3) {

	p,
	ul,
	ol,
	li,
	a {
		font-size: 200%;
	}

	.button {
		padding: 30px 20px;
		font-size: 133%;
		touch-action: manipulation;
	}

	.content-section {
		padding: 50px;
	}

	.nav {
		padding: 25px;
	}

	.nav-link-wrapper a {

	}

	.case-study-links a span {
		top: -35px;
	}

	.footer-button-wrapper {
		flex-direction: column;
		align-items: center;
	}

	.footer-wrapper {
		flex-direction: column;
	}

	.footer-last-update-wrapper p,
	.text-wrapper-16 {

		line-height: unset;
		flex-direction: column;
		align-items: center;
	}

	.body-wrapper.experience {
		max-width: unset;
	}

	.body-wrapper.experience small {

	}

	.body-wrapper.experience p {
		/* font-size: 40px; */
		line-height: unset;
	}

	.project-title {

	}

	.project-company {

	}
  .content-section.blog {
    padding: 50px;
  }
}

/* Small phones Only */
@media screen and (max-width: 39.9375em) and (-webkit-min-device-pixel-ratio: 3) {

	p,
	ul,
	ol,
	li,
	a {
		font-size: 200%;
	}

	.button {
		padding: 30px 20px;
		font-size: 133%;
		touch-action: manipulation;
	}

	.content-section {
		padding: 50px;
	}

	.nav {
		padding: 25px;
	}

	.nav-link-wrapper a {

	}

	.case-study-links a span {
		top: -30px;

	}

	.footer-button-wrapper {
		flex-direction: column;
		align-items: center;
	}

	.footer-wrapper {
		flex-direction: column;
	}

	.footer-last-update-wrapper p,
	.text-wrapper-16 {

		line-height: unset;
		flex-direction: column;
		align-items: center;
	}

	.body-wrapper.experience {
		max-width: unset;
	}

	.body-wrapper.experience small {

	}

	.body-wrapper.experience p {

		line-height: unset;
	}

	.project-title {

	}

	.project-company {

	}
  .content-section.blog {
    padding: 50px;
  }
}