.box {
    display: inline-block;
    width: calc(33vw - 1vw);
    height: calc((33vw - 1vw)*0.38);
    margin-left: 0.5vw;
    margin-top: 0.5vw;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    transition: box-shadow 1s;
    font-size: calc(1.1vw);
}

.box > div {
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    opacity: 1;
    transition: opacity 1s;
}

.box > div:hover {
    opacity: 0.1;
}


.content .pane {
    display: inline-block;
    box-sizing: border-box;
}

.content .pane-left {
    width: 30%;
    padding: 1.5vw;
    text-align: justify;
}

.content .pane-right {
    position: absolute;
    width: 70%;
    padding: 1.5vw;
    text-align: center;
}

.content .pane-right img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    text-align: center;
}

.pane img {
    width: 100%;
}

.image-box {
    position: relative;
}

.image-box > .caption {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,0.8);
    padding: 1em;
    text-align: left;
}

.thumbnails {
    margin-top: 0.5vw;
}

.thumbnails > div {
    width: 9vw;
    height: 9vw;
    margin: 0.1vw;
    background-size: cover;
    background-position: center center;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
}
.thumbnails > div:hover {
    border: 2px solid white;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-color: rgba(255,255,255,0.8);
    z-index: 3;
    cursor: pointer;
}

#muze {
    background-image: url(images/portfolio_projectmuze.jpg);
}
#afterdestruction {
    background-image: url(images/portfolio_afterdestruction.jpg);
}
#sinuhe {
    background-image: url(images/portfolio_3D_printed_ring_Sinuhe.jpg);
}
#kaamos {
    background-image: url(images/portfolio_kaamos.jpg);
}
#you {
    background-image: url(images/portfolio_exhibition_you.jpg);
}
#unknown {
    background-image: url(images/portfolio_unknown.jpg);
}
#scan {
    background-image: url(images/portfolio_3Dscan.jpg);
}
#head {
    background-image: url(images/portfolio_project_head.jpg);
}
#vicious {
    background-image: url(images/portfolio_vicious_circle.jpg);
}
#winny {
    background-image: url(images/portfolio_winny_puhh.jpg);
}
#product {
    background-image: url(images/portfolio_product_designs.jpg);
}
#digital {
    background-image: url(images/portfolio_digitaldesigns.jpg);
}
#woven {
    background-image: url(images/portfolio_weavings.jpg);
}
#art {
    background-image: url(images/portfolio_drawings2.jpg);
}
