.page.portfolio {
    padding-top: 0;
    width: 50%;

    margin-left:auto;
    margin-right:auto;

    transform: translate(-50%,0);
}

.portfolio p {
    margin: 1.2em 0 2em;

    text-align: center;
    border-style: none;

    background-color: var(--clear);
}

.glass {
    padding: 0.4em 0.6em;
    color: var(--foreground-inactive);
    background-color: var(--background);
    opacity:0.9;

    border-style:solid;
    border-radius:2em;
    border-color:var(--clear);
}

/* gallery img */
.wrapper {
    margin-top: 1em;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.wrapper .imgHolder {
    position: relative;
    width: 100%;
    height: 100%;
}

.wrapper img {
    pointer-events: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: auto;
    right: auto;

    transition: all 0.2s ease-out;
}

.wrapper .imgHolder span {
    position:absolute;
    top:100%;
    width:100%;

    transform: translateY(-50%) scale(0.6);
    text-align: center;

    opacity: 0;
    transition: all 0.3s;

    color: var(--accent);
}

.wrapper .imgHolder span p {
    padding:0;
    margin:0;
    opacity: 1;
    color: var(--background);
}

.lightTileText {
    color: var(--background);
}

.wrapper .imgHolder a {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

@media only screen and (max-width: 600px) {
    .page.portfolio {
        width: 100%;
    }

    .wrapper .imgHolder {
        overflow: hidden;
    }
    .wrapper .imgHolder span {
        position: absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        transform: none;
    }
    .icon-link {
        display: none;
    }
    .wrapper .imgHolder span i {
        /*display: none;*/
    }
}
