﻿#design {
    background-color: #fbf3f2;
    background-color: #f9f9fc;
}


.portfolio-item-section {
    min-height: 100vh;
    width: 100%;
    padding: 0rem 1rem;
    position: relative;
}

.curve-bottom {
    width: 100%;
    top: calc(100% - 1px);
    left: 0px;
    z-index: -1;
    position: absolute;
    /*transform: rotate(180deg);*/
}

.curve-top {
    width: 100%;
    bottom: calc(100% - 1px);
    left: 0px;
    z-index: -1;
    position: absolute;
}

.curve-top-reverse {
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: -1;
    position: absolute;
}

.curve-bottom-reverse {
    width: 100%;
    bottom: -3px;
    left: 0px;
    z-index: -1;
    position: absolute;
}


.portfolio-item-section h2, .portfolio-item-section h1, .portfolio-item-section p {
    padding: 0rem 2rem;
    margin: 0px;
    position: relative;
    z-index: 0;
}

.portfolio-item-section h2 span {
    background-color: var(--bg-1);
    padding-right: 20px;
}

#design.portfolio-item-section h2 span {
    background-color: var(--bg-2);
}

.portfolio-item-section h2:after {
    content: "";
    position: absolute;
    bottom: 12px;
    right: 30px;
    border-top: 5px dotted black;
    z-index: -1;
    width: calc(100% - 90px);
}



.portfolio-item-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*display: grid;
    grid-template-columns: repeat(auto-fill,minmax(160px, 1fr));*/
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}


.portfolio-item-credit {
    /*max-width: 10rem;
    width: 100%;*/
    /*padding: 2rem;*/
    max-height: 16rem;
    max-width: 40%;
    max-width: 20rem;
    border-radius: 1rem;
    box-shadow: 10px 5px 16px #a3a3a342;
    background-color: white;
    position: relative;
    width: 100%;
}

.portfolio-piece:after {
    position: absolute;
    content: "Portfolio";
    z-index: 1;
    width: 40px;
    height: 10px;
    font-size: 10px;
    color: red;
    background-color: blue;
}

.invert {
    background-color: #1d1d1d;
}

.portfolio-item-credit.radius-round {
    border-radius: 100%;
}

.portfolio-top {
    min-height: 50vh;
    padding: 5rem 2rem;
    align-items: center;
    justify-content: center;
}

@media (max-width: 899px) {
    .portfolio-top {
        padding: 2rem .5rem;
    }
    .portfolio-item-credit {
        /*max-width: 20rem;
        max-width: 40%;*/
        max-width: 9rem;
        width: 100%;
        height: auto;
        max-height: none;
    }
}

.column-center-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-item-section .portfolio-title {
    margin-bottom: 1rem;
}

.portfolio-right-img {
    border-radius: 200%;
    max-width: 450px;
    width: 100%;
    z-index: 0;
    position: relative;
}

#design .portfolio-right-img {
    border-radius: 10px;
    position: relative;
    max-width: 750px;
    /*max-width: 250px;
    padding: 4rem;*/
}

.portfolio-right-img-div {
    position: relative;
}

#design .portfolio-right-img-div {
    padding: 0rem 2rem;
}

/*.portfolio-right-img-div:before {
    position: absolute;
    content: "";
    z-index: 0;
    width: calc(100% - 4rem);
    height: 100%;
    background-color: var(--primary);
    max-width: 750px;
    bottom: -20px;
    right: 0px;
    border-radius: 100%;
}*/

#development .portfolio-right-img {
    box-shadow: var(--box-shadow-standard);
}

#design .portfolio-right-img-div:before {
    position: absolute;
    content: "";
    z-index: 0;
    width: calc(100% - 4rem);
    height: 100%;
    background-color: var(--primary);
    max-width: 750px;
    bottom: -20px;
    right: 0px;
    border-radius: 10px;
}

/*#design */

#design .portfolio-right-img-div:after {
    position: absolute;
    content: "";
    background-image: url(/img/icons/play.svg);
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 1;
}


/*details section*/



.portfolio-details-icons {
    padding: 0rem 2rem;
    padding-top: 3rem;
    gap: 1rem;
}

/*.portfolio-details-icon-div {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
}*/

.portfolio-details-icon {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
    /**/
    color: white;
    background-color: var(--black);
    line-height: 1;
    border-radius: 20px;
    padding: .25rem .75rem;
    box-shadow: var(--box-shadow-standard);
    transform: scale(1);
    transition: all linear .2s;
    /*min-width: 130px;
    width: -webkit-fill-available;*/
}

.portfolio-details-icon:hover {
    transform: scale(1.05);
}


.portfolio-details-icon img {
    max-width: 2rem;
    width: 100%;
}

a.portfolio-details-icon p {
    color: var(--black);
    color: white;
}

.portfolio-details-icon p {
    padding: 0rem 0rem 0rem .5rem;
    font-size: .75rem;
    /*color: var(--black);*/
}

/*Colors*/
.OST {
    background-color: #515256;
}

.WAD {
    background-color: #21538b;
}

.SMU {
    background-color: #0f145b;
}

.content-section {
    background: white;
    border-radius: 30px;
    box-shadow: var(--box-shadow-standard);
    padding-top:30px;
    padding-bottom: 30px;
}

.more-section {
    padding-top: 1.5rem;
    max-width: 1200px;
    position: relative;
    margin: auto;
}

.more-section .content-section {
    max-width: 480px;
    position: relative;
    /*right: 0px;*/
}

.more-section h2 {
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    .more-section .content-section {
        position: absolute;
        right: 100px;
        box-shadow: var(--box-shadow-standard-long);
    }
    .portfolio-top {
        justify-content: normal;
    }
}

/*.more-img-div {
    position: absolute;
    left: 50px;
}*/

.more-img-div {
    text-align: right;
}

.content-section .portfolio-title span, #design .content-section .portfolio-title span {
    background-color: white;
}


.technology-item-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem .5rem;
    padding-top: 1rem;
    padding-bottom: 3rem;
    padding-right: 2rem;
    padding-left: 2rem;
}

.technology-item-row p {
    padding: 0px;
}

.technology-item-div {
    display: flex;
    border: 1px solid black;
    border-radius: .75rem;
    padding: .35rem .75rem;
    background-color: var(--bg-1);
}

#design .technology-item-div {
    background-color: var(--bg-2);
}

.more-img {
    width: 100%;
    max-width: 400px;
    /*box-shadow: var(--box-shadow-reverse);
    border: 1px solid var(--black);*/
    border-color: #1d1d1d30;
    /*border-radius: 2px;*/
    /*box-shadow: -18px 18px 500px 0px #a3a3a342;*/
}

.portfolio-item-credit-div {
    position: relative;
}

.portfolio-item-snippet {
    position: absolute;
    bottom: 0%;
    /*transform: translateY(50%);*/
    right: 0px;
    background: green;
    color: white;
    padding: 2px 10px;
    border-radius: 0rem;
    font-size: 8px;
    border-radius: 0rem 0rem 1rem 1rem;
}

.portfolio-item-snippet.credit {

}

.portfolio-item-snippet.more-info {
    background: var(--primary);
    right: auto;
    left: 0px;
    bottom: auto;
    top: 0px;
    fill: white;
    display: flex;
    align-items: center;
    border-radius: 1rem 0rem;
}

.portfolio-item-snippet.more-url {
    background: var(--black);
    right: 0px;
    left: auto;
    bottom: auto;
    top: 0px;
    fill: white;
    display: flex;
    align-items: center;
    border-radius: 0rem 1rem 0rem 1rem;
}

.portfolio-item-snippet.more-role {
    width: 100%;
    text-align: center;
}

.portfolio-item-snippet svg {
    width: 5px;
    margin-right: 5px;
}

.portfolio-hover {

}

.portfolio-hover :hover {

}


.iframe-max {
    width: 100%;
    height: 100%;
}