.portfolio {
    border: 1px solid transparent;
    min-height: 100vh;
    font-family: 'PPMori';
}

.portfolio p.topBar {
    margin: auto;
    margin-top: 40px;
    padding-bottom: 6px;
    margin-bottom: 10px;
    width: 85%;
    border-bottom: 1px solid;
    font-family: 'JetBrains Mono', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.headline {
    width: 85%;
    margin: auto;
    margin-top: 20px;
}

.headline h1 {
    font-size: 10vw;
    text-transform: uppercase;
}

.headline h1:nth-child(2) {
    margin-left: 13vw;
}

.projects {
    /* border: 1px solid; */
    width: 85%;
    margin: auto;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.singleProject {
    /* border: 1px solid; */
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 5px;
}

.singleProject .details {
    /* outline: 1px solid; */
    padding-top: 15px;
}

.singleProject .details p:first-child {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.singleProject .details p:last-child {
    font-family: 'JetBrains Mono';
    color: #ababab;
    font-size: 0.9rem;
}

.singleProject a {
    overflow: hidden;
    border-radius: 10px;
}

.singleProject img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    object-fit: cover;
    transition: .3s;
    transform-origin: top center;
    scale: 1.03;
}

.singleProject img:hover {
    scale: 1;
}


.customCursor:has(~ .portfolio .singleProject img:hover) {
    scale: 1;
}







@media screen and (min-width:768px) {
    .headline h1 {
        font-size: 6vw;
    }

    .details p:first-child {
        font-size: 4vw !important;
    }

    .projects {
        gap: 6vw;
    }

    .singleProject {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        text-align: left;
    }

    .singleProject a {
        width: 50%;
    }

    .singleProject img {
        max-width: 100%;
    }

    .singleProject:nth-child(2n) {
        flex-direction: row-reverse;
        text-align: right;
    }
}