
.p-index-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 350px;
    max-height: 350px;
    margin: 1em;
    border-style: solid;
    border-color: rgb(var(--clr-blue));
    border-radius: 20px;
    border-width: 4px;
}
.p-index-item > a{
    text-decoration: none;
    text-align: center;
}
.p-index-picture{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 100%;
    width: 335px;
    height: 305px;
}
.p-index-picture > img{ 
    vertical-align: middle;
    max-height: 100%;
}

.portfolio-item{
    margin-top: 4rem;
    width: 90%;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.p-section-headline{
    width: 100%;
    display: flex;
    justify-content: center;

}
.p-section-headline > h1{ 
    font-size: 40px;
    color: rgb(var(--clr-blue));
    
}
.p-section-left{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 2rem;
}
.p-section-right{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 2rem;
}
.p-section-nopic{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 2rem;
}
.p-section-picture{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 100%;
    max-height: 100%;
    width: 335px;
    height: 305px;
}
.p-section-picture > img{ 
    vertical-align: middle;
    max-height: 100%;
}

.p-section-text{
    width: 60%;
    display: flex;
    flex-direction: column;
    padding: 1em;
}
.p-section-textonly{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1em;
}

.p-picturestrip{
    width: 90%;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.p-ps-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 250px;
    max-height: 250px;
    margin: 0.5em;
}
.p-ps-item-picture{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 100%;
    width: 235px;
    height: 205px;
}
.p-ps-item-picture > img{ 
    vertical-align: middle;
    max-height: 100%;
}

@media screen and (max-width: 720px) {
    .p-section-left{
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 2rem;
    }
    .p-section-right{
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap-reverse;
        margin-top: 2rem;
    }
    .p-section-text{
        width: 90%;
        display: flex;
        padding: 1em;
    }
}
@media screen and (max-width: 400px) {
    .portfolio-overview{    
        padding: 0.5em;
    }
    .p-index-item{
        max-width: 225px;
        max-height: 235px;
        margin: 0.5em;
        border-radius: 10px;
        border-width: 3px;
    }
    
    .p-index-picture{
        width: 220px;
        height: 205px;
    }
     
    .portfolio-item{
        margin-top: 2rem;
        width: 100%;
        padding: 0.5em;
    }
    .p-section-headline > h1{ 
        font-size: 20px;
        text-wrap: wrap;
        color: rgb(var(--clr-blue));
        
    }
    #portfolio{
        font-size: 40px;
        text-wrap: wrap;
        color: rgb(var(--clr-blue));
    }
    .p-section-picture{
        width: 170px;
        height: 155px;
    }
    .p-section-text{
        width: 100%;
        display: flex;
        padding: 1em;
    }
}