body {
    background-color: rgb(1, 1, 58);
}
/* NAVIGATION — PROJECT PAGES */

@font-face {
  font-family: myfont;
  src: url(PPEiko-Medium.otf);
}

@font-face {
  font-family: myfont1;
  src: url(PPEiko-LightItalic.otf);
}

@font-face {
  font-family: myfont2;
  src: url(PPEiko-Thin.otf);
}

.nav-left{
    /* display:flex;
    justify-content:space-between;
    align-items:flex-start; */
    padding:40px 100px;
    position: fixed;
    top: 0;
    left: 0;
}

/* .nav-name{
    text-decoration:none;
    color:white;
} */

.name-bold{
    font-family: myfont;
    font-size:16px;
}

.nav-right{
    display:flex;
    gap:40px;
    font-size:16px;
    font-family: myfont;
    padding:40px 80px;
    position: fixed;
    top: 0;
    right: 0;
}

.nav-right a,
.nav-left a {
    text-decoration:none;
    color:#83acff;
    cursor:pointer;
}

.nav-right a:hover,
.nav-left a:hover {
    opacity:0.6;
    transition:0.2s ease;
}



@font-face {
  font-family: myfont;
  src: url(PPEiko-Medium.otf);
}

@font-face {
  font-family: myfont1;
  src: url(PPEiko-LightItalic.otf);
}

@font-face {
  font-family: myfont2;
  src: url(PPEiko-Thin.otf);
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 0px;
    margin: 50px 50px 50px 100px;
}
@font-face {
    font-family: heading;
    src: url(PPPangaia-Bold.otf);
}
@font-face {
    font-family: body-light;
    src: url(PPNikkeiJournal-Light.otf);
}
@font-face {
    font-family: body-regular;
    src: url(PPNikkeiJournal-Regular.otf);
}
@font-face {
    font-family: body-bold;
    src: url(PPNikkeiJournal-Ultrabold.otf);
}
@font-face {
    font-family: body-italic;
    src: url(PPNikkeiJournal-LightItalic.otf);
}
@font-face {
    font-family: body-italic1;
    src: url(PPNikkeiJournal-RegularItalic.otf);
}
.item1 h1{
    text-align: left;
    color: #B7DAFF;
    font-family: heading;
    font-size: 2rem;
    line-height: 2;
    padding: 0;
    margin: 0;
    margin-left: 100px;
    margin-top: 100px;
}
.image {
    display: grid;
    grid-template-columns: 60% 40%;
    column-gap: 0px;
    margin-top: 50px;
}
.mockup {
    text-align: left;
    margin-left: 100px;
}
.mockup img {
    width: 90%;
    border-radius: 10px;
}
.mockup1 {
    text-align: left;
    margin: 0;
}
.mockup1 img {
    width: 72.5%;
}
.item4 h1{
    text-align: left;
    color: black;
    font-family: body-light;
    font-size: 1rem;
    font-weight: 700;
    line-height: 2;
    padding: 0;
    margin-left: 100px;
    margin-top: 50px;
    margin-bottom: 10px;
}
  .key-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
    gap: 20px;
    padding: 30px;
    margin-left: 40px;
  }
  .key-grid div {
    border: none;
    text-align: left;
    padding: 20px;
    font-family: body-light;
    font-size: 1.2rem;
    color: white;
    background-color: #007BFF;
    border: solid 2px #007BFF;
    border-radius: 20px;
    scale: 1;
  }

  .key-grid img {
    width: 20%;
    height: auto;
    margin-bottom: 10px;
  }
.item2{
    text-align: left;
    grid-row: span 2;
    width: 70%;
    background-color: aquamarine 50%;
    border-radius: 20px;
    padding: 10px;
}
.item2 span {
    text-decoration: underline;
    padding: 2px;
}
.item5 span {
    text-decoration: underline;
    padding: 2px;
}
.item3 {
    text-align: left;
    grid-row: span 1 ;
    grid-column: span 1 ;
    margin-left: 100px;
}
.item3 img{
    width: 55%;
}
.item2 p {
    color: white;
    font-family: body-light;
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0;
    margin: 0;
}
.item2 h1 {
    color: white;
    font-family: body-light;
    font-size: 1rem;
    font-weight: 700;
    line-height: 2;
    padding: 0;
    margin-bottom: 10px;
}
.item5 {
    grid-column: span 1;
    grid-row: span 1;
    text-align: left;
    width: 500px;
    height: auto;
    margin-left: 100px;
}
.item5 p {
    color: white;
    font-family: body-light;
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0;
    margin: 0;
}
.item5 h1 {
    color: white;
    font-family: body-light;
    font-size: 1rem;
    font-weight: 700;
    line-height: 2;
    padding: 0;
    margin-bottom: 0px;
}
.competitor-analysis {
    text-align: center;
}
.competitor-analysis p{
    text-align: left;
    font-family: body-light;
    font-size: 1.4rem;
    width: 500px;
    margin-left: 100px;
}
.competitor-analysis img {
    width: 95%;
    margin-left: 120px;
    margin-bottom: 0;
}
.personas {
    text-align: center;
}
.personas img {
    width: 80%;
    margin-left: 40px;
}
.personas h1 {
    margin-top: 0;
}
.empathymap {
    text-align: center;
}
.empathymap img {
    width: 80%;
    margin-left: 40px;
}
.empathymap h1 {
    margin-bottom: 0;
}
.journey {
    text-align: center;
}
.journey img {
    width: 80%;
    margin-left: 40px;
    margin-bottom: 10px;
}
.journey h1 {
    margin-bottom: 0;
}
.column2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0px;
}
.business {
    text-align: left;
    margin-left: 100px;
}
.business img {
    width: 90%;
}
.business h1 {
    margin: 0;
}
.valueeffort {
    text-align: left;
    margin: 0;
}
.valueeffort img {
    width: 90%;
}
.valueeffort h1 {
    margin: 0;
}
.ia {
    text-align: center;
    margin-top: 0;
}
.ia img {
    width: 70%;
    margin-left: 40px;
}
.ia h1 {
    margin-bottom: 0;
}
.wireframes {
    text-align: center;
    margin-top: 0;
}
.wireframes img {
    width: 70%;
    margin-left: 40px;
}
.wireframes h1 {
    margin-bottom: 0;
}
.usertestings {
    text-align: center;
    margin-top: 0;
}
.usertestings img {
    width: 90%;
    margin-left: 40px;
}
.usertestings h1 {
    margin-bottom: 0;
}
.solutions {
    text-align: center;
    margin-top: 0;
}
.solutions img {
    width: 100%;
    margin-left: 120px;
}
.solutions h1 {
    margin-bottom: 0;
}
.personality {
    text-align: center;
    margin-top: 0;
}
.personality img {
    width: 90%;
    margin-left: 80px;
}
.feedback {
    text-align: center;
    margin-top: 0;
}
.feedback img {
    width: 90%;
    margin-left: 40px;
    margin-bottom: 0px;
}
.feedback h1 {
    margin-bottom: 0;
}
.brandpositioning {
    text-align: center;
    margin-top: 0;
}
.brandpositioning img {
    width: 80%;
    margin-left: 120px;
}
.brandpositioning h1 {
    margin-bottom: 0;
}
.mockup2 {
    text-align: center;
    margin-top: 0;
}
.mockup2 img {
    width: 80%;
}
.arrow {
    display: block;
    width: 15px;
    position: fixed;
    top: 3em;
    left: 1.5em;
    z-index: 0;
}

.arrow > div {
    background-color: black;
    height: 2px; /* Each line is 10px high with a 16px margin above and below */
    width: 20px;
    margin: 8px 0;
    border-radius: 2px;
}


/* .arrow > div:nth-child(1) { 
    transform: rotate(45deg); 
}

.arrow > div:nth-child(2) {
    transform: rotate(-45deg); 
} */

@media (max-width: 900px) {
    
}
@media (max-width: 650px) {
    
}
@media (max-width: 450px) {
.active {
    width: 250px;
    background-color: rgb(255, 255, 255);
}
.slidebar p {
    font-family: monospace;
    font-size: 12px;
    line-height: 20px;
    transition: 0.3s;
    white-space: nowrap;
    margin: 20px;
}
.slidebar h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 22px;
    font-weight: bold;
    margin: 18px;
}
.portfolio,
.header {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: lighter;
    margin: 0px;
    padding: 0px;
}
.portfolio,
.text {
    font-family: monospace;
    font-size: 8px;
    margin: 0;
    padding: 0;
    line-height: 12px;
}
.project6 {
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project2 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project3 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project4 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project5 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project7 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.casestudy{
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 40em;
}
.project1 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
    .item1,
    .item4{
        display: flex;
        justify-content: center;
    }
    .item1 img {
        width: 75%;
        text-align: center;
    }
    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        column-gap: 0px;
        margin: 10px;
    }
    .item4 img {
        width: 75%;
    }
    .item2 {
        text-align: left;
        margin-left: 40px;
    }
    .item3 {
        margin-left: 40px;
    }
    .item3 img{
        width: 60%;
    }
    .item2 img {
        width: 60%;
    }
    .item5 {
        grid-column: span 1;
        grid-row: span 1;
        text-align: left;
        width: 300px;
        height: auto;
        margin: 40px;
    }
    .item5 p {
        color: black;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 0.8rem;
        line-height: 1.1;
        padding: 0;
        margin: 0;
    }
}
body {
    background: linear-gradient(
        to bottom,
        #061b3a 0%,       /* very dark navy top */
        #007BFF 2%,      /* deep blue */
        #4d8bd8 4%,      /* light blue band (top 1/4 of page) */
        #cfe4ff 5%,      /* very light blue */
        #ffffff 6%      /* white bottom */
    );
}

/* --- Related Projects Section --- */

.related-projects {
    margin-top: 20px;
    padding: 80px 40px;
    border-top: 1px solid #eee;
}

.related-projects h3 {
    font-family: myfont;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #111;
}

/* Grid Layout Instead of Flex */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Each Project */
.related-item {
    text-decoration: none;
    color: black;
    display: block;
    transition: transform 0.3s ease;
}

/* Image Styling */
.related-item img {
    width: 100%;
    height: 320px; /* Bigger + more impactful */
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.related-item:hover img {
    transform: scale(1.03);
}

/* Title */
.related-item p {
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #111;
}

