
.project-page { position: relative; }

.project-background-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
}

.project-blurred-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(100px);
}

.project-information{
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 40px;
    margin: 4rem;
    width: 90%;
}



/******************************************/

.back-button{
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(180deg, #0040AE 12.98%, #001A48 100%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 12px;

    margin-bottom: 100px;
}

.back-arrow{ width: 2.75rem; height: 2.75rem; }

.project-header{ width: 100%; margin-bottom: 100px; }

.project-header h1 {
  font-size: 1.55rem;
  color: #9b9b9b;
  font-weight: 700;
  display: flex;
  align-items: center;
  
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.project-header .project-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0;
}

.project-header .project-link {
  display: inline-flex;
  align-items: center;
  
  color: #9b9b9b;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.project-header h1::before {
  content: "";
  width: 3rem;
  height: 3px;
  margin-right: .5rem;
  background: currentColor;
  opacity: 0.9;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.project-header .project-link:hover {
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 16px rgba(255, 255, 255, 0.45);
}

.project-header .project-link:hover::before {
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 16px rgba(255, 255, 255, 0.45);
}

.project-header .link-arrow {
  width: 2rem;
  height: auto;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.project-header .project-link:hover .link-arrow {
  filter: brightness(2);
  transform: translateX(2px);
}

.project-header p{ font-size: 3rem; font-weight: 600; }

/******************************************/

.project-images{
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    height: auto;
    max-width:1800px;
    width: 100%;
    align-self: center;
    margin-bottom: 100px;
}

.project-display-image-box{
    aspect-ratio: 894/442;  
    max-width: 894px;
    width: 60%;
    max-height: 442px;
    height: 60%;   
    border-radius: 24px;
    filter: drop-shadow(-4px -4px 4px rgba(0,0,0,0.25));       
    overflow: hidden; 

      display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 1.75rem;
}

.project-display-image-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.back-image{ position: relative; }

.front-image{
    position: relative;
    margin-left: -18vw;
    margin-top: 18rem;
    z-index: 2;
}

@media (max-width: 768px) {
    .project-information{ width: 100%; padding: 20px; }

    .project-images{ flex-direction: column; padding: 0; }
    
    .project-display-image-box{ width: 90%; }
    
    .front-image{ margin-top: -8vw; margin-left: 10vw; }

    .project-background-image{ height: 600px; }
}

/******************************************/

.project-content h2{ font-size: 2.75rem; font-weight: 700; margin-bottom: 60px; }

.project-overview{ display: flex; flex-direction: row; gap: 40px; text-align: left;}

.project-overview-metadata{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-overview-metadata-stack{ }

.project-overview-metadata h3 { font-weight: 500; margin-bottom: 10px; }

.stack-list{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap:6px;
    max-width: 300px;
    height: auto;
}

.stack-item{
    aspect-ratio: 1/1;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.project-overview-metadata-role{ display: flex; flex-direction: column; }

.project-overview-metadata-role p { margin-bottom: 6px; }

.project-overview-summary{
    flex: 5;
    display: flex;
    gap: 20px;  
    flex-direction: column;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .project-overview{ flex-direction: column; }

    .project-overview-metadata{ flex-direction: row; gap: 40px; }
}