/* 
=============
FONT SETTINGS
=============
*/
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');


/* 
=======
THEMING
=======
*/ 
html[data-theme='light'] #theme-toggle::before {
    content: "•";
    padding-right: .25rem;
}

html[data-theme='dark'] #theme-toggle::before {
    content: "•";
    padding-right: .25rem;
}

#theme-toggle {
    cursor: pointer;
}

:root {
    --button-primary: #e8964e;
    --button-secondary: #2a2c2d;
    --color-secondary: #2a2c2d;
    --color-accent: #12cdea;
    --background-color: #f3f3f3;
    --font-color: #32363A;
    --font-secondary: #5C6166;
    --pulseSize: 8px;
    --green: rgba(100, 250, 95, 0.65);
    --transparentGreen: rgba(100, 250, 95, 0);
    --filterColor: grayscale(1);
    --navBg: rgba(255,255,255,0.85);
    --navBorder: #cdcdcd;
}

html[data-theme='light'] {
    --button-primary: #2863a1;
    --button-secondary: #2a2c2d;
    --color-secondary: #fbfbfe;
    --color-accent: #2863a1;
    --background-color: #f3f3f3;
    --font-color: #32363A; 
    --font-secondary: #5C6166;
    --nav-border: #c1c1c1;
    --green: rgba(5, 150, 0, 0.65);
    --transparentGreen: rgba(5, 150, 0, 0);
    --filterColor: grayscale(1);
    --navBg: rgba(255,255,255,0.85);
    --navBorder: #cdcdcd;
}

html[data-theme='dark'] {
    --button-primary: #eba05f;
    --button-secondary: #fff;
    --color-secondary: #2a2c2d;
    --color-accent: #12cdea;
    --background-color:  rgba(0,0,0,.9);
    --font-color: #f3f3f3;
    --font-secondary: #acacac;
    --nav-border: rgba(39, 39, 39, 0.75);
    --green: rgba(100, 250, 95, 0.65);
    --transparentGreen: rgba(100, 250, 95, 0);
    --filterColor: brightness(0) invert(1);
    --navBg: #272727;
    --navBorder: #303030;
}

/* 
=================
PULSING DOT
=================
*/
.pulse {
    width: var(--pulseSize);
    height: var(--pulseSize);
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 var(--green);
    animation: pulsing 1.5s infinite;
    transition: all 0.2s;
    cursor: pointer;
}

.pulse:active {
    transform: scale(1.5);
}

@keyframes pulsing {
    from {
        box-shadow: 0 0 0 0 var(--green);
    }
    70% {
        box-shadow: 0 0 0 var(--pulseSize) var(--transparentGreen);
    }
    to {
        box-shadow: 0 0 0 0 var(--transparentGreen);
    }
}

.btn {
    padding: .5rem 1rem;
    display: inline-flex;
    flex-direction: row;
    gap: .5rem;
    align-items: center;

}

/* 
=================
Featured Grid
=================
*/ 

#featured-project .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-gap: 1rem;
}
.parent > * {
    border: 1px solid red;
    border-radius: 12px;
}
    
.div1 { grid-area: 1 / 1 / 3 / 4; }
.div2 { grid-area: 1 / 4 / 3 / 6; }
.div3 { grid-area: 3 / 1 / 5 / 3; }
.div4 { grid-area: 3 / 3 / 4 / 6; }
.div5 { grid-area: 4 / 3 / 5 / 6; }


.medium-zoom-overlay,
.medium-zoom-image--opened {
  z-index: 999;
}

.medium-zoom-image--opened {
    border-radius: .25rem;
}


/* 
=================
DEFAULT/OVERRIDES
=================
*/ 

body {
    font-family: "Rethink Sans", sans-serif;
    /* font-family: 'Inconsolata', monospace; */
    /* Try Editorial new & black & white site with color pop (nameless.today)*/
    background-color: var(--background-color);
    color: var(--font-color);
    margin: 0;
    display: flex;
    /* Look up what is best here for height 100vh or 100dvh 100dvh; */
}

blockquote {
    margin: 3rem;
}

.clipped {
    -webkit-clip-path: url(#svgPath);
    clip-path: url(#svgPath);
}

@keyframes animate {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.wobble {
    animation: wobble 2s ease infinite;
}
@keyframes wobble {
    0% { transform: translateY(0px); }
    15% { transform: translateY(-5px) rotate(-5deg); }
    30% { transform: translateY(5px) rotate(3deg); }
    45% { transform: translateY(-2.5px) rotate(-3deg); }
    60% { transform: translateY(2px) rotate(2deg); }
    75% { transform: translateY(-2px) rotate(-1deg); }
    100% { transform: translateY(0%); }
}

.fade-in {
    animation: fadeIn .75s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade2 {
    animation: fade2 linear forwards;
    animation-timeline: view();
    animation-range-start: 0;
    animation-range-end: 40%;
    transform-style: preserve-3d;
}

@keyframes fade2 {
    from {
        scale: 0.9;
        opacity: 0;
        transform: translateY(15px) perspective(200px) rotate(-20deg);
    }
    to {
        scale: 1;
        opacity: 1;
        transform: translateY(0) perspective(400px) rotate(0deg);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inconsolata', monospace;
    font-weight: 500;
}

p {
    font-size: 1rem;
}

span {
    font-size: 14px;
}

p, span {
    font-weight: 300;
    line-height: 145%;
    color: var(--font-secondary);
}

strong {
    font-weight: 600;
}

img + em {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

hr {
    width: 100%;
    color: var(--font-secondary);
}

main {
    display: flex;
    flex-direction: column;
    flex: 0 0 60%;
    margin: 2rem 10rem;
}

header { 
    display: flex;
    /* flex: 0 1 auto; */
    /* border-right: 1px solid var(--nav-border); */
}

ol li {
    color: var(--font-secondary);
}

/* .right {
    display: flex;
    flex: 1 1 70%;
    overflow: auto;
} */

.scrolling-container {
    display: flex;
    flex-direction: column;
    margin: 1rem;
}



a {
    display: inline-block;
    text-decoration: none;
    color: var(--font-color);
    transition: all 0.5s ease;

}

a:hover {
    color: var(--button-primary);
}

a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--button-primary);
    transition: width .5s ease;
}

a:hover::after {
    width: 100%;
}


/*
================
Responsive header
================
*/
/* Navbar */
.logo {
    width: max-content;
    text-decoration: none;
}

.nav-top a::after {
    display: none;
}

.nav-top .active::before {
    content: none;
}

.nav {
    font-family: 'Inconsolata', monospace;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;    
}

.nav-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;
    gap: 2rem;
    flex-basis: auto;
}

.nav-items a {
    align-self: flex-start;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all .5s ease;
}

a.active {
    font-weight: 500;
}

.nav-item a::after {
    display: block;
}


.active {
    /* Filter is handling color change in nav */
    /* Testing just a color 
    filter: brightness(0) saturate(100%) invert(99%) sepia(48%) saturate(6147%) hue-rotate(303deg) brightness(101%) contrast(87%); */
    color: var(--button-primary);
}

.active::before {
    content: '•';
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



.nav-right .nav-item {
    padding: .25rem .5rem;
    text-decoration: none;
}

.nav-right .nav-item:hover {
    text-decoration: underline;
    background: var(--button-primary);
    color: var(--font-color);
    border-radius: .25rem;
}


.nav-left h2 {
    font-family: "Subjectivity Medium", sans-serif;
}

aside {
    display: flex;
    /* flex: min-content; */
    position: sticky;
    position: -webkit-sticky;
    align-self: flex-start;
    top:0;
    min-height: 100vh;
}

#top-nav, #footer-small {
    display: none;
}

.icon-white {
    margin-bottom: 2rem;
}

.icon-white path{
    fill: var(--font-color);
}


/* 
===================
TIMELINE/EXPERIENCE
===================
*/ 

.timeline {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.about .timeline .top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-item .work {
    display: flex;
    gap: .25rem;
}

.timeline-item .work .company {
    color: var(--font-secondary);
}

.timeline-item .work .title {
    font-size: 1rem;
}




/* 
=======
MARQUEE
=======
*/ 
.marquee-wrapper {
    /* Need to set small viewport widths */
    width: 60dvw;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
}
.marquee {
    white-space: nowrap;
    width: 300%;
}

.marquee-content {
    width: 300%; 
    display: flex;
    gap: 3rem;
    overflow: hidden;
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    position: relative;
    overflow: hidden;
}
.marquee-item:hover {
    cursor: pointer;
}
.marquee-item {
    text-decoration: none;
}

.marquee-item img {
  display: block;
  width: auto;
  height: 48px;
}


.center-btn {
  display: none;
  position: absolute;
  top: 50%;
  font-size: small;
  padding: 12px 14px;
  border-radius: 24px;
  left: 50%;
  background-color: #fff;
  color: #000 !important;
  cursor: pointer;
  font-weight: bold;
  z-index: 9;
  transform: translate(-50%, -50%);

  /* Add your desired button styles here */
  &:hover {
    opacity: 0.9;
  }
  &:active {
    opacity: 0.8;
  }
}

.overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust color and opacity as needed */
  pointer-events: none;
}

.marquee-item:hover .center-btn,
.marquee-item:hover .overlay {
  display: block;
}


/* 
========
PROJECTS
========
*/ 

.project-footer {
    display: flex;
    justify-content: space-between;
}

.project-footer .prev-next {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-basis: content;
    padding: 3rem 0;
}

.project-footer a:last-child {
    align-items: flex-end;
    margin-left: auto;
    text-align: right;
}

.project-footer a::after{
    display:none !important;
}

.prev-next .label {
    color: var(--font-secondary);
}

.prev-next .project-name {
    font-family: 'Inconsolata', monospace;
    font-size: 1.25rem;
    font-weight: 400;
}

.prev-next:hover .project-name {
    color: var(--font-color);
}


/*
===========
NOW PLAYING
===========
*/

.icon {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    width: 13px;
    height: 13px;
    margin-right: 4px;
  
    & > span {
      width: 3px;
      height: 100%;
      background-color: var(--button-primary);
      border-radius: 3px;
      transform-origin: bottom;
      transition: opacity 0.3s ease-out;
      animation: bounce 2.2s ease infinite alternate;
      content: "";
  
      &:nth-of-type(2) {
        animation-delay: -2.2s;
      }
  
      &:nth-of-type(3) {
        animation-delay: -3.7s;
      }
    }
  }
  
  @keyframes bounce {
    10% {
      transform: scaleY(0.3);
    }
  
    30% {
      transform: scaleY(1);
    }
  
    60% {
      transform: scaleY(0.5);
    }
  
    80% {
      transform: scaleY(0.75);
    }
  
    100% {
      transform: scaleY(0.6);
    }
  }

/* 
==========
IMAGE GRID
==========
*/ 

.image-grid {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-bottom: 3rem;
}

.image-grid .column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.principles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principles .principle {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.principle h4 {
    margin-bottom: .25rem;
}

.principle span {
    color: var(--font-secondary);
}

/* MOAB Project */
.moab-governance {
    display: flex;
    gap: 2rem;
}


.moab-governance > * {
    flex: 1;
}




.home-title {
    color: #EFB37D;
}

.home-subtitle {
    font-weight: 300;
    color: var(--font-color);
    margin-bottom: 0;
}

.hero-top {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.hero-top .intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-top .intro p {
    margin: 0;
}

.hero-top .intro h1 {
    font-size: 4rem;
    font-weight: 600;
    margin: 0;
}

.hero-top .intro h2 {
    font-size: 1.25rem;
    line-height: 125%;
    font-weight: 300;
    margin: 0;
    color: var(--font-secondary);
}

.choose-adventure {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.testing-font {
    font-family: 'Outward Block', sans-serif;
    font-size: 3rem;
}

/* Button styles */
.button {
    padding: 6px 16px;
    color: rgba(255, 255, 255, 0.75);
    background-color: var(--button-primary);
    border-radius: 8px;
    text-decoration: none;
}

.button:hover {
    background-color: var(--button-primary);
    color: rgba(255, 255, 255, 0.75);
    box-shadow: inset 1px 1px;
}

.button-inverse {
    padding: 6px 16px;
    color: var(--button-secondary);
    border-radius: 8px;
    border: 1px solid var(--button-secondary);
    text-decoration: none;
}

.button-inverse:hover {
    background-color: var(--button-primary);
    color: rgba(255, 255, 255, 0.75);
}

/* About Styles */

.hero-section {
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.7px);
    -webkit-backdrop-filter: blur(10.7px);
    outline: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: row;
    justify-content: center;

    overflow: hidden;
    margin: 5rem 0;
}

.hero-right .profile-thumb img {
    display: none;
}




.hero-section a {
    font-weight: 400;
    text-decoration: underline;
}

.hero-section h1 {
    font-weight: 900;
}
.hero-section h3 {
    font-weight: 100;
}

.hero-left {
    margin: 0px;
    padding: 0px;
}

.hero-left img {
    width: 22rem;
    height: 100%;
}

.hero-right {
    padding: 32px;
}

/* Process Page */

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.external-button {
    padding: .5rem;
    color: #333;
    background: #92B4C2;
    border-radius: .5rem;
    text-decoration: none;
    margin-top: 2rem;
}

.external-button:hover {
    text-decoration: underline;
}
#process {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

#process img {
    width: 100%;
}

/* 
#process p {
    font-size: 1.125rem;
    line-height: 200%;
} */


/* Barometer */

#barometer img {
    width: 100%;
    border-radius: 16px;
}

/* Projects List */
.wins-issues {
    display: flex;
    gap: 2rem;
}

.wins-issues > * {
    flex: 1;
}

.wins-issues p {
    font-weight: 400;
}

.impact {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--font-color);
    border-radius: 1rem;
}

.problems {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    /* background-color: rgba(216, 154, 154, 0.4); */
    color: rgba(216, 154, 154, 0.4);
    border-radius: 1rem;
}

.roles-teams {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* 
.project-photo .device-frame {
    width: 98%;
    border-radius: 1rem;
    outline: 1px solid rgba(0, 0, 0, 0.12);
    background: #121212;
    box-shadow: inset 0 0 12px #8d8d86, inset 0 7px 0 3px #fdfdfc, inset 0 -6px 0 3px #fdfdfc;
    padding: 1rem .5rem .75rem;
} */


.project-photo img {
    width: 100%;
    height: auto;
    border-radius: .5rem;
}

.device-frame img {
    width: 100%;
    border-radius: .75rem;
}

.project-pageheader li {
    font-size: 0.85rem;
}


.project-pageheader h1, .project-pageheader span {
    font-family: 'Inconsolata', monospace;
    font-weight: 300;
}

.project-title {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.project-title h1 {
    margin: 0;
    width: 65%;
}

.project-title .top {
    display: flex;
    justify-content: space-between;
}

.project-title .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.project-info {
    display: flex;
    flex-direction: column;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.project-details strong {
    color: var(--font-color);
}

.project-details p {
    font-size: 1rem;
    line-height: 150%;
}
.project-details img {
    width: 100%;
    height: auto;
    border-radius: .25rem;
}

.project-details video {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.bg-fill {
    background-color: #F8F6F5;
}

.project-details blockquote p {
    font-size: 1.25rem;
    color: var(--font-color);
    font-style: italic;
    border-left: 2px solid var(--button-primary);
    padding-left: 2rem;
}

.image-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 2rem 0;
}

.image-container img {
    border-radius: 8px;
}

.roles-teams p {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.project-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-container .top {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.project-container h2 {
    margin: 2rem 0 0 0;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 8rem;
    justify-content: center;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 1rem;
    /* transition: all 300ms ease; */
}

/* .projects-grid:has(:hover) .project-card:not(:hover) {
    opacity: 70%;
} */

.project-card h2 {
    line-height: 150%;
    margin: 0;
    transition: .25s all ease-in;
}

.project-card img {
    width: 100%;
    height: auto;
}

.project-card p {
    margin-bottom: 0;
}

.project-card .icon {
    display: flex;
    align-items: center;
    gap: .5rem;
}


.project-card .title {
    font-size: 1rem;
    color: var(--font-secondary);
}

a.project-card:hover::after   {
    width: 0px !important;
}

.icon img {
    border-radius: 0.5rem;
    height: 48px;
    width: 48px;
}

.project-card:hover {
    cursor: pointer;
}

.project-card:hover h2{
    color: var(--button-primary);
}

.project-card .project-image {
    transition: transform .5s ease-in-out;
}

.project-card:hover .project-image {
    transform: scale(1.03);
}

.project-card .image-wrap {
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
    height: auto;
}


.project-card .content {
    padding: 24px;
}

.project-card .tag-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

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

    .project-tag {
        margin-bottom: .5rem;
    }
}

.project-tag {
    border-radius: 24px;
    background: #92B4C2;
    padding: .25rem .5rem;
    color:#25414D;
    margin: 0 .5rem .5rem 0;
}

.project-tag:last-child {
    margin-right: 0px;
}

/* Company List */
.companies-wrapper {
    margin: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 3rem;
}

.company-list {
    /* max-width: 100%; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 48px;
}

.company-list img {
    align-self: center;
    flex: 0 0 auto;
    cursor: pointer;
}

/* 
=====
ABOUT
=====
*/

.headshot {
    width: 30rem;
    height: 20rem;
    border-radius: 1rem;
    /*background: center url('/assets/headshot.jpg') no-repeat;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: .5s all ease-in-out;
}

.headshot:hover {
    background: center url('/assets/shark.jpg') no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.about {
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}
.about .top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about .top h1 {
    font-size: 4rem;
}
.about .top h2 {
    font-size: 1.25rem;
    line-height: 125%;
    font-weight: 300;
    color: var(--font-secondary);
    margin: 0;
}


.about-bottom {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* 
@media screen and (min-width: 1024px) {
    .company-list img {
        width: calc(100%/5);
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .company-list img {
        width: calc(100%/5);
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .company-list img {
        width: calc(100%/2);
    }
}

@media screen and (min-width: 321px) and (max-width: 480px) {
    .company-list img {
        width: calc(100%/2);
    }
}

@media screen  and (max-width: 320px) {
    .company-list img {
        width: 100%;
        height: 100%;
    }
} */

.logo-grey {
    -webkit-filter: var(--filterColor);
    filter: var(--filterColor);
}

.logo-grey:hover {
    -webkit-filter: none !important;
    filter: none !important;
}

/* Projects Page */
.old-new-container {
    display: flex;
    flex-direction: column;
    gap: 24px;

}

.old-new-container img {
    width: 50%;
}

.old-new-container img:first-child {
    width: 80%;
}




/* Footer */
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
}

.footer-container p {
    margin: 0;
    font-size: .875rem;
    font-weight: 400;
    width: max-content
}

.footer-container a {
    font-size: .875rem;
}

/* TODO: Move all media queries to end of file */
@media screen and (max-width: 800px) {
    body {
        display: flex;
        flex-direction: column-reverse;
    }

    aside {
        z-index: 10;
        display: flex;
        flex: min-content;
        position: fixed;
        align-self: center;
        bottom: 24px;
        top: unset;
        min-height: unset;
        background: var(--navBg);
        border: 1px solid var(--navBorder);
        border-radius: .5rem;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    main {
        margin: 2rem 4rem 6rem 4rem;
    }

    blockquote {
        margin: 1rem;
    }

    .image-grid {
        flex-direction: column;
    }
    #top-nav, #footer-small {
        display: flex;
    }

    .hero-top h1 {
        font-size: 3rem;
    }

    .nav, .nav-items {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
    }

    .nav-items {
        gap: 2rem;
    }

    .nav-items a{
        font-size: 1rem;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .active::before {
        content: '';
    }

    .footer-container {
        flex: 1 1 auto;
        align-items: center;
        margin: 1rem 0;
        gap: 0.5rem;
    }

    .project-title {
        margin: 2rem 0;
        gap: 1rem;
    }

    .project-title h1 {
        width: 100% !important;
    }
    
    .wins-issues {
        flex-direction: column;
    }

    /* Check if below are in use */
    .hero {
        margin: 0 3rem;
    }

    .scrolling-container {
        margin: 1rem;
    }

    .hero-section {
        flex-direction: column;
        border-radius: 16px;
        box-shadow: 0;
        backdrop-filter: blur(10.7px);
        -webkit-backdrop-filter: blur(10.7px);
        outline: 0px;
        margin: 0px;
    }
    .hero-left img {
        display: none;
    }
    .hero-right .profile-thumb img {
        display: block;
        width: 10rem;
    }
    .hero-right {
        /* Pull all padding into a parent container */
        padding: 1.5rem 0px !important;
    }
    .hero-right h1 {
        font-size: 2.5rem;
    }


    /* Confirm below are in use */
    .roles-teams {
        flex-basis:0%;
        margin-bottom: 2rem;
    }
    .project-photo .device-frame {
        width: 100%;
    }
    #Wellkind.project-photo {
        width: 100%;
    }
    #Wellkind.device-frame {
        display: none;
    }
    

    /* confirm in use */
    .project-details blockquote p {
        margin-left: 1rem !important;
    }
    .image-container img:nth-child(2) {
        display: none;
        
    }
    .image-container img {
        max-width: 100%;
        height: 375px; 
    }

    .projects-grid {
        flex-wrap: wrap;
    }


}


@media screen and (min-width: 1366px) {
    main {
        margin: 2rem auto;
        flex: 0 0 50%;
    }

    .marquee-wrapper {
        width: 50dvw;
    }
}

@media screen and (min-width: 1800px) {
    main {
        margin: 2rem auto;
        flex: 0 0 40%;
    }

    .marquee-wrapper {
        width: 40dvw;
    }
}


@media screen and (max-width: 1000px) {
    .project-card {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    main {
        margin: 2rem 1rem 6rem 1rem;
    }

    .project-title .top{
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .headshot {
        width: 100%;
        height: 200px;
    }

    .prev-next .project-name {
        font-size: 1.125rem;
    }
}


* {
    transition: background-color 0.5s ease;
    /* color 0.5s ease-in (breaks the page)*/
}