/* Lucide icons */
svg[data-lucide] {
  width: 18px;
  height: 18px;
  position: relative;
  top: 1px;
}

:root {
  /* Light */
  --primary-accent: #f19c65;
  --primary-bg-light: #ffffff;
  --secondary-bg-light: #f1f1f2;
  --primary-text-light: #181B20;
  --secondary-text-light: #a1a2a5;
  /* Dark */
  --primary-bg-dark: #181B20;
  --secondary-bg-dark: #2c2f34;
  --primary-text-dark: #ffffff;
  --secondary-text-dark: #a1a2a5;
}

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

.wrapper {
    max-width: 1100px;
}

body {
    background: var(--primary-bg-light);
    color: var(--primary-text-light);
    font-family: 'Archivo', sans-serif;
    font-size: 22px;
    line-height: 34px;
}

a, a:visited, footer-links ul li a {
    color: var(--primary-text-light);
    transition: all .2s ease;
}

.divider-line-container {
    width: 100%; /* Set the width of the container */
    display: flex;
    justify-content: center; /* Center the SVG horizontally */
    max-width: 900px;
}

.divider-line {
    width: 20%; /* Make the SVG span the entire width of its container */
}

.divider-line line {
    stroke: var(--primary-accent);
    color: var(--primary-accent);
}

li { 
    list-style: disc;
}

li::marker {
  color: var(--primary-accent);
}

/* ul li.square::before {
  content: "\25A0";
  color: var(--primary-accent);
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
} */

nav.site-nav ul li {
    display: inline;
    margin-left: 18px;
    font-size: 18px;
}

nav.site-nav ul li a {
    color: var(--primary-text-light);
    box-shadow: inset 0 -6px 0 var(--primary-accent);
}

nav.site-nav ul li a:hover {
    color: var(--primary-text-light);
    background: var(--primary-accent);
    box-shadow: none;
}

nav.site-nav ul {
    margin: 27px 0 0 0;
}

.site-navigation .page-link {
    font-size: 20px;
    letter-spacing: .5px;
    font-family: 'Archivo', sans-serif;
    color: var(--primary-text-light);
}

.fa-square-arrow-up-right {
  margin-left: 2px;
  font-size: 85%;
}

a:hover, .site-navigation .page-link:hover, footer-links ul li a:hover {
    text-decoration: none;
    color: var(--primary-accent);
    text-decoration: underline;
}

.site-nav .page-link:not(:last-child) {
    margin-right: 30px;
}

a.site-title {
    color: var(--primary-text-light);
    text-decoration: none;
    font-family: 'Archivo', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: bold;
}

a.site-title:hover {
    box-shadow: none;
}

a.site-title:visited {
    color: var(--primary-text-light);
}

.site-avatar {
    display: inline-block;
    width: 60px;
}

.site-avatar img {
  border-radius: 100px;
}

.site-avatar a:hover, .no-shadow a {
    box-shadow: none;
}

.site-header {
    border-top: 0px;
    border-bottom: 0px;
    margin: 80px 0 110px 0;
}

.site-header .wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.page-link {
  color: #F1F1F170;
  margin-left: 18px;
}

.page-link:hover {
  color: #f1f1f1;
  text-decoration: underline;
  box-shadow: none;
}

.site-navigation .highlight, .return-button .highlight {
  background: var(--secondary-bg-light);
  padding: 12px 20px;
  border-radius: 100px;
  margin-right: 0;
  color: var(--primary-text-light);
  text-decoration: none;
}

.site-navigation .highlight:hover, .return-button .highlight:hover {
  background: var(--primary-accent);
  color: var(--primary-bg-light);
  text-decoration: none;
  box-shadow: none;
}

p.work-status a {
  padding: 8px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  border-radius: 100px;
  margin-top: 24px;
  background: var(--secondary-bg-light);
  display: inline-block;
  text-decoration: none;
}

p.work-status a:hover {
  text-decoration: none;
  background: #00642e;
  color: var(--primary-bg-light);
}

.fa-circle {
  font-size: 90%;
  margin-right: 6px;
}

.open .fa-circle {
  color: #2ec383;
}

.fa-paper-plane {
  font-size: 90%;
  margin-right: 6px;
}

.home, .page header {
    margin-top: 0px;
}

.page {
    margin: 0 auto;
}

.page-content {
    padding: 0 0 70px 0;
}

.post-title {
    font-family: 'Archivo', sans-serif;
    font-size: 52px;
    line-height: 60px;
    font-weight: bold;
    margin-bottom: 30px;
    width: 90%;
}

article.project-page p a {
    text-decoration: underline;
}

article.project-page p a:hover {
    color: var(--primary-accent);
}

.landing-heading {
  font-size: 22px;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 20px;
}

.company-name {
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 24px 0;
}

.other-project-body {
  display: grid;
}

.mono-spacing {
  margin: 0 0 -4px 0;
}

h4 {
  display: block;
  margin: 0 0 24px 0;
}

.landing-other {
  margin-top: 60px;
}

.design-other-project {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-content: center;
}

.other-image img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 100px;
}

.type-meta {
    font-size: 16px;
    line-height: 22px;
    font-family: 'Archivo', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin: 22px 0 6px 0;
    color: #0b0630;
    background: var(--primary-accent);
    display: inline-block;
    padding: 4px 8px;
}

.page-single .type-meta {
    margin: 0 0 20px 0;
}

.project-name {
    font-family: 'Archivo', sans-serif;
    font-size: 26px;
    font-weight: normal;
}

.landing-body {
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 70px;
    max-width: 760px;
}

p.landing-top, h1.post-title {
    font-size: 54px;
    line-height: 120%;
    margin-bottom: 32px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    letter-spacing: -1px;
    text-wrap: pretty;
}

.landing-bottom, .landing-bottom a {
  color: var(--primary-text-light);
}

.landing-shots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10px;
    row-gap: 10px;
}

.landing-body a {
    color: var(--primary-text-light);
    text-decoration: underline;
}

.landing-body a:hover {
    color: var(--primary-accent);
}

.landing-projects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;
    align-items: start;
}

.project-page {
    column-gap: 50px;
}

.project-header {
    max-width: 900px;
}

.project-copy {
    max-width: 900px;
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    column-gap: 60px;
}

.project-description p, .project-description h3 {
    max-width: 900px;
    margin: 80px 0;
}

.project-description h3 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'Archivo', sans-serif;
}

.project-description h3:before {
    content: "";
    display: block;
    width: 60px;
    height: 8px;
    background-color: var(--primary-accent);
    margin-bottom: 42px;
}

.highlight-color {
    color: var(--primary-accent);
}

.project-description p.header-adjust {
    margin-top: -10px;
}

.header-right p, .wl-images {
    margin-bottom: 40px;
}

.header-right p:last-of-type {
  margin: 0;
}

.header-right {
    font-size: 18px;
    line-height: 24px;
    margin-top: 4px;
}

.header-right-custom {
    margin-top: 100px;
}

.project-image-frame {
  overflow: hidden;
  margin: 0 0 8px 0;
  border-radius: 4px;
}

.design-project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.design-project img:hover {
    transform: scale(1.15);
}

.fa-arrow-right {
    font-size: 28px;
}

.fa-twitter {
    margin-right: -5px;
}

.fa-small {
    font-size: 12px;
}

.teaser-images {
    background: #333;
    width: 100%;
    height: 400px;
}

.teaser-images {
    background: #333;
    width: 100%;
    height: 400px;
}

.teaser-images img {
    width: 100%;
}

.project-images {
  width: 100%;
}

.about-img-adjust {
    padding-top: 30px;    
}

.resume-list .fab {
    font-size: 28px;
    margin: 10px 10px 0 0;
}

.resume-list li.socials a {
    box-shadow: none;
}

.resume-list li.socials a:hover {
    background: none;
    color: var(--primary-accent);
}

.project-images p, .project-images-pair p, .project-images-trio p {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 6px 0 80px 0;
    color: var(--secondary-text-light);
    max-width: 100%;
}

.project-images img {
    width: 100%;
}

.project-images-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    column-gap: 40px;
}

.project-images-trio {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
    column-gap: 40px;
}

.project-images-pair p, .project-images-trio p {
    margin: 6px 0 0 0;
}

p.para-adjust {
    margin-top: 0px;
}

.alt-margin {
    margin-top: 80px;
}

.results {
    color: var(--primary-text-light);
    background: var(--secondary-bg-light);
    max-width: 900px;
    margin: 80px 0 0 0;
    border-radius: 16px;
}

.results p {
    margin: 0 auto;
    padding: 50px;
}

.results h5 {
    font-size: 40px;
    max-width: 900px;
    font-weight: bold;
    margin: 0 auto -14px auto;
    padding: 50px 0 0 50px;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.pullquote {
    background: var(--primary-accent);
    padding: 0px;
    font-family: 'Archivo', sans-serif;
}

.pullquote p:first-of-type {
    font-style: italic;
}

.pullquote p:last-of-type {
    margin-bottom: 0px;
    font-size: 18px;
}

.results-alt {
    margin-bottom: 0px;
}
    
.section-two-side {
    margin: 80px 0 0 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
}

.section-two-side p {
    margin-top: 0px;
    margin-bottom: 30px;
}

.section-two-side p:last-of-type {
    margin-bottom: 0px;
}

.section-two-side li {
    margin-bottom: 20px;
}

.alt-list .two-side-text {
    margin-top: 0px;
}

.alt-two-side {
    max-width: 900px;
    column-gap: 60px;
    align-items: normal;
}

.two-side-text-fix ul {
    margin-top: 30px;
}

.two-side-list li {
    list-style: none;
}

.two-side-list ul, ol {
    margin-left: 50px;
}

a#close:hover {
    box-shadow: none;
}

.number-list {
    background: var(--primary-accent);
    color: var(--primary-bg-light);
    border-radius: 100px;
    margin-right: 8px;
    padding: 4px 11px;
    margin-left: -48px;
    font-weight: bold;
}

.list-one {
    padding: 4px 14px;
}

.alt-list {
    margin-bottom: 80px;
}

main.page-single .body-wrapper {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.site-footer {
    border-top: 0px;
    padding: 0 0 50px 0;
    font-size: 20px;
    color: var(--primary-text-light);
}

.site-footer a {
  color: var(--primary-text-light);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--primary-accent);
}

.site-footer .wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
}

.footer-body {
    text-align: center;
}

.footer-body p {
  margin-bottom: 0px;
}

.footer-email {
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    color: var(--primary-text-light);
}

.footer-email a {
    color: var(--primary-text-light);
    text-decoration: underline;
}

.footer-email a:hover {
    color: var(--secondary-text-light);
    box-shadow: none;
}

.footer-email ul, .footer-links ul {
    margin-left: 0px;
}

.footer-email ul li, .footer-links ul li {
    list-style: none;
    margin-right: 16px;
    display: inline;
}

.footer-links ul li a {
    color: var(--primary-text-light);
    font-size: 18px;
}

.footer-links ul li a:hover {
    color: var(--secondary-text-light);
    box-shadow: none;
}

.fa-itunes-note {
    font-size: 28px;
    margin-left: -3px;
}

.fa-linkedin, .fa-dribbble {
    margin-right: -3px;
}

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

.footer-email ul li:last-of-type, .footer-links ul li:last-of-type {
    margin-right: 0px;
}

.footer-email {
    justify-self: end;
}

.project-images-mobile {
    display: none;
}

.content-block {
    background: var(--secondary-bg-light);
    padding: 70px;
    border-radius: 16px;
}

.bottom-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: 80px 0 0 0;
}

.bottom-nav .more-button {
  justify-self: end;
}

.fa-arrow-left-long, .fa-arrow-right-long {
    font-size: 18px;
}

/* ---- RESUME ---- */

.resume-exp h2 {
    font-size: 40px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.resume-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 50px;
}

.resume-list li {
    list-style: none;
    margin-bottom: 24px;
}

.resume-list li:last-of-type, .resume-block:last-of-type {
    margin-bottom: 0px;
}

.resume-list li p {
    margin: 16px 0 60px 0;
}

.resume-list li a, .two-side-text li a {
    color: var(--primary-text-light);
    text-decoration: underline;
}

.header-right-custom a {
    color: var(--primary-text-light);
    box-shadow: none;
    text-decoration: underline;
}

.header-right-custom a:hover {
    color: var(--primary-accent);
}

.resume-list li a:hover, .two-side-text li a:hover {
    color: var(--primary-accent);
    box-shadow: none;
}

.resume-light {
    color: var(--primary-text-light);
    margin-top: 3px;
    display: block;
}

/*-- Forms --*/

.project-contact p {
  max-width: 900px;
  margin: 0 0 20px 0;
}

label {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  color: #F1F1F180;
}

input {
  height: 54px;
  border-radius: 16px;
  border: 0;
  width: 94%;
  font-size: 18px;
  padding: 0 16px;
  font-family: 'Archivo', sans-serif;
  border: 2px solid var(--secondary-bg-light);
}

textarea {
  min-height: 162px;
  border-radius: 16px;
  border: 0;
  width: 94%;
  font-size: 18px;
  line-height: 140%;
  padding: 16px;
  resize: none;
  margin-bottom: 8px;
  font-family: 'Archivo', sans-serif;
  border: 2px solid var(--secondary-bg-light);
}

button {
  padding: 14px 18px;
  border-radius: 100px;
  background: var(--primary-accent);
  border: 0;
  font-size: 18px;
  color: var(--primary-bg-light);
  font-weight: bold;
}

button:hover {
  background: var(--primary-accent);
  transition: all .2s ease;
}

button a, button a:hover, button a:visited {
  color: var(--primary-bg-light);
  text-decoration: none;
}

/* Masonry grid */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* three columns of equal size */
  grid-auto-rows: 1fr; /* the row height will be determined by the content */
  gap: 20px; /* spacing between grid items */
}

.grid-item {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start; /* Align text to the start */
  padding: 0 30px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  border-radius: 16px; /* optional for rounded corners */
  min-height: 240px;
  &:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 65px; /* Height of the gradient */
    background: linear-gradient(to top right, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 0 0 4px 4px; /* Maintain the border radius at the bottom */
  }
}

.grid-item:hover {
  text-decoration: none; /* Remove underline on hover */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Large items */
.grid-item-large {
  grid-column: span 2; /* span 2 columns */
  grid-row: span 2; /* span 2 rows */
}

/* For the large rectangle at the bottom */
.grid-item-fill {
  grid-column: span 2; /* span all 3 columns */
  grid-row: span 1; /* span 1 row */
}

/* For the large rectangle at the bottom */
.grid-item-tall {
  grid-column: span 1; /* span all 3 columns */
  grid-row: span 2; /* span 1 row */
}

/* For the large rectangle at the bottom */
.grid-item-wide {
  grid-column: span 3; /* span all 3 columns */
  grid-row: span 1; /* span 1 row */
}

/* Applying unique background images to each project using their unique class */
.grid-item-large.workleap {
  background-image: url('/assets/project-thumbs/workleap-tile.png');
}

.grid-item.streamelements {
  background-image: url('/assets/project-thumbs/streamelements-tile.png');
}

.grid-item-tall.amazon {
  background-image: url('/assets/project-thumbs/amazon-tile.png');
}

.grid-item.bold-commerce {
  background-image: url('/assets/project-thumbs/bold-tile.png');
}

.grid-item.bold-stores {
  background-image: url('/assets/project-thumbs/bold-stores-tile.png');
}

.grid-item.dialog {
  background-image: url('/assets/project-thumbs/dialog-tile.png');
}

.grid-item-large.payworks {
  background-image: url('/assets/project-thumbs/payworks-tile.png');
}

.grid-item-fill.skipthedishes {
  background-image: url('/assets/project-thumbs/skip-tile.png');
}

.grid-item-fill.kindle-channels {
  background-image: url('/assets/project-thumbs/channels-tile.png');
}

.grid-item-fill.skip-mobile {
  background-image: url('/assets/project-thumbs/skip-mobile-tile.png');
}

/* Text styling */
.grid-item p {
  z-index: 2;
}

.grid-item p {
  font-size: 13px;
  color: var(--primary-bg-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

@media only screen and (max-width: 750px) {

    body {
      font-size: 18px;
      line-height: 28px;
      padding: 10px;
    }

    input, textarea {
      width: 90%;
    }

    .project-grid {
      display: initial;
    }

    .project-grid a {
      margin-bottom: 10px;
    }

    .site-navigation .page-link {
      display: block;
      font-size: 18px;
      text-align: right;
    }

    .site-footer {
      padding: 0 0 40px 0;
    }

    .site-footer .wrapper {
      font-size: 18px;
      display: block;
    }

    .post-title, h1.post-title, .project-description h3, .results h5, .landing-body, .resume-exp h2, .landing-body p:first-of-type {
      font-size: 36px;
      line-height: 44px;
      max-width: 100%;
    }

    .site-header .wrapper {
      align-items: initial;
    }

    .site-header {
      margin: 30px 0 60px 0;
    }

    .landing-body {
      font-size: 26px;
      line-height: 1.4;
      margin-bottom: 60px;
    }

    .carousel__slide {
      height: 65%;
    }
    
    .carousel__holder {
      padding-bottom: 450px !important;
    }

    .resume-block {
      display: contents;
    }
    
    .site-avatar {
        margin-top: 0px;
    }
    
    .resume-block ul {
        margin-left: 0px;
        margin-bottom: 60px;
    }

    .resume-block h2 {
        margin-bottom: 30px;
    }

    .content-block {
        padding: 50px 50px 1px 50px;
    }

    .landing-projects, .footer-body {
        display: block;
    }

    .landing-projects img {
      margin-bottom: 16px;
    }

    .footer-links {
        margin-top: 40px;
    }

    .project-images-mobile {
        display: initial;
    }

    .project-images-mobile img {
        margin-top: 15px;
    }

    .header-right, .carousel, .pullquote, .fa-solid.fa-paper-plane, .two-side-img {
        display: none;
    }

    .alt-margin {
      margin-top: 30px;
    }

    .header-right-custom {
      margin-top: 34px;
    }

    .project-page {
        display: block;
        margin: 20px 15px 0 15px;
    }

    .two-side-text {
        margin: 30px 0 auto 0;
    }

    .project-images-pair p:first-of-type {
        margin-bottom: 30px;
    }

    .project-copy, .section-two-side, .project-images-pair {
        display: block;
    }
    
    .project-description p {
        margin: 16px auto 32px auto;
    }
    
    .section-two-side {
        margin: 40px auto 0 auto;
    }
    
    .alt-list .two-side-text, p.text-spacing {
        margin-bottom: 40px;
    }
    
    .project-copy {
        margin: 30px auto;
    }

    .page-content {
      padding: 0 0 40px 0;
    }

    .footer-email, .footer-links {
      text-align: center;
    }

    .results p {
      padding: 10px 50px 50px 50px;
    }

    .results {
      padding: 0;
    }

}

@media (prefers-color-scheme: dark) {

  body {
    color: var(--primary-text-dark);
    background: var(--primary-bg-dark);
  }

  a, p a, article.project-page p a {
    color: var(--primary-text-dark);
  }

  button:hover {
    background: var(--primary-accent);
  }

  .grid-item {
    &:after {
      background: linear-gradient(to top right, rgba(0, 0, 0, 0.4), transparent);
    }
  }

  p.work-status a {
    background: var(--secondary-bg-dark);
    color: var(--primary-text-dark);
  }

  .landing-bottom, .landing-bottom a {
    color: var(--primary-text-dark);
  }

  .header-right-custom a {
    color: var(--primary-text-dark);
  }

  .content-block {
    background: var(--secondary-bg-dark);
  }
  
  .results, .site-navigation .highlight, .return-button .highlight {
    background: var(--secondary-bg-dark);
    color: var(--primary-text-dark);
  }
  
  .site-navigation .page-link, .site-footer, .project-images p, .project-images-pair p, .project-images-trio p, .site-footer a {
    color: var(--secondary-text-dark);
  }

  .resume-light {
    color: var(--secondary-text-dark);
  }

  input, textarea {
    background: var(--secondary-bg-dark);
    color: var(--primary-text-dark);
    border: 0;
  }

}